Questions tagged as 'laravel-5'

1
answer

External POST request

I am sending PayU (Platform to make and receive online payments) variables by a POST form that, being correct, allow me to generate the payment on your platform. This works correctly. One of the variables that I send in this form is "urlCo...
asked by 26.08.2017 / 05:10
1
answer

Client error: 'POST https://api.mailgun.net/v3/sandbox75c537762edc4d29becf4de26ec1738b.mailgun.org/messages.mime' resulted in a '400 BAD REQUEST

I am implementing Mailgun in Laravel. I did all the configuration and from localhost it works perfect, but when I deploy in Heroku I get the following error:    Client error: POST https://api.mailgun.net/v3/sandbox75c537762edc4d29becf4de...
asked by 27.07.2017 / 22:06
1
answer

Redirect to route error view in laravel

It is possible that when a route typed by url is badly copied, do not redirect to this page If not to a view where you can handle the error in another way? for saying return view('paginadondemuestroerrores')     
asked by 10.07.2017 / 20:21
1
answer

Laravel count days within a period of dates

I have 2 calendars, one issue date and another expiration date, I want to know how many days are between the dates placed and save it in a variable. For example, if my issue date is 02/07/2017 and my expiration date is 12/07/2017...
asked by 03.07.2017 / 00:01
1
answer

Jobs in Laravel 5.4

I'm using Jobs in Laravel, which implements queues with redis. By submitting a form I call the function: private function allUsersNotifications($title, $description) { $users = $this->userRepo->search(); dispatch(new Notifica...
asked by 21.06.2017 / 14:02
1
answer

Where does the code of the config method ('auth.default.domain') come from in LARAVEL?

I have a question since I installed laravel 5.4 and the template adminLTE 3.0, in which after everything was working I put it in Spanish, everything normal up there, then I wanted to change the html code of the login, but I found that the code i...
asked by 14.06.2017 / 00:19
1
answer

Pass an fix to the find method of a laravel model

I have a statement that is responsible for obtaining the packages using an $ id and the find () method of the model: $package = Package::find($array); $package->each(function($package) { $package->type; $package-&...
asked by 07.06.2017 / 23:16
1
answer

Error executing "composer update" in post-update-cmd

When launching a composer Update within a project, it shows me the following error:    Generating autoload files   Illuminate \ Foundation \ ComposerScripts :: postUpdate   php artisan optimize   Php artisan script optimize handling the po...
asked by 26.04.2017 / 11:12
1
answer

Failed to run Laravel 5.4 from public directory in apache virtualhost

Good afternoon, I want to visualize a project in Laravel 5.4 using an Apache virtualhost (my virtualhost works ok), but when I try to visualize the contents of the public directory, I have the following problem that I describe in the image, your...
asked by 26.04.2017 / 20:07
1
answer

Include Bookstore Manually Laravel 5

What do you guys, I need to add the FPDF library to a project I've done in Laravel 5, the project is in production on a server from which I only have access via FTP, in which way can I include this library manually, to my project ?, thank you ve...
asked by 07.05.2017 / 07:15