Questions tagged as 'laravel'

1
answer

Vagrant shared team access

Scenario: Two machines (A and B), both on the same local network and with vagrant and virtualbox installed. One is Windows and another is Mac On machine A I have a box homestead (laravel / homestead) with all my ambience. Problem...
asked by 23.09.2016 / 20:39
0
answers

Any command with Artisan is not working [closed]

I tried to install a dependency: link . However, at the end of the installation, an error message appeared: Installation failed, reverting ./composer.json to its original content. Now no command php artisan algo works, this error di...
asked by 28.09.2016 / 19:43
0
answers

MimeType wrong when sending image to S3 with Laravel

I'm using Laravel 5.3 and sending images to Amazon S3. I have already put the rules in the bucket so that it is public and I'm sending the image as follows: request()->file('avatar')->storeAs('uploads/143', 'avatar.jpg', 's3'); The...
asked by 22.09.2016 / 16:05
0
answers

Slow PDF creation - DOMPDF Laravel5 [closed]

I'm currently using Barryvdh \ DomPDF to create reports on a system made with Laravel 5.1 , but it's very slow because of the size of the reports, so that often (almost always), it ends up running out of time for loading. I make the e...
asked by 16.08.2016 / 15:17
0
answers

Version control Rest with laravel

I am doing an update on an application Android which has as back-end a api REST with php Laravel . I would like tips on how to do version control of this api . For example, I had to make a change in a table in...
asked by 13.09.2016 / 15:57
1
answer

Problem routes Laravel

I'm using Laravel 5.3 and in the course I'm doing it asks for the routes to put the following line: Route::get('/produtos', 'ProdutoController@lista'); But putting it like this is an error: NotFoundHttpException in RouteCollection.php lin...
asked by 31.10.2016 / 19:39
2
answers

How to send email without a view

All the tutorials I think, including the official documentation show how to send emails using views. How to send emails without any view? How does the system routine automatically?     
asked by 31.07.2016 / 05:35
0
answers

Get first SQL record Bullider Laravel [closed]

I can not get the first record without using foreach query = "SELECT *, (SELECT count(*) FROM corridas c WHERE c.motoqueiro = u.id AND (c.status = 0 OR c.status = 1)) as corrida ,distance_between(u.latitude, u.longitude, $lat, $lon) as km FROM...
asked by 02.07.2016 / 16:05
1
answer

Sending SNS notifications to Amazon with Laravel

When executing the method - > sns- > publish I have the following error: Error executing "Publish" on "https://sns.us-west-2.amazonaws.com"; AWS HTTP error: Client error: 'POST https://sns.us-west-2.amazonaws.com' resulted in a '400 Bad...
asked by 26.07.2016 / 18:27
1
answer

Save relationships in the bank - Laravel 5.2

What is the correct way to save related data in Laravel 5.2? I have a small application where I need to register data of a company and its respective address. When I try to save the data I get the error: TokenMismatchException in VerifyCsrfT...
asked by 05.06.2016 / 14:09