Implement a defensive step in your Laravel framework by throwing an exception if an expected environment variable is not set, rather than reverting back to some default that is probably not appropriate.
Specify the environment in the config section of composer, allowing you to dev for a different environment.
A short tutorial on the Symfony Dotenv package for PHP.
A cheatsheet and links for defensive PHP.
Some tips/advice for handling file upload forms in PHP.
A cheatsheet for working with Slim 4
Tips for when using composer on PHP projects that use Docker.
Install PHP 7.4 on Ubuntu 18.04.
Create excel spreadsheets with PHP using a PHP package.
Tutorial covering the use of Blade views in Laravel.
A script to automatically prune old snapshots and only keep the last X number.
Install PHP 7.3 on Ubuntu 18.04.
Install/Upgrade to PHP 7.3 on Debian 9
Install later versions of PHP on Debian 9
Learn how to set up a webhook in Github in order to automatically update the package in Packagist.
Steps on setting up your own satis server on ubuntu 18.04
Steps on setting up your own satis server on ubuntu 16.04
Install the Laravel installer.
Install mcrypt for PHP in Ubuntu 18.04
Add support for Laravel in Netbeans so that you can get auto-completion and hints working.
Learn how to register some handlers so that we can capture any kind of issue that occurs in our PHP application.
A tutorial on using PHP to set and read cookies in the user's browser.
Learn about using declare(strinct_types = 1); in PHP and the implications it has.
Get started with th Doctrine database abastraction layer (DBAL).
Steps on setting up your own satis server.
Using strict type arrays in PHP.
Start firing data off to your Graphite server's statsd collector in order to start tracking/monitoring events.
Enable the PHP opcache
Get started with using the codesniffer tool in order to ensure your code adheres to the PSR-2 standards.
Deploy your own private satis server for private PHP packages.
A cheatsheet for PHP
A cheatsheet for working with the Slim3 framework.
Create your own phar files.
Install a later version of PHP on Ubuntu 16.04 by using a PPA from Ondrej.
Install the Symfony PHP framework.
Have your PHP application show a progress bar whilst it works.
A video-tutorial demonstrating how you can move a lot of the routing registration in Slim3, into the controllers, thus simplifying your codebase if you have a lot of routes.
Learn how to use UUIDs in MySQL for your table IDs, rather than using auto_increment.
A lightning talk on UUIDs from the maintainer of the ramsey/UUID package library for PHP.
A talk made by Macro Pivetta on "Doctrice ORM Good Practices and Tricks".
Learn about the finally clause.
Learn how to include your package within itself for testing and not have to keep pushing the code and composer updating.
A brief tutorial on using prepared statements and their pros/cons.
Install the Inotify extension for PHP 7.0 in Ubuntu 16.04
How you can use aliases for package names for testing dev branches.
Install PHP 7.2 With Pthreads for multithreading
An example of using a thread pool for handling threads more efficiently.
Get started with using Selenium for automating tests, and writing those tests in PHP.
This tutorial will show you how to recompile PHP with ZTS enabled, before then adding the pthreads extension in order for us to be able to easily write multithreaded PHP CLI scripts.
Install PHP 7.0 With Pthreads for multithreading on Ubuntu 16.04
This tutorial will show you how to recompile PHP with ZTS enabled, before then adding the pthreads extension in order for us to be able to easily write multithreaded PHP CLI scripts.
An example of why you need to use the implements keyword on a class to implement an interface, and not just implement its methods.
A fantastic timestamped lecture on defensive PHP. Everyone should watch this!
A cheatsheet for using Laravel 5.
If you use netbeans like me and new to Laravel, you may get confused/frustrated by lack of autocomplete after typing Route:: This post explains what is going on and how you can fix this.
Set up a new Laravel project. Laravel is a popular PHP framework.
Install PHP 5.6 in Debian 7.x