Home / Journal 235 posts · 12+ years · 9 categories
The journal

12 years of working notes.

Code that took me too long to figure out, opinions I had to earn the hard way, the occasional recipe and film note. Filter by category, or just scroll.

★ Latest
FEATURED · Web Development May 20, 2026

128 languages ready to ship with your Laravel app

If you've ever built a Laravel app that needed to speak more than one language, you know the drill. Laravel ships with English only. So for French, Spanish, Arabic, or any of the other 127 languages your users might speak — you're on your own. Or...

May 12, 2026 Management · Web Development

Ditching PAYG Subscriptions for a Pre-Paid Credit System in Laravel

Pay-As-You-Go billing sounds ideal: users pay only for what they use, the pricing feels fair, and Stripe handles the metering for you. In practice it has a nasty flaw — you charge at the end of the cycle, but the card can be empty by then . Users...

May 12, 2026 Read →
30
Mar 2022
Web Development

What is a Mixin in Vuejs ? Here's a simple explanation

TL;DR : A Mixin is a script file containing some logic that you can import into a vuejs component. It is structured exactly like in the script tag of a classic...

read →
08
Mar 2022
Web Development

Presenters in PHP - How to clean your views

How to use a Presenter class Super simple! class BookPresenter extends Presenter { public function __construct( public Book $book ) {}...

read →
21
Feb 2022
Web Development

Transformers in PHP

Another Design Pattern to cover in PHP are the Transformers . This one is really simple to understand. It allows you to return an object to another format i...

read →
16
Jan 2022
Web Development

Repository pattern in PHP and Laravel

TL;DR A repository is an interface-signed class that encapsulate all SQL queries in specific methods. The repository class is then injected into your control...

read →
22
Dec 2021
Personnal

Building your empire starts with small rocks

A ambitious man sees a castle on the horizon. He wants to have a big castle too. He goes to an old, wise man and tells him, "you see this castle ? I wan...

read →
21
Dec 2021
Web Development

Mandatory VS Code extensions for PHP Developers

VS Code is a powerful and versatile IDE, but out of the box, it doesn't have much support for PHP developers. Fortunately, the PHP community made several exten...

read →
02
Dec 2021
Web Development

LaravelPackages.net has been upgraded

For the past weeks I've been working on a design overhaul of laravelpackages.net For those who don't know this website, it's a database of composer packages...

read →
23
Nov 2021
Web Development

PHP Course : Abstract Classes vs Interfaces

TLDR; With Abstract Classes, you can define default behaviours that can be inherited by subclasses. That's not possible with interfaces. The template design pa...

read →
22
Sep 2021
Web Development

Discourse and Cloudflare : Error on port 443 on installation

I just recently setup a new VPS to install discourse. First step was to create my subdomain on cloudflare. Then I ssh'd into the VPS and start executing th...

read →
18
Sep 2021
Web Development

PHP Course : What is a Singleton ?

The Singleton is a design pattern of class creation that garantee instanciating a single object of that class and provide a unique point of access to that ob...

read →
17
Aug 2021
Web Development

What is a Service Container / IoC Container in PHP ?

"IoC" stands for Inversion of Control and I already talked about it in my PHP Course : What Is Dependency Injection As for the "Container&qu...

read →
06
Jul 2021
Recipes

Recette Bolognaise Tomates Fraiches

Ingrédients 6 oignons 4 gousses d'ail 1kg haché 1.5kg Tomates 1 poivron rouge Carottes (autant qu'on veut) Courgette (autant qu'on veut) Pr...

read →
24
Jun 2021
Web Development

Simple yet powerful search mixins for vuejs

If you ever worked on a vuejs project, you surely one time build a list of data. And when you have this nice listing, you probably want to add a little search...

read →
14
Jun 2021
Web Development

Gitweet.io is now open source !

Last week I decided to resurect an old project : gitweet.io I figured it was a good opportunity to try out Laravel Jetstream ! As this project only use g...

read →
04
Mar 2021
Web Development

What the Hell is Callback Hell in Javascript ?

"Callback hell" is a term I've never heard off before discussing asynchronous javascript during a job interview. As soon as I got home, I checked i...

read →
15
Dec 2020
Quotes

Before you do anything

Never do anything that you cannot undo before you clearly understood what you won't be able to do after you do it

read →
29
Nov 2020
Management Web Development

Small tips to improve the marketing side of your SaaS website

You've finished building the next big SaaS and you want now to pimp your homepage to make it more attractive ? You're in the right place. Here's a few things...

read →
11
Oct 2020
Quotes

Lao Tseu

A journey of a thousand miles begins with a single step -Lao Tseu

read →
27
Sep 2020

Nuxt: How to Load Translations from the BackEnd with an API

In this quick tutorial we will see how we can use, in a Nuxt FrontEnd project, the translations that are store in a backend project. In your nuxt project you...

read →
16
Sep 2020
Web Development

PHP on Mac with Homebrew: how to update php to the latest minor patch?

With the latest release of Laravel 8 and laravel Nova 3.9, the minimum required PHP version is 7.4.9 On my mac I had php 7.4.7 To make this very small upda...

read →