Channel: Laravel News
Dependency Injection in Laravel Closure Commands https://laravel-news.com/dependency-injection-closure-commands
Laravel News
Dependency Injection in Laravel Closure Commands - Laravel News
Laravel closure commands support dependency injection by type-hinting services in command parameters. Combine the simplicity of inline commands with powerful service resolution for maintainable command-line tools.
Native arrayfirst() and arraylast() Functions in PHP 8.5 https://laravel-news.com/native-array-first-and-array-last-functions-in-php-85
Laravel News
Native array_first() and array_last() Functions in PHP 8.5 - Laravel News
PHP 8.5 will include array_first() and array_last() functions. Learn more about these native PHP functions developers can use to retrieve the first and last elements in an array.
Simplifying Stream Handling with Laravel's resource Method https://laravel-news.com/stream-handling-resource
Laravel News
Simplifying Stream Handling with Laravel's resource Method - Laravel News
Laravel's new resource method streamlines HTTP response stream handling, replacing verbose stream wrapper operations with a simple method call for cleaner file processing workflows.
Intelligent Parsing and Formatting of Names in PHP Applications https://laravel-news.com/name-of-person-php-package
Laravel News
Intelligent Parsing and Formatting of Names in PHP Applications - Laravel News
Name of Person is a PHP package inspired by Basecamp's name_of_person Ruby gem, which gives you intelligent parsing and multiple formatting options.
JetBrains PHPverse 2025: Videos are now live! https://laravel-news.com/phpverse-2025
Laravel News
JetBrains PHPverse 2025: Videos are now live! - Laravel News
PHPverse 2025 Videos are now live
Content Negotiation with Laravel's prefers Method https://laravel-news.com/request-prefers
Laravel News
Content Negotiation with Laravel's prefers Method - Laravel News
Laravel's prefers method streamlines content type negotiation by evaluating client Accept headers against supported formats. Build flexible endpoints that serve JSON, HTML, XML, or custom formats based on client preferences.
HTML Embed Code: