GlotPress has some PHPUnit tests. In this post, I will go to explain how to run it in your local machine.
I think it is a good practice to sign your Git commits. In this post, the author explains why and how to sign your Git commits. An interesting reading.
dump() and dd() are two useful debug helpers available in the Laravel framework.
In a talk at the WordCamp Spain online 2021 Adriá Cobo asked me one interesting question about these 2 functions (e() and esc_html_()): If everything that is printed must be escaped, what is the point of _e()? Is it a legacy code? In this post, I try to answer this question.
The current GlotPress API documentation (October 2021) was generated by ApiGen. Last commit was made on April 4th, 2016. The last ApiGen commit was made on 23 Apr 2018, so I think this tool is deprecated. Furthermore, I was not able to use it with PHP 7.4 and GlotPress, so I look for another tool. The… Continue reading Documenting GlotPress with phpDocumentor
I have had some problems installing wordpress-develop on the M1 chip, so I describe here how I have solved it.
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.
Moving a Laravel application between two servers, I get this error in the destination server:
When you execute Composer, it uses the default PHP version. Sometimes, you will have problems if you use Composer with a different version that the one that executes the project.
In October 2020, Composer 2 was released. In some servers, I have some projects that need Composer 1 and others that need Composer 2. I will go to explain how to have both versions on the same server.