Benjamin Delespierre

Benjamin Delespierre @bdelespierre

About: I do all sorts of mischiefs with Laravel

Location:
Paris, France
Joined:
Sep 16, 2017

Benjamin Delespierre
articles - 23 total

Haking with Laravel modules

This quick tutorial will walk you through a series of easy steps to make your Laravel app modular

Learn More 50 16Sep 21 '21

Domain Driven Design Aggregates with Laravel

Secure data model using aggregates and value objects, and connect them seamlessly to your business use-cases.

Learn More 71 7Sep 20 '21

Clean Architecture with Laravel

learn how to decouple your business logic in your Laravel app

Learn More 199 34Aug 4 '21

All flavors of PHP 8 getters

A quick recap of the many ways you can get value from objects in PHP

Learn More 51 10Aug 1 '21

Using value-objects in Laravel Models

Make your data more precise, more resilient, and bring it closer to the business domain.

Learn More 45 11Jul 26 '21

Dealing with mixed concerns, a solutions hierarchy

Let's discuss the various ways to address code dupplication.

Learn More 5 2Jul 14 '21

Package Artisan commands in 5 minutes

How to make a phar package of an Artisan command

Learn More 14 0Apr 16 '21

PHPUnit from scratch in 5 minutes

Testing is easier than you think!

Learn More 16 2Dec 9 '20

How to add basic localization to your HTML page with just jQuery

Sometimes, we need simple solutions

Learn More 7 0Sep 7 '20

Perception Hashing in PHP

A very simple method to find images dupplicates

Learn More 12 0Aug 24 '20

How to check Laravel view syntax

With a simle command you can validate your Blade files

Learn More 8 0Aug 18 '20

How to setup Git commit hooks for PHP

Supercharge your Git Game with this simple hook

Learn More 39 5Aug 10 '20

Convert accentuated character to their ASCII equivalent in PHP

Useful to make slugs

Learn More 9 2Aug 6 '20

How to locate all usages of a method in PHP code with Bash and Git

Very useful for refactoring

Learn More 3 0Aug 4 '20

How to list files recursively in a directory with PHP iterators

Very simple snippet that demonstrates the power of iterators and generators.

Learn More 9 0Jul 31 '20

Disable password checks on Laravel

On local and testing environment, it might be a good idea to turn off password checking to facilitate reviews. Here's how!

Learn More 7 0Jul 30 '20

How to cleanup your old Git branches

Too many branches laying around on GitHub? This is the solution!

Learn More 27 2Jul 29 '20

Simple tag trait for Laravel models

Tags are very common in any application. This snippet leverages Eloquent's polymorphism to give any...

Learn More 13 0Jul 15 '20

Easier icons in your Laravel Blade templates

At AddWorking we're huge fans of Font Awesome. It's so easy to use and have so many icon, it's really...

Learn More 15 2Jul 8 '20

Identify models using their name with Laravel

Some database objects are atomic - i.e. they're just a name. Think of a Tag, think of a Role, think...

Learn More 9 0Jul 6 '20

How to implement a simple like system with Laravel

We're going to leverage the power of Eloquent's morphs to make anything in our system likeable.

Learn More 37 40Jun 29 '20

Laravel Gate Inspection

Inspect your Gates for a better UI

Learn More 6 0Jun 26 '20

How to implement a basic, role-based, ACL in Laravel

TL;DR Note: roles will be created in database "on the go", through the Role::wrap method....

Learn More 27 2Jun 23 '20