dump() and dd() are two useful debug helpers available in the Laravel framework.
Tag: laravel
Install a WordPress development environment with Laravel Valet
Laravel Valet is a development environment for macOS minimalists. It was developed to use in Laravel projects, but in this post, I will explain how to install and use with WordPress.
How to update the user password in a Laravel project using the CLI
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:
PHP en 2020. HacktoberDay
En el siguiente enlace (PDF, 1,67 MB, español) puedes acceder a la presentación «PHP en 2020» del HacktoberDay, celebrado online el 24 de octubre de 2020.
PHP Fatal error: Allowed memory size of 1610612736 bytes exhausted
Ejecutando en una máquina virtual Linux (Laravel Homestead), obtengo este error:
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:
PHP Composer killed
Executing the command in a Laravel Homestead virtual machine with 2 GB of RAM, I can’t finish it because the command stops with the output
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.
PHP en 2019
En el siguiente enlace (PDF, 9,22 MB, español) dejo las transparencias da presentación «PHP en 2019» de la Commit Conf 2019, celebrada en Madrid el 22 de noviembre del 2019.
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… Continue reading Localization in Laravel