Best of LaravelFebruary 2025

  1. 1
    Article
    Avatar of lnLaravel News·1y

    Laravel 12 release date

    Laravel 12 will be launched on February 24th, 2025, as announced at Laracon EU. This version will include new starter kits with options for React, Vue, or Livewire and will have zero-breaking changes. It's recommended to upgrade to Laravel 11 before the release, and Laravel Shift is suggested for an automatic upgrade process.

  2. 2
    Article
    Avatar of laravelkidsLaravel Kids·1y

    Laravel CRUD with Repository Pattern

    The post provides a detailed guide on how to implement CRUD (Create, Read, Update, Delete) operations in Laravel using the repository pattern, which helps in organizing code better and making the application more maintainable.

  3. 3
    Article
    Avatar of lnLaravel News·1y

    Everything we know about Laravel 12

    Laravel 12, launching on February 24th, 2025, will primarily be a maintenance release with minimal breaking changes. New features added in Laravel 11 include a fluent helper, reversible form prompts, and more. Additionally, new starter kits with React, Vue, or Livewire support will be introduced. A new Laravel website with updated branding is also expected.

  4. 4
    Article
    Avatar of lnLaravel News·1y

    New Laravel Starter Kits are Coming Soon

    Taylor Otwell announced new starter kits for Laravel 12 at Laracon EU, consolidating Laravel Breeze and Laravel Jetstream into one starter kit per stack. Developers can choose from React, Vue, or Livewire, with each kit featuring login, registration, and customizable dashboard screens. The new kits offer various design options and are built with Inertia.js 2.0, TypeScript, and ShadCN component libraries. Livewire's starter kit includes Flux UI components to aid in building Livewire powered apps efficiently.

  5. 5
    Article
    Avatar of lnLaravel News·1y

    Fire Tower: Application & Config Monitoring

    Fire Tower is a Laravel package designed to monitor applications and configurations. It checks for Laravel and PHP versions, ensures debug mode is off in production, and verifies mail configurations. Users can create custom checks to monitor specific data conditions. Fire Tower is ideal for hobbyists and agencies alike, with flexible pricing plans and an easy setup process.

  6. 6
    Video
    Avatar of laraveldailyLaravel Daily·1y

    Laravel Queues Speed Test: Generate 5,000 PDFs

    Generating 5,000 PDF invoices synchronously can crash a server due to resource constraints. Using Laravel queues significantly improves performance, as shown in performance tests with different server configurations and queue worker settings. Experimenting with server specs and the number of workers can optimize task execution times while managing CPU usage effectively.

  7. 7
    Article
    Avatar of lnLaravel News·1y

    Laravel IDEA v10 is Here

    Laravel IDEA v10 release introduces significant new features such as smart database tables and fields completion, advanced Inertia.js support, native Laravel facades support, and additional code generation capabilities like Create Pivot Table and Create Enum. The release promises to enhance development speed and efficiency.

  8. 8
    Article
    Avatar of juststevekingJustSteveKing·1y

    Advanced Authorization methods in Laravel

    Laravel offers robust authorization mechanisms through Gates and Policies, primarily using RBAC. However, for more granular control, ReBAC, ABAC, and PBAC models can be implemented to suit various use cases. ReBAC is useful for relationship-based checks, ABAC offers fine-tuned control through attributes, and PBAC combines attributes and relationship-based checks with high-level policy definitions. Choosing the right model depends on the complexity, performance, and scalability needs of your application.

  9. 9
    Article
    Avatar of lnLaravel News·1y

    NativePHP for iOS

    NativePHP for iOS allows PHP applications to run natively on iPhones using Laravel and Livewire without transpiling the code. This development brings new functionalities like taking photos, push notifications, and in-app purchases directly from Laravel. Simon Hamp has successfully gotten his prototype approved by Apple, and there's an early access program available for developers to get the latest features.

  10. 10
    Article
    Avatar of lnLaravel News·1y

    Eloquent Relationship Queries in Laravel with whereRelation

    Laravel's whereRelation method simplifies filtering models based on their relationships' attributes, making queries more readable and maintainable. This feature is useful for complex filters in various applications like e-commerce platforms and content management systems.

  11. 11
    Article
    Avatar of laravelkidsLaravel Kids·1y

    Laravel 12: Discover the Latest Version of the Popular PHP Framework!

    Laravel 12 introduces significant improvements in performance, developer experience, and security. Key features include asynchronous caching, enhanced query builder methods, real-time linting, AI-powered debugging, native GraphQL support, and modern frontend tool integration like Vite and Tailwind CSS. The official release is expected in Q1 2025, requiring a minimum of PHP 8.2, with a support policy extending until 2027.

  12. 12
    Article
    Avatar of lnLaravel News·1y

    Request Handling with PHP Enums in Laravel

    Laravel now supports direct enum handling, improving validation and data consistency in request processing. This feature allows developers to handle predefined sets of values type-safely and provides an example of a subscription management system, including the code for defining enums, handling requests, and processing subscription updates.

  13. 13
    Article
    Avatar of thisdotThis Dot·1y

    An Introduction to Laravel Queues and Temporary URLs

    Learn to create an online video conversion website using Laravel. The guide covers setting up Laravel, leveraging Livewire for dynamic file uploads, and using queue jobs for processing tasks. Additionally, it explains how to generate temporary URLs for downloading files. Ideal for developers new to Laravel, the tutorial offers a practical example of building a scalable and robust web application.

  14. 14
    Article
    Avatar of lnLaravel News·1y

    Packistry is a Self-hosted Composer Repository Made with Laravel

    Packistry is a self-hosted Composer repository designed to simplify PHP package distribution. It supports importing from sources like GitHub, GitLab, and Gitea with updates using webhooks. Key features include private repository support, token-based authentication, and granular access control for both human and machine users. Built with Laravel 11, Packistry uses various community packages and modern front-end technologies.

  15. 15
    Article
    Avatar of lnLaravel News·1y

    Handling Missing Request Data in Laravel

    Laravel offers methods such as missing() and whenMissing() to effectively manage absent request data. These methods help in handling optional fields and setting default values for them. The post includes sample code demonstrating the use of these methods in a settings update system to enhance code expressiveness and maintainability.

  16. 16
    Article
    Avatar of phpdevPHP Dev·1y

    ??, ??=, ?: x Operators and “Falsy” Values in PHP

    Discover the benefits and use cases of PHP's `??`, `??=`, and `?:` operators to write cleaner, more efficient code. Learn to handle 'falsy' values effectively for more readable and maintainable code. Practical examples demonstrate how to implement these operators in real-world scenarios.