Best of Laravel NewsDecember 2024

  1. 1
    Article
    Avatar of lnLaravel News·1y

    Laravel VS Code Extension Public Beta

    The Laravel core team has announced the public beta release of the official Laravel VS Code extension during Laracon US 2024. The extension aims to improve the development workflow by offering enhanced autocomplete, click-to-source navigation, and various helpful tools. Key features include auto-completion for routes, models, views, and more, direct links to definitions, and warnings for missing configurations or templates. Additional upcoming features include integration with VS Code test runner, Livewire, Volt, and Pint support.

  2. 2
    Article
    Avatar of lnLaravel News·1y

    HydePHP is a Laravel-powered Static Site Generator

    HydePHP is a static site generator powered by Laravel, designed to help users create websites, blogs, and documentation pages using Markdown or Blade. It offers features like quick scaffolding of blog posts, documentation pages, and advanced page creation with Laravel Blade. HydePHP includes a TailwindCSS starter kit for immediate frontend development and ensures accessibility with semantic HTML and microdata. Comprehensive documentation and open-source code are available on GitHub.

  3. 3
    Article
    Avatar of lnLaravel News·1y

    Automatic speech recognition and transcription

    Whisper.php is a PHP wrapper for whisper.cpp, a C/C++ port of OpenAI's Whisper model, created by Kyrian Obikwelu. Recently released in version 1.0.0, it facilitates fully local and API-free transcription with features like high and low-level APIs, model auto-downloading, support for various audio formats, and multiple output formats. It requires the FFI extension in PHP and relies on platform-specific shared libraries, downloaded automatically during the first initialization. Whisper.php currently supports Linux and macOS, with Windows support in development.

  4. 4
    Article
    Avatar of lnLaravel News·1y

    Performance Optimization via Conditional Relationship Loading

    Laravel's API Resources feature whenLoaded() allows conditional inclusion of relationship data in API responses, optimizing performance by avoiding unnecessary database queries. Examples showcase dynamic relationship loading based on request parameters, conditional inclusion of nested resources, and optimized query loading for better efficiency.

  5. 5
    Article
    Avatar of lnLaravel News·1y

    One-time Password Manager for Laravel

    The One-time Password (OTP) Manager package for Laravel offers a wide range of methods for generating, sending, verifying, and managing OTPs. It integrates with Laravel's cache system to throttle OTP sending and adds security by tracking requests. Key features include support for multiple OTP types, rate limiting, OTP invalidation after multiple failed attempts, and customizable mobile number validation. Full setup and usage details are available on GitHub.

  6. 6
    Article
    Avatar of lnLaravel News·1y

    Automated API documentation of Laravel API resources

    API resources enhance the handling of data transformations for API responses in Laravel. Scramble is an automatic OpenAPI documentation generator that supports Laravel API resources without requiring PHPDoc annotations. With its latest update, it now fully supports API resource payload-building methods, ensuring accurate and up-to-date documentation.

  7. 7
    Article
    Avatar of lnLaravel News·1y

    Add Approvals to Your Laravel Application

    The Laravel Process Approval package streamlines the approval process within Laravel applications by automating permission requests and sign-offs. With features like intuitive configuration, multi-step approvals, role-based access, notifications, an audit trail, and customizable views, this package is designed to improve efficiency and compliance for complex approval needs.