Use Passkeys in Your Laravel App
Laravel Passkeys is a package by Spatie that makes it easy to set up passkey authentication in your Laravel application. The post Use Passkeys in Your Laravel App appeared first on Laravel News. Join...
View ArticleCustomize URL Handling with Laravel's Macroable URI Class
Laravel's URI class now supports custom macros, allowing developers to create application-specific URL manipulation methods. This feature enables cleaner code with domain-specific URL handling that...
View ArticleStreamline API Resources with Laravel's Fluent Methods
Laravel introduces fluent resource methods that attach transformation capabilities directly to Eloquent models. These methods create a more natural coding flow from data retrieval to API formatting,...
View ArticleArr::from() Method in Laravel 12.14
The Laravel team released v12.14.0, which includes a new Arr::from() method, a currentlyResolving() container method, new "except" Context methods, and more. The post Arr::from() Method in Laravel...
View ArticleFilter Model Attributes with Laravel's New except() Method
Laravel's except() method provides an intuitive way to exclude specific attributes from Eloquent models. This method complements the existing only() function, giving developers a complete solution for...
View ArticleImproved Installation and Frontend Hooks in Laravel Echo 2.1
The Laravel team has just shipped big improvements to Laravel Echo v2.1.0, including a new useEcho() hook for React and Vue, and an improved installation experience. The post Improved Installation and...
View ArticleSimplify Factory Associations with Laravel's UseFactory Attribute
Laravel's UseFactory attribute enables declarative factory associations directly on Eloquent models using PHP attributes. This approach clarifies model-factory relationships, simplifies testing setup,...
View ArticleAuto-translate Application Strings with Laratext
Laratext is a Laravel package that manages and auto-translates application text strings. It allows specifying both key and text for translations, making it useful and readable. The post Auto-translate...
View ArticleTransform JSON into Typed Collections with Laravel's AsCollection::of()
Laravel's AsCollection::of() method automatically transforms JSON columns into strongly-typed collections of value objects. This casting feature brings structure and type safety to complex data...
View ArticleDeployer
Deployer is a free and open source deployment tool written in PHP. The post Deployer appeared first on Laravel News. Join the Laravel Newsletter to get all the latest Laravel articles like this...
View ArticleValidate Controller Requests with the Laravel Data Package
The Laravel Data package has many incredible features for working with data objects in Laravel applications. Data objects are rich, typed, and highly configurable objects that can double as API...
View ArticleStreamline Pipeline Cleanup with Laravel's finally Method
Laravel's finally method enables elegant pipeline cleanup by integrating post-pipeline operations directly into the pipeline chain. This feature ensures cleanup code runs regardless of pipeline...
View ArticleChargebee Starter Kit for Billing in Laravel
The Chargebee Starter kit gives you a starting point for working with Chargebee's subscription billing services and Laravel's new Starter Kits. The post Chargebee Starter Kit for Billing in Laravel...
View ArticleHandle Fluent Values as Arrays with Laravel's array() Method
Laravel's Fluent array() method ensures consistent array output from Fluent objects, eliminating manual casting needs. This feature simplifies configuration handling and dynamic property management by...
View ArticleLocale-aware Number Parsing in Laravel 12.15
The Laravel team released v12.15.0, with Locale-aware number parsing, a string `hash()` helper method, inject contextual attribute values, and more. The post Locale-aware Number Parsing in Laravel...
View ArticleEnhance Email Validation with Laravel's Fluent Email Rule Object
Laravel's Email rule object transforms email validation with a fluent interface that combines format checking, DNS verification, and spoofing prevention. This enhancement creates more readable...
View ArticleSublime Text Releases Update With Support for Right Sidebar
Sublime Text released v4200 this week with support for a right sidebar, syntax highlighting improvements, rewritten syntax highlighting languages like SQL, Diff, and Bash, new syntax highlighting for...
View ArticleStreamline Conditional Logic with Laravel's Fluent Conditionable Trait
Laravel's Conditionable trait enables fluent conditional logic in Fluent objects through when() and unless() methods. This enhancement maintains method chaining flow while executing conditional...
View ArticleGenerate a Detailed Application Report with Laravel Decomposer
Laravel Decomposer is a development package that lists all of your Composer dependencies and helpful information like package versions, the PHP/Laravel version installed, installed PHP modules, and...
View ArticleHandle Missing Models Gracefully with Laravel's existsOr Method
Laravel's existsOr method enables elegant handling of non-existent model queries by executing closures when no results are found. This feature streamlines error handling and fallback logic,...
View Article