Converting Array Values to Enum Instances with Laravel's mapInto Method https://laravel-news.com/enum-instances-mapinto
Laravel News
Converting Array Values to Enum Instances with Laravel's mapInto Method - Laravel News
Discover how Laravel's mapInto method simplifies converting array values into PHP enum instances, providing type-safe transformations that make handling user input more robust and maintainable.
❤8
Map Eloquent Attributes into an Object Using the Collection Cast in Laravel 12.10 https://laravel-news.com/laravel-12-10-0
Laravel News
Map Eloquent Attributes into an Object Using the Collection Cast in Laravel 12.10 - Laravel News
The Laravel team released v12.10.0, which includes mapping Eloquent attributes using the collection cast into a specific object, checking nested relationships with relationLoaded(), Arr::dot() performance improvements, and more
NativePHP for Mobile v1 — Launching May 2 https://laravel-news.com/nativephp-mobile-v1
Laravel News
NativePHP for Mobile v1 — Launching May 2 - Laravel News
Build native iOS & Android apps using just Laravel. NativePHP for Mobile v1 release announcement— the same Laravel you've always used, now supercharged!
🔥31🤮9👍5⚡3❤1🤔1👀1
Laravel's AsHtmlString Cast for Elegant HTML Attribute Management https://laravel-news.com/ashtmlstring-cast
Laravel News
Laravel's AsHtmlString Cast for Elegant HTML Attribute Management - Laravel News
Laravel's AsHtmlString cast provides automatic conversion of Eloquent attributes to HtmlString instances. This feature simplifies HTML content handling, reduces boilerplate code, and ensures proper rendering in Blade templates without manual escaping management.
👍6
Safely Retry API calls in Laravel https://laravel-news.com/idempotency-laravel-package
Laravel News
Safely Retry API calls in Laravel - Laravel News
Idempotency for Laravel is a production-ready package for implementing idempotency in API requests. Clients can safely retry API calls using this package without worrying about duplicate processing.
👍6❤🔥2👏1
Confidently Extract Single Array Items with Laravel's Arr::sole() Method https://laravel-news.com/arr-sole
Laravel News
Confidently Extract Single Array Items with Laravel's Arr::sole() Method - Laravel News
Laravel's Arr::sole() method retrieves a single matching item from arrays while validating uniqueness. This powerful utility throws exceptions for missing or multiple matches, ensuring data integrity and reducing manual validation code in array operations.
❤3🤷♂1
Generate HTTP Fixtures from Live API Calls in Laravel https://laravel-news.com/http-fixtures-laravel-package
Laravel News
Generate HTTP Fixtures from Live API Calls in Laravel - Laravel News
The HTTP Fixtures package for Laravel generates fake JSON responses for external API calls in tests. It simplifies creating mock responses by integrating with Faker to generate realistic test data.
🔥2👍1💩1
Enhance Validation Testing Precision with Laravel's assertOnlyJsonValidationErrors https://laravel-news.com/assertOnlyJsonValidationErrors
Laravel News
Enhance Validation Testing Precision with Laravel's assertOnlyJsonValidationErrors - Laravel News
Laravel's assertOnlyJsonValidationErrors method revolutionizes validation testing by verifying both the presence of expected errors and the absence of unexpected ones in a single assertion, helping developers catch subtle validation bugs and ensure complete…
❤1
Centralize HTTP Client Configuration with Laravel's globalOptions Method https://laravel-news.com/http-globaloptions
Laravel News
Centralize HTTP Client Configuration with Laravel's globalOptions Method - Laravel News
Laravel's globalOptions method centralizes HTTP client configuration, enabling consistent request behavior across your application. This feature reduces duplication by establishing global defaults for timeouts, headers, and retry logic while preserving flexibility…
❤4
Track Job Progress and Status in Laravel with the Laravel Job Status Package https://laravel-news.com/laravel-job-status-package
Laravel News
Track Job Progress and Status in Laravel with the Laravel Job Status Package - Laravel News
The laravel-job-status package provides a simple way to track the status and progress of your queued jobs. The package allows you to query and display the current progress, status, and results of any background job in your application.
🤔4💩4❤1🗿1
Precise Number Formatting with Laravel's Enhanced Number::spell Method https://laravel-news.com/numberspell
Laravel News
Precise Number Formatting with Laravel's Enhanced Number::spell Method - Laravel News
Laravel's Number::spell method now offers 'until' and 'after' threshold parameters, allowing precise control over when numbers appear as words versus digits. This enhancement helps developers implement typography best practices with minimal code for improved…
👍6❤2
All About the Filament v4 Beta Release https://laravel-news.com/all-about-the-filament-v4-beta-release
Laravel News
All About the Filament v4 Beta Release - Laravel News
We've had a lot of exciting news come from the Filament project over the past few years, but none has been more avidly requested than news on the v4 release. Well, today, in this post, we're going to drop some exciting details about the v4 Beta that will…
❤16
Typed Arr Getters Added in Laravel 12.11 https://laravel-news.com/laravel-12-11-0
Laravel News
Typed Arr Getters Added in Laravel 12.11 - Laravel News
The Laravel team released v12.11.0, which includes typed Arr getter methods, job payload additions, FakeJob now implements the Job contract, and more.
👍1
Implement Conditional Migrations in Laravel with the New shouldRun() Method https://laravel-news.com/migration-shouldrun
Laravel News
Implement Conditional Migrations in Laravel with the New shouldRun() Method - Laravel News
Laravel's shouldRun() method enables migrations to execute conditionally based on application state. This feature streamlines feature-flagged development by allowing database changes to activate only when needed, simplifying phased rollouts in multi-tenant…
❤9👍2🤔2🤯2🥴1
Streamline Mass Insertions with Laravel's fillAndInsert() Method https://laravel-news.com/fillandinsert
Laravel News
Streamline Mass Insertions with Laravel's fillAndInsert() Method - Laravel News
Laravel's fillAndInsert() method combines the performance of bulk insertions with Eloquent's model-level casting and attribute preparation. This feature eliminates the traditional speed-vs-functionality trade-off when working with mass data operations.
❤4🤔1
Argonaut DTO Package for Laravel https://laravel-news.com/argonaut-dto-package-for-laravel
Laravel News
Argonaut DTO Package for Laravel - Laravel News
The Argonaut DTO for Laravel is a lightweight Data Transfer Object (DTO) package that supports nested casting, recursive serialization, and validation out of the box.
👍1
A first look at Laravel Nightwatch https://laravel-news.com/a-first-look-at-laravel-nightwatch
Laravel News
A first look at Laravel Nightwatch - Laravel News
Laravel Nightwatch delivers unparalleled insights into your application's performance, with the intelligence only a system obsessively optimized for Laravel can deliver.
❤4