Laravel includes Tinker, a REPL tool to interact with the Eloquent ORM and a lot of other items. Using this tool, you can update the user password. To do this, open Tinker:
Category: laravel
Chrome version must be between 70 and 73
Executing the Dusk tests in the WordPress Polyglots Facilitator (Laravel Framework 6.18.31) using a Laravel Homestead virtual machine, I get this error:
Tests\Browser\DownloadTest::testIosDownload
Facebook\WebDriver\Exception\SessionNotCreatedException: session not created: Chrome version must be between 70 and 73
(Driver info: chromedriver=2.45.615279 (12b89733300bd268cff3b78fc76cb8f3a7cc44e5),platform=Linux 5.4.0-37-generic x86_64)
Laravel Dusk. Cannot find Chrome binary
When I try to execute the Dusk tests in Laravel Homestead I get the “unknown error: cannot find Chrome binary” error.
Localization in Laravel

In this post, I will go to explain how to localize a Laravel application. The application will support English, Spanish and Galician languages. This is a real example to translate the https://wptranslator.jesusamieiro.com web app. You can find the source code on GitHub.
The steps to localize the application will be:
- Create a configuration file to store the languages that will be used by the application.
- Define the default language for the application.
- Add the translation functions in the views.
- Create the JSON translation files.
- Create the middleware that updates the application language.
- Add the selector in the main view to enable the end-user to change the application language.
- Add the route for the change event of the previous selector.
- Add the controller to receive the change event from the previous selector.
How to rotate the Laravel logs
Laravel stores the logs of the project in the file “storage/logs/laravel.log”. If you don’t rotate this file can increase its size a lot, using the most part of the storage, causing problems with a full disk.
Laravel, WordPress e a API REST: usando WordPress como xestor de contidos en aplicacións Laravel. WordCamp Lisboa 2019
Neste enlace (PDF, 1,04 MB, galego) deixo as transparencias da presentación «Laravel, WordPress e a API REST: usando WordPress como xestor de contidos en aplicacións Laravel» da WordCamp Lisboa do día 18 de maio de 2019.
A proba de concepto podedes encontrala en GitHub, no seguinte enlace: Laravel, WordPress and the REST API.
[InvalidArgumentException] Composer could not find a composer.json file
I was trying to create a new Laravel project when I get this error:
Execute and test only one method with Laravel Dusk
When you are running Laravel Dusk tests from the terminal, with the command
$ php artisan dusk
sometimes you need to execute and test only one method. You can do it with the “–filter” parameter and the name of the method:
$ php artisan dusk --filter testUserInsertBlankSpacesAndThePasswordDoesNotChange
“403 Invalid signature” when I try to verify an email in Laravel
When I try to verify an email in Laravel I get the error:
403 Invalid signature
The problem is a misconfiguration in the nginx configuration file (the Server Blocks).
The bad configuration was
location / { try_files $uri $uri/ /index.php?q=$uri&$args; }
The good configuration is
location / { try_files $uri $uri/ /index.php?$query_string; }
Installing and configuring a supervisor in Debian to execute a Laravel queue worker
I need to install and configure a supervisor in Debian to continuous execute a queue worker.