Best of Laravel NewsJune 2022

  1. 1
    Article
    Avatar of lnLaravel News·4y

    Vite is now the default frontend asset bundler for Laravel applications

    Vite is now the default frontend asset bundler in new Laravel projects. Breeze and Jetstream have been updated as well. Vite provides near-instantaneous build times during development. You'll see updates automatically happen in the browser while you work, which is a fantastic experience!

  2. 2
    Article
    Avatar of lnLaravel News·4y

    Laravel Pint

    Laravel Pint is an open source PHP code style fixer for minimalists. Built on top of PHP-CS-Fixer, it will automatically test and fix your code style based off of a preset. With no configuration, no set up, no thought or effort - my project is instantly assessed for PSR-12 styling.

  3. 3
    Article
    Avatar of lnLaravel News·4y

    Running PHPStan on max with Laravel

    static analysis in PHP, and more specifically Laravel, has become more and more popular. With more people adopting it into their Software Delivery Lifecycle, I thought it would be a good time to write a tutorial on how you can add this to your Laravel project. Back in 2019 Nuno Maduro released a package called Larastan which was a set of PHPStan rules that work well for Laravel applications. Up until this point I had struggled getting a good static analysis coverage in Laravel using PHPStan or Psalm.