May 19, 2022
Provisional classes in Tinkerwell
Tinkerwell is a great tool for testing PHP code. It has a little hidden gem of a feature that allows you to create a class on the fly and use it in your code.
ReadDecember 13, 2022
Abstract Factory Pattern in PHP
The Abstract Factory Pattern is a useful pattern for creating families of objects that are related and have common characteristics.
ReadDecember 12, 2022
Decorator Pattern in PHP
The decorator pattern is a great way to add extra functionality to an existing object without having to change the original code. This allows developers to quickly add new features to an existing object without having to go through the entire codebase.
ReadDecember 10, 2022
Versioning an API
Versioning your API can help you maintain compatibility with existing applications, introduce new features without breaking existing applications, and allow for more efficient development cycles.
ReadAugust 15, 2022
Laravel: Customizing the field names in validation error messages
Customizing field names in Laravel's validation error messages, offering solutions to ensure error messages match the original field names provided by users.
ReadSeptember 15, 2021
Die and dump arrayable: A helper function for dumping Eloquent models attributes
Create a helper function in laravel for simpler readout of Eloquent dumps.
Read