Best of Laravel NewsApril 2024

  1. 1
    Article
    Avatar of lnLaravel News·2y

    Basset is an alternative way to load CSS & JS assets

    Basset is a better asset helper for Laravel that allows you to load CSS and JS assets directly from the URL. It removes the limitations of the traditional asset() function and provides features such as downloading assets from CDNs, loading vendor and non-public assets, preventing double-loading of assets, and improving performance by using HTTP/2.

  2. 2
    Article
    Avatar of lnLaravel News·2y

    Property Hooks Get Closer to Becoming a Reality in PHP 8.4

    Property Hooks in PHP 8.4 have reached a significant milestone with overwhelming support. Property hooks provide a targeted and purpose-built tool for common property interactions, inspired by languages like Kotlin, C#, and Swift.

  3. 3
    Article
    Avatar of lnLaravel News·2y

    New Video Series: The Laravel Ecosystem

    Christoph Rumpel is starting a video series on the Laravel YouTube channel that covers Laravel's first-party tools, including free packages and commercial offerings. The first video on Laravel Herd is already available, with more videos planned for weekly release.

  4. 4
    Article
    Avatar of lnLaravel News·2y

    Jeffrey Way's PhpStorm Setup in 2024

    Jeffrey Way shares his PhpStorm setup and workflow in 2024, highlighting the default color themes, essential plugins, the secret weapon plugin for Laravel, and time-saving features like refactoring and auto-formatting.

  5. 5
    Article
    Avatar of lnLaravel News·2y

    Automatic Blade Formatting on Save in PhpStorm

    PhpStorm now supports automatic formatting of PHP files based on standards like PSR-2, PSR-12, Symfony, Laravel, etc. The post discusses how to set up Prettier for formatting Blade files in PhpStorm, including the use of prettier-plugin-blade and prettier-plugin-tailwindcss. It also explains how to enable automatic formatting on save and manually reformat code.