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 most PHP used tool is phpDocumentor. In this post I explain how to use it with GlotPress.
Install phpDocumentor globally on the machine, using the .phar tool.
Get the last .phar URL.
To run phpDocumentor, execute:
php phpDocumentor.phar run -d ~/code/wordpress/glotpress-env/glotpress.git -t ~/code/wordpress/glotpress-env/gp-docs
- ~/code/wordpress/glotpress-env/glotpress.git is the GlotPress folder.
- ~/code/wordpress/glotpress-env/gp-docs is the documentation folder.
I have had some problems installing wordpress-develop on the M1 chip, so I describe here how I have solved it. Continue reading “Installing wordpress-develop on M1 chip”
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. Continue reading “Install a WordPress development environment with Laravel Valet”
Moving a Laravel application between two servers, I get this error in the destination server: Continue reading “Missing BC Math or GMP extension”
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. Continue reading “Using Composer with a different PHP version than the default one”
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. Continue reading “Install Composer 2 in a machine with Composer 1”
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: Continue reading “How to update the user password in a Laravel project using the CLI”
In this post, I will explain to you how to install PHP8.0 in Debian 10. Continue reading “How to install PHP8.0 in Debian 10”
In this post I will explain you how to install HTTP/2 in Apache2 and Debian 10.
You will need: Continue reading “How to install HTTP/2 in Apache2 and Debian 10”