I use Laravel Homestead to develop on two machines. I use it because with this solution I have the same development environment in all my machines and in all machines of my coworkers.
Last Tuesday, with the monthly Microsoft update (I suppose), the HTTP responses starts to become very slow, with TTFB (time to the first byte) from 4 to 10 seconds.
Continue reading “Laravel Homestead TTFB very high”
If you are using Laravel Homestead and you want to use Laravel Dusk to test your application, you can find some problems.
Continue reading “Using Laravel Dusk with Vagrant Homestead”
If you are installing a new Larevel project and you get this error in the navigator
RuntimeException in compiled.php line 13506:
The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths.
Continue reading “Larevel error. The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths”
Laravel 5.2+ give us a way to scaffold all of the routes, controllers and views we need for authentication with one command:
php artisan make:auth
Continue reading “Disable register in Laravel”
Tras actualizar un equipo de trabajo de Windows 7 a Windows 10, Vagrant dejó de funcionar con la máquina Homestead. El error era el siguiente
Continue reading “Problemas con Vagrant al actualizar Windows 7 a Windows 10”
In this post I explain how to add some useful Laravel bash alias in the bash shell, so you haven’t to type this long commands.
I use this alias in the Homestead VM Vagrant machine.
Continue reading “Laravel bash alias”
If you are using the Laravel factories to populate the database with fake elements, when you add a new factory, v.gr. in the “\database\factories\ModelFactory.php”, ant try to execute it with the tinker app
Continue reading “Laravel Factory. InvalidArgumentException with message ‘Unable to locate factory with name [default] [App\Model].’”
If you create an Eloquent Model in Laravel (v.gr., the “Company” model), using the command
$ php artisan make:model Company
the file is stored in the “App” folder.
Continue reading “Laravel. Models into its own folder”