Best of Laravel NewsJuly 2024

  1. 1
    Article
    Avatar of lnLaravel News·2y

    API Versioning in Laravel 11

    Laravel 11 has streamlined its application skeleton by removing unnecessary service providers and default API routes. If you need to set up an API, you can use the `php artisan install:api` command to configure routes and necessary files. For API versioning, you can either add versioned routes in separate files like `routes/api_v1.php` and `routes/api_v2.php`, or configure them directly in the `bootstrap/app.php` file. This article provides step-by-step instructions for both methods to keep your routes organized.

  2. 2
    Article
    Avatar of lnLaravel News·2y

    Introducing Built with Laravel

    BuiltWithLaravel.com is a new site created by Matt Stauffer to showcase companies and organizations using Laravel. The site aims to convince potential clients of Laravel's legitimacy by listing notable organizations that use it. Users can also suggest companies for inclusion through a suggestion form. The focus is on a curated list of impressive organizations rather than a comprehensive one.

  3. 3
    Article
    Avatar of lnLaravel News·2y

    Auth Screens for Your Laravel Apps

    Managing multiple Laravel applications becomes simpler with DevDojo Auth, a free, open-source project offering customizable authentication pages compatible with Laravel 10.x and higher. Installation involves using Composer and publishing assets and configurations. The package allows for extensive customization, including setting up social authentication using provider credentials. Additional features include Github action workflows and built-in testing tools like Pest and Dusk.

  4. 4
    Article
    Avatar of lnLaravel News·2y

    Visual EXPLAIN for MySQL and Laravel

    The MySQL Visual Explain tool by Tobias Petry simplifies the analysis of slow queries by providing a visual representation of MySQL's EXPLAIN output. An API and a Laravel package are available, adding methods to the query builder and offering various options to visualize and debug queries easily.

  5. 5
    Article
    Avatar of lnLaravel News·2y

    Build SSH Apps with PHP and Laravel Prompts

    The ssh-php project by Sam Carré offers a simple starting point for building Text-based User Interfaces (TUIs) over SSH using PHP. It integrates Laravel Prompts, Chewie, and Docker, facilitating both development and deployment. The project includes commands for running an SSH server in a Docker container and connecting to it. Comprehensive installation instructions and resources are available on GitHub.