Browse past editions.
Learn how to optimize PHPUnit/Pest tests on GitHub by splitting them into chunks for parallel execution, significantly reducing test suite runtime, as demonstrated by Oh Dear's approach.
27th of April, 2025
New memoize driver enhances caching by storing values in memory for the request duration, reducing repeated cache store hits and improving performance, especially for costly operations.
20th of April, 2025
Laravel 12.x introduces global auto eager loading to combat the N+1 problem, enhancing performance by loading related models in a single query. This feature can be enabled globally, per model, or per query.
13th of April, 2025
Laravel Wayfinder generates fully-typed TypeScript functions for controllers and routes, enabling direct Laravel endpoint calls in client code. Ideal with Inertia, it simplifies backend-frontend integration.
6th of April, 2025
The latest version introduces significant updates, including the AsHtmlString cast for handling HTML, Arr::sole() method, QueueFake::listenersPushed() method, except() method for models, whereNull() and whereNotNull() for AssertableJson class, shouldRun() method in migrations, and the pipe() method for query builders.
30th of March, 2025
Keep up with Laravel in 5 minutes. Get the most important Laravel, PHP, & package news and reads every Sunday for free.
Explore the inner workings of AI coding tools like Cursor, Windsurf, and Copilot. Understanding their frameworks can significantly boost productivity, especially in complex codebases, by optimizing prompt engineering and tool interactions.
23rd of March, 2025
The Laravel v12.2.0 release introduces notable features including increment and decrement methods to the Context class and support for *OfMany in HasOneThrough relationships. Additionally, it provides a ddBody method in TestResponse for dumping HTTP response payloads, and enables collection chunking without preserving keys.
16th of March, 2025
Explore LarAgent, an open-source package simplifying AI agent development in Laravel. It offers flexible configurations, structured output, and extensive features for diverse AI integrations in your projects.
9th of March, 2025
Laravel 12 launched this week, featuring new starter kits that have ignited substantial debate within the Laravel community. Developers have raised concerns about significant shifts, including the use of Volt, reliance on third-party services like WorkOS for authentication, and the departure from Breeze and Jetstream. In response to community feedback, Taylor Otwell introduced a non-Volt version of the Livewire starter kit, catering to developers who prefer more traditional setups. Will this be sufficient to address the communityโs concerns?
2nd of March, 2025
The Laravel team will launch Laravel 12 on Monday, focusing on maintenance and upstream dependency updates with minimal breaking changes, ensuring easy upgrades.
23rd of February, 2025
Apple has approved a PHP-based iOS app built with Laravel and Livewire, showing that PHP developers can now create iPhone apps without learning new languages. The video demonstrates the processโinstalling a native PHP iOS package into a Laravel project, running it via Composer, and launching the app in an iOS simulator with hot reloading.
16th of February, 2025
A summary of the new projects: Taylor Otwell's Laravel Cloud and starter kits, Jess Archer's Laravel Nightwatch, Aaron Francis's Fusion for PHP+JS, and Simon Hamp's NativePHP for mobile apps.
9th of February, 2025
Conductor automates Composer updates for PHP, integrating seamlessly with CI environments. It delivers pull requests for easy review, ensuring timely security patches and up-to-date dependencies with minimal effort.
2nd of February, 2025
Streamline your Laravel endpoint tests with PolicyFake, a technique that enables to mock policies VideoPolicy::fake(['view' => false]). This approach makes testing endpoint authorization simpler, allowing us to bypass complex setups and focus on effective endpoint testing.
26th of January, 2025
Meet Laravelโs `sink` method for effortless file downloads. By creating a direct pipeline from HTTP responses to your storage, it automatically handles file writing, streamlining the entire download process.
19th of January, 2025
Learn how to manually set the intended URL in Laravel routes using the `setIntendedUrl` method, allowing seamless redirection after user actions, like submitting feedback, even for unauthenticated users.
12th of January, 2025
Laravel v11.37.0 introduces several enhancements to streamline development. Key updates include the new Dumpable trait for the Uri class, allowing easy debugging with dd() and dump() methods, and a case-insensitive option in the Str::is method. Additionally, new Eloquent methods such as whereDoesntHaveRelation and whereMorphDoesntHaveRelation simplify querying inverse relationships.
5th of January, 2025
Laravel 11.35.0 introduces the `when()` method in the `Request` class, enhancing conditional logic with cleaner, more expressive syntax through the `Conditionable` trait. The article explains the feature and how to use it.
29th of December, 2024
Laravel has launched a VS Code Extension in public beta, offering an integrated development experience tailored for Laravel projects. The extension includes features like IntelliSense for Laravel facades, inline documentation, and artisan command execution directly from VS Code. Itโs designed to enhance productivity and streamline common tasks for Laravel developers.
22nd of December, 2024
This release introduces several updates, including URI parsing and mutation using the Uri class, e.g., Uri::to('/something')->withQuery(...), check out this tutorial for more. HTTP responses can now be transformed into fluent instances for easier data manipulation, and HTTP client exception message truncation can be customized or disabled. The Conditionable trait in Request enables conditional logic. Other updates include sorting by definition in artisan route:list with --sort=definition and new scheduling methods pingOnSuccessIf and pingOnFailureIf for conditional URL pings on task success or failure.
15th of December, 2024
The latest Xdebug release supports PHP 8.4 and introduces the `XDEBUG_IGNORE` feature, which allows the step debugger to bypass specific requests.
8th of December, 2024
Discover how the new Request::fluent() method in Laravel 11.34 transforms request data into a Fluent object. This update simplifies accessing attributes, moving from $request->input('name') to $data->name, making your code cleaner and more intuitive.
1st of December, 2024
PHP 8.4 introduces major features like Property Hooks and Asymmetric Visibility, enhancing class property management. It also offers Lazy Objects, HTML5-compliant DOM parsing, and driver-specific PDO subclasses, improving overall performance and security.
24th of November, 2024
The latest Laravel release introduces grouped scheduling to organize multiple commands. It also includes features like the `failedConnection()` method for faking failed HTTP connections, syncing Eloquent associations with arrays or base collections of models, and the `rawColumn()` method for custom column types in migrations.
17th of November, 2024
Taylor announces Laravelโs Nightwatch, a new tool that provides valuable insights into your appโs performance. It helps identify slow routes, track queued job performance, and diagnose user-specific issues. With fast log search capabilities and server health monitoring, Nightwatch offers actionable data to help optimize your application.
10th of November, 2024
This release introduces `withDefer()` and `withoutDefer()` test helpers to manage deferred calls during testing. It also debuts the `HasUniqueStringIds` trait, enabling custom unique string IDs for Eloquent models to be used efficiently as route keys. Additionally, the `authorize()` method now accepts Backed Enums directly, simplifying authorization checks by allowing direct enum usage (From `$this->authorize(DashboardPermission::VIEW->value)` to `$this->authorize(DashboardPermission::VIEW)`).
3rd of November, 2024
The newly merged PR introduces the `CollectedBy` attribute in Laravel, enabling Eloquent models to specify custom collection classes easily, enhancing the expressiveness and encapsulation of collection logic in applications.
27th of October, 2024
The latest Laravel update brings exciting features! The new `composer run dev` command, added to composer.json for all new applications, launches the Artisan dev server, a queue worker, the Vite dev server, and log tailing with just one command. Additionally, the introduction of the `CollectedBy` attribute allows for custom collection classes for Eloquent models. Package authors now have the capability to register their own commands for the `optimize` and `optimize:clear` operations.
20th of October, 2024
Explore secure secret management for Laravel using the 1Password CLI. This guide discusses the benefits of effective secret management, compares tools like `artisan env:encrypt` and `git-secret`, and provides a detailed setup for integrating 1Password CLI in your deployment process, enhancing security and access control.
13th of October, 2024
This comprehensive guide explores the use of Laravel's Pipeline class, detailing its application for handling complex processes through multiple stages. Learn to create, manage, and test pipelines, enhancing code maintainability and efficiency in your Laravel projects.
6th of October, 2024