Acabo de crear como proyecto personal una lista de correo semanal con contenidos relacionados con PHP seleccionados manualmente por mi. Será una colección de noticias, tutoriales e información relevante sobre PHP y su ecosistema: Laravel, Symfony, WordPress, Drupal,… Si quieres apuntarte puedes hacerlo desde este enlace https://www.lasemanaphp.com
Update Debian to PHP 7.4
PHP 7.4 has been published on 28 Nov 2019.
To update the active version of PHP to this one in a Debian system, you can follow the next steps.
Sigue leyendo «Update Debian to PHP 7.4»Automatizando tu comercio electrónico: WooCommerce desde la CLI

En el siguiente enlace (PDF, 7,83 MB, español) dejo las transparencias de la presentación «Automatizando tu comercio electrónico: WooCommerce desde la CLI» de la WordCamp Granada 2019, celebrada en Granada el 30 de noviembre del 2019.
Commit Conf 2019
Este año estuve por primera vez en la Commit Conf, un gran evento de tecnología que, durante 2 días, congrega a 2000 personas de toda España con el fin de enriquecernos tecnológicamente. Se habló de un montón de tecnologías, desde técnicas de desarrollo de software hasta Big Data, Cloud o ML. Y también de PHP y de Git 😃😃
Sigue leyendo «Commit Conf 2019»Git avanzado

En el siguiente enlace (PDF, 12,4 MB, español) dejo las transparencias de la presentación «Git avanzado» de la Commit Conf 2019, celebrada en Madrid el 23 de noviembre del 2019.
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 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 setup a master-master replication system between two MySQL servers

In this post, I will go to explain how to set up a master-master replication system between two MySQL to replicate an existing database.
The MySQL master-master configuration is a master-slave configuration in both directions and allows us to get a high availability configuration because you have the same data in both servers and if one goes down you can still work with the live server.
Sigue leyendo «How to setup a master-master replication system between two MySQL servers»Pon un task runner en tu vida para automatizar tu flujo de trabajo
En el siguiente enlace (PDF, 9,5 MB, español) dejo las transparencias da presentación «Pon un task runner en tu vida para automatizar tu flujo de trabajo» de la WordCamp València 2019 del 19 de octubre del 2019.
Update the own URL when you add an SSL certificate in WordPress with the WP-CLI
When you add an SSL certificate to a WordPress site, you have to update all the own references on the website, changing the ‘http’ string to ‘https’.
In this post I will explain how to do it with the ‘search-replace‘ subcommand of WP-CLI.
Sigue leyendo «Update the own URL when you add an SSL certificate in WordPress with the WP-CLI»
Pon un task runner na túa vida para automatizar o fluxo de traballo
No seguinte enlace (PDF, 1,68 MB, galego) deixo as transparencias da presentación «Pon un task runner na túa vida para automatizar o fluxo de traballo» da WordCamp Pontevedra 2019 do 21 de setembro do 2019.