Code 16’s blog

Here is a selection of blog posts (in english) about Sharp, Laravel and general web / PHP development, written by Code 16 members.

Validating critical email address in Laravel

Validating critical email address in Laravel

Learn how to validate email address from your customers and make sure you can contact them with confidence with Laravel’s power feature
Arnaud Becher Mar 17, 2022
Sharp for Laravel has a new online demo project

Sharp for Laravel has a new online demo project

Since version 4, Sharp companion demo / testing app, named Saturn, was kind of clumsy: it was hard to understand, as a new user, what was…
Philippe Lonchampt Mar 8, 2022
How to use the new PHP enum in Laravel

How to use the new PHP enum in Laravel

PHP 8.1 introduced long awaited support for built-in Enums. There is no more need for custom solutions as Since 8.69 Laravel has your back.
Arnaud Becher Jan 12, 2022
Sharp 7 for Laravel is released

Sharp 7 for Laravel is released

The beta has ended, with a final refactoring on entities and menu declaration
Philippe Lonchampt Jan 3, 2022
Automatically delete read database notifications in Laravel

Automatically delete read database notifications in Laravel

When using Laravel, if you need to notify your users you can benefit from its built-in notification system. Laravel provides support for…
Arnaud Becher Jan 3, 2022
Sharp for Laravel: the age of Reason

Sharp for Laravel: the age of Reason

Sharp for Laravel has a new major version: Sharp 7.
Philippe Lonchampt Nov 15, 2021
How to get notified when Laravel Horizon stops running

How to get notified when Laravel Horizon stops running

Learn how to setup a scheduled task to check periodically for Laravel Horizon’s status and notify your team as soon as it doesn’t work
Arnaud Becher Nov 11, 2021
How to test Laravel Horizon notification setup with slack

How to test Laravel Horizon notification setup with slack

In Laravel Horizon you can setup a notification system for being alerted when there is a too long wait time on your queues (and check if…
Arnaud Becher Nov 8, 2021
Fake beautiful images in Laravel

Fake beautiful images in Laravel

If you seed your local database with model factories, you probably use the fresh faker library (as the original faker library has been…
Arnaud Becher Sep 10, 2021
Bulk uploads in Sharp, the right way

Bulk uploads in Sharp, the right way

We just released version 6.3 of Sharp for Laravel, with a feature that was expected since a long time: the ability to upload multiple files…
Philippe Lonchampt Jun 13, 2021
On-demand optimized images with Laravel and AWS

On-demand optimized images with Laravel and AWS

Setting up your own image transform service on AWS to serve properly sized and optimized assets with Laravel
Arnaud Becher May 1, 2021
Sharp 6 for Laravel: new UI, breadcrumb and refinements

Sharp 6 for Laravel: new UI, breadcrumb and refinements

Six months after a v5 which was mainly a technical bump, Sharp for Laravel hits version 6, and this time there are new features (along…
Philippe Lonchampt Apr 13, 2021
A probability approach to cache a resource retrieved  from an external API.

A probability approach to cache a resource retrieved from an external API.

Recently I had, for a project at Code 16, to deal with an external API (a very bad one, but that’s another story). This is for a book…
Philippe Lonchampt Feb 12, 2021
How to customize Laravel API resources?

How to customize Laravel API resources?

It may be for optimization, or to choose what data should be sent in different contexts.
Philippe Lonchampt Sep 28, 2020