Browse past editions.
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
Flux is the official Livewire Component Library. Built by the talented team behind Livewire and Alpine.js, Flux brings a powerful set of UI components specifically designed to simplify front-end development for Laravel apps. Whether youโre building dynamic, interactive interfaces or need customizable components, Flux is here to streamline your workflow.
29th of September, 2024
Explore the inner workings of Laravel's `defer()` method, which allows for the execution of callbacks after a response is sent without using queues. This article delves into its implementation and the global middleware that makes it possible.
22nd of September, 2024
Taylor Otwell has announced the release of several new framework features that were demoed at LaraconUS. Highlights include the new `defer()` function, which delays tasks until the response is sent. The `Cache::flexible` method implements a stale-while-revalidate pattern, refreshing the cache in the background. The `Concurrency` facade enables concurrent execution of closures. Additional updates include temporary signed URLs in the local filesystem and intuitive `when` helpers for Blade/Livewire templates. There is a new `log` function, the `firstOrFail` method for query builders, and a convenient `Skip` queue middleware for skipping queued jobs conditionally.
15th of September, 2024
Laravel secures a $57M Series A investment from Accel, with Taylor Otwell reaffirming its commitment to open-source and innovation. This funding will enhance Laravel Cloud and introduce new products aimed at improving full-stack web application development.
8th of September, 2024
Keep up with Laravel in 5 minutes. Get the most important Laravel, PHP, & package news and reads every Sunday for free.
Taylor Otwell unveiled several exciting updates in his keynote at Laracon US. Highlights include **Laravel Cloud**, a fully managed platform tailored for Laravel applications, and a **first-party VS Code extension**. Additionally, he introduced **deferred functions** for post-response processing, a new **concurrency API** for parallel processing, and **Inertia 2.0**, including features for asynchronous data loading and prefetching.
1st of September, 2024
Explore the evolving landscape of PHP generics, including the challenges and potential solutions. This comprehensive analysis covers reified generics, type inference, performance considerations, and alternatives like dedicated Collections syntax.
25th of August, 2024
PhpStorm 2024.2 introduces several new features, including log file support, a new floating toolbar for quick access to refactorings and AI features, terminal command completion, and AI Assistant for terminal command generation and VCS conflict resolution. Frontend updates include running and debugging TypeScript files directly, better support for major web frameworks and default Prettier integration. The new UI is now the default for all users.
18th of August, 2024
Uncle Bob Martin is rewriting "Clean Code" promising a fresh approach while retaining its core principles. Expect a completely revamped presentation that breaks down complex concepts into digestible sections. While the second edition is still over a year away, fans of the original will find the enduring messages relevant until then. Stay tuned for more updates on this anticipated release.
11th of August, 2024
Laravel 11.19 brings a suite of upgrades that fine-tune both testing capabilities and query functionalities. New testing methods such as `assertSeeHtml`, `assertDontSeeHtml`, and `assertSeeHtmlInOrder` refine HTML output validations. The addition of `assertExactJsonStructure` and `withoutHeader` test methods enhances API testing by allowing precise JSON structure checks and header manipulation. On the database front, the new `whereNone` method in the query builder facilitate the exclusion of records under specific conditions. Furthermore, a method to trim unnecessary zeroes from decimal points `Number::trim(12.0); // => 12` simplifies numerical outputs.
4th of August, 2024
Gracefully handle failures in queued jobs. If a job fails after all attempts, you can execute custom code by defining a `failed()` method within your job class. Implement this method to manage tasks like cleaning up resources or notifying users when a job doesnโt succeed.
28th of July, 2024
The latest release brings several enhancements across the board. It introduces a new `success` console component and refines mail assertion capabilities, enabling streamlined tests for email dispatch to specific addresses. For SQLite users, new configuration options `busy_timeout`, `journal_mode`, and `synchronous` can boost performance significantly. Moreover, `ConnectionException` is now included in connection failure events.
21st of July, 2024
PHP 8.4 introduces a syntactic enhancement that allows developers to chain methods directly on newly created objects without wrapping them in parentheses, simplifying code and reducing friction in PHP coding.
14th of July, 2024
Discover the benefits of using the action pattern in Laravel. This approach minimizes redundancy and promotes easier maintenance and testing, enhancing flexibility and integration in your applications. The article details how the action pattern structures your code for better scalability and testability.
7th of July, 2024
This week, dive into the challenges and strategies of integrating PHPStan into legacy PHP projects. The article outlines practical approaches for adopting PHPStan to improve code quality incrementally. It focuses on setting up PHPStan, configuring it to recognize and handle legacy code specifics, and embedding it into continuous integration workflows to ensure ongoing code quality without overwhelming the development process.
30th of June, 2024
Despite still being in draft, the new PHP RFC on Pattern Matching is creating quite a buzz due to its potential to streamline and enhance code readability significantly. This RFC proposes sophisticated matching techniques against complex data structures and the ability to extract values, which could drastically reduce code complexity. The excitement around this draft reflects its high quality and the substantial improvements it could bring to PHP, mirroring features already present in languages like Python and Rust.
23rd of June, 2024
Roman Pronsky takes us on a nostalgic journey back to 1995 with PHPโs inaugural version in his latest YouTube video. Marvel at how PHP began as a simple toolkit called PHP Tools for personal webpage management and evolved into a cornerstone of web development. Pronsky expertly demonstrates PHP 1, providing insights into the languageโs humble beginnings and its profound impact on todayโs web technologies. This retrospective is a must-watch for anyone intrigued by the evolution of programming languages and the enduring legacy of PHP.
16th of June, 2024
Spatie introduces the `spatie/laravel-error-share` package, restoring the โShareโ button on Laravelโs exception page. This enhancement brings back the ability to share error details easily, lost in the recent update to a more streamlined exception interface.
9th of June, 2024
Laravel v11.9.0 introduces a significant update with a new default exception page that now includes dark mode. This release also speeds up bootstrap times by utilizing a hashtable for provider storage, significantly benefiting large applications. Additionally, versions v11.9.1 and v11.9.2 have also been released, continuing the improvements and stability of the framework.
2nd of June, 2024
Explore recent updates to Laravel, including new features like the unshift method for Collections, the sibling of push(). Discover the new rule contains which checks if a request includes a specific value within an array, serving as the counterpart to the in rule.
26th of May, 2024
Explore how Laravel leverages the strategy pattern, allowing dynamic implementation swapping for diverse functionalities like caching. This article delves into practical applications and the underlying `CacheManager` implementation.
19th of May, 2024
Explore how Laravel Octane accelerates request handling by pre-loading the application, akin to chefs preparing ingredients before rush hour. Anyone who has ever tried to implement custom domains for their apps knows it can be a daunting task ...
12th of May, 2024
Discover how Maciej Pocwierz received a $1,300 bill in just one day due to unauthorized requests. AWS charges for these, potentially exposing you to DDOS attacks on your financial accounts. Make sure to review your S3 buckets using Maciej's tips to safeguard against unexpected charges.
5th of May, 2024
Laravel 11.5 arrives with a suite of upgrades and new features. Notable features include anonymous event broadcasting and a significant ~20% speed boost in blade component rendering. The make:trait and make:interface commands will create the files in the proper namespaces when they exist.
28th of April, 2024
The latest update brings a suite of enhancements. Key features include introducing a `throttle` method for `LazyCollection` and adding enum support in the `mapInto` collection method. Additionally, a new `required_if_declined` validation rule is added. The update also introduces an `afterQuery` hook to run post-query operations and a comprehensive `Exceptions` facade to streamline exception testing.
21st of April, 2024
The Laravel update introduces several significant enhancements. The `session()->hasAny()` method makes it easier to check for the presence of any session keys. The Context class now includes `pull` methods, akin to those in Session and Collections. Additionally, the HTTP Factory is equipped with `Http::createPendingRequest()`, enabling the creation of PendingRequest instances for customized API interactions. Another improvement includes the ability to sort the route:list by multiple columns/factors.
14th of April, 2024