v1.7.2

Ollie Read

PHP & Laravel Development

The Action and Operation approach

For a long time, I followed the approach of creating controllers and repositories for individual entities (models). While this approach works, it slowly started to leave a bad taste in my mouth. After much researching into alternative approaches I was unable to find something that truly fit what I wanted. So I decided to have a go at creating my own.

Read More

A streamlined approach to Laravel validation

It has been while (almost two years) since I wrote an article here and I've decided to make my triumphant return with an article I never managed to get around to writing. As the title may suggest, this article is about streamlining validation with Laravel. While the final aim is to explain and present you with a quick and simple abstracted validator that requires minimal code in the actual implementation stage, before we get there I will need to cover the usual methods of validation which are default validation, form request validation and model validation. So let's start.

Read More