Questions tagged as 'laravel'

1
answer

Error installing gulp

I'm installing gulp on my Windows 7 with the command gulp . But it's giving me the following error: [11:21:03] Error in plugin 'gulp-bower' Message: Failed to execute "git ls-remote --tags --heads git://github.com/thomaspark/ bootswa...
asked by 28.07.2015 / 16:30
2
answers

Autoload of Models in Laravel 5.1

Good evening I wonder if in Laravel 5.1 there is a way to do autoload, both in Models and Controllers? In Laravel 4 to create an instance of a Model, simply call the Model, like this: $user = new User(); But from what I noticed in Laravel 5...
asked by 16.09.2015 / 00:16
2
answers

Extract only specific extensions from a ZIP

I'm developing a system where in some part of the client the client can send a ZIP file containing only images. I'm trying to do this in a way that I can extract from this ZIP only the files that contain image-specific extension...
asked by 02.02.2015 / 12:39
1
answer

Problem with filters and routes in laravel

Hi. I'm creating an api in laravel. And I have a problem with the routes and filters for access. I have the levels of client, operator and administrator. I have routes that are common for client, operator and administrator, I have routes f...
asked by 15.01.2015 / 22:44
1
answer

View PDF after AJAX call with TCPDF in Laravel 4

After I save information to the database using the following code. $this->anamnese->create($input); I just call to test a code to generate a test PDF with the following code. PDF::SetTitle('Hello World'); PDF::AddPage(); PDF::Write(...
asked by 16.10.2014 / 23:30
1
answer

true giving problem (bug) in code [closed]

Good evening guys, I was developing a script in php and when I put the true being passed by parameter to a function into an array dynamically, it gave a bug. I can not explain the right bug, but the function works pretty much like array_uniqu...
asked by 30.11.2018 / 02:13
1
answer

Laravel and React Native Push Notification

I have a web application developed in Laravel, where I register customers, register the orders for each customer where an order code is generated and for each order I register the steps. This application also serves as an API for my application...
asked by 29.11.2018 / 14:38
1
answer

I can not get into the foreach of a blade in laravel 5.7

I have a small problem that I still can not figure out how to solve, I have a View and I can not get into foreach of this same, follow View : <div class="form-group"> {!! csrf_field() !!} <!--{{ dd...
asked by 19.12.2018 / 18:29
1
answer

Infinite relationship ...? [closed]

I have a doubt that would be, how to conduct a relationship that can be infinite: Ex: User table with the user id field that would be one for many with Post Table. Inside the Post Table would have post_id that would have more post inside i...
asked by 13.12.2018 / 18:57
1
answer

Missing required parameters for [Route:] [URI: / {} /]

I'm trying to pass an update parameter, but this is giving error. Controller public function update(ColaborationFormRequest $request, $id { $dataForm = $request->all(); $colaboration = $this->colaboration->find($id); $u...
asked by 20.12.2018 / 15:36