Source: juststeveking.uk

Laravel Pint
The long-awaited hype train is finally over, Laravels latest open source CLI app has been released to the world, and we got our hands on it to tell you all about it. From the readme, “Laravel pint is a zero-dependency PHP code style fixer for minimalists - built on top of PHP-CS-Fixer.” As soon as I read this, I got excited, and I mean very excited.

This package is no different and will automatically test and fix your code style based on a preset.

But let’s have a look at doing it with a fresh new Laravel project, so create a new project: laravel new pint-demo
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners