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.

Information technologies, mountain walks and races and another random stuff. Per aspera ad astra
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.
Ejecutando
composer update
en una máquina virtual Linux (Laravel Homestead), obtengo este error:
PHP Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 72 bytes) in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/RuleSetGenerator.php on line 64
Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 72 bytes) in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/RuleSetGenerator.php on line 64
Check https://getcomposer.org/doc/articles/troubleshooting.md#memory-limit-errors for more info on how to handle out of memory errors.
Continue reading «PHP Fatal error: Allowed memory size of 1610612736 bytes exhausted» 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)
Continue reading «Chrome version must be between 70 and 73» Executing the command
composer update
in a Laravel Homestead virtual machine with 2 GB of RAM, I can’t finish it because the command stops with the output
killed
Continue reading «PHP Composer killed» When I try to execute the Dusk tests in Laravel Homestead I get the «unknown error: cannot find Chrome binary» error.
Continue reading «Laravel Dusk. Cannot find Chrome binary»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.
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:
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.
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.
I was trying to create a new Laravel project when I get this error:
Continue reading «[InvalidArgumentException] Composer could not find a composer.json file»