These are the steps I followed to install the Google APIs Client Library for PHP using Composer.
How I install the PHP dependencies on the production server using Composer.
Learn how to calculate the number of days between two dates in PHP.
Learn how to convert a date to a different format (e.g. “dd/mm/yyyy” to “yyyy-mm-dd”) in PHP.
How to resolve openssl and curl errors when installing a package in Composer.
How to restrict the execution of a PHP script to CLI (Command Line Interface) only (so it doesn’t run through the browser).
Learn how to execute a PHP file remotely (using SSH) via a Bash script.
Create a PHP function that retrieves the estimated reading time in minutes for a provided text. Learn how to implement this on a WordPress site.
Become a more efficient programmer by using the user snippets option in Visual Studio Code that lets you quickly insert your most frequently used code snippets.
Learn how to automatically update a file version when it changes with PHP and WordPress.
Learn how to modify the threshold for the WordPress auto-scaling feature or disable it completely.
Learn how to restrict access to the WordPress REST API to improve the security of your WordPress site.
Implement this best practice of preventing direct access to PHP files to improve the security of your WordPress site.
Learn how to sanitize an array of email addresses in WordPress.
Learn how to enable the responsive feature of the embed blocks in WordPress block editor (Gutenberg).