About image
šŸ‘‹ Hi, Iā€™m Sam Ciaramilaro, a software engineer based in Copenhagen, Denmark. More about me.
Provisional classes in Tinkerwell cover image

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.

Read

December 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.

Read

December 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.

Read

December 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.

Read

August 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.

Read

September 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