Using withoutWrapping to flatten API responses https://laravel-news.com/withoutwrapping
Laravel News
Using withoutWrapping to flatten API responses - Laravel News
Learn how to customize Laravel API response structure by disabling resource wrapping. Create cleaner, flatter JSON responses while maintaining control over your API's data presentation.
🔥1
Automated API documentation of Laravel API resources https://laravel-news.com/automated-api-documentation-of-laravel-api-resources
Laravel News
Automated API documentation of Laravel API resources - Laravel News
Scramble now supports all API resource’s payload-building methods, making automatically generated documentation even more accurate.
🔥8👎1
Customizing Data Transformations with Laravel Casts https://laravel-news.com/custom-casts
Laravel News
Customizing Data Transformations with Laravel Casts - Laravel News
Explore Laravel's custom casts for specialized data transformations. Learn to create reusable attribute transformations that handle complex data types while maintaining clean, maintainable code.
👍7
Set Data on a Fluent Instance in Laravel 11.36 https://laravel-news.com/laravel-11-36-0
Laravel News
Set Data on a Fluent Instance in Laravel 11.36 - Laravel News
This week, the Laravel team released v11.36, which includes a chainable Fluent::set() method, a default global alias for the new Uri class, and more.
👍3
Preserving Collection Keys in Laravel API Resources https://laravel-news.com/preserving-collection-keys-in-laravel-api-resources
Laravel News
Preserving Collection Keys in Laravel API Resources - Laravel News
Learn how to maintain original collection keys in Laravel API resources using preserveKeys. Create more meaningful API responses when working with key-value data structures.
Working With URIs in Laravel https://laravel-news.com/working-with-uris-in-laravel
Laravel News
Working With URIs in Laravel - Laravel News
Laravel 11.35 introduced the Uri class, which makes working with URIs in your Laravel application a breeze. Let's walk through using the Uri class and conveniently getting a Uri instance from Laravel requests and routes.
🔥6👍1
Discover File Downloads in Laravel with Storage::download https://laravel-news.com/storagedownload
Laravel News
Discover File Downloads in Laravel with Storage::download - Laravel News
Explore Laravel's Storage::download method for handling file downloads. Learn to implement secure file serving with custom headers and temporary URLs in your applications.
👍8
Aaron Francis: Laravel Solo, Courses, Screencasting, and more https://laravel-news.com/aaron-francis
Laravel News
Aaron Francis: Laravel Solo, Courses, Screencasting, and more - Laravel News
We chat with Aaron Francis about his journey in the tech community, focusing on his recent projects, including the Laravel package Solo, his experiences with screencasting, and his various courses.
❤6
Log Alarm Package for Laravel https://laravel-news.com/log-alarm-package-for-laravel
Laravel News
Log Alarm Package for Laravel - Laravel News
The Log Alarm package for Laravel gives you real-time monitoring and error detection for your applications. It helps you stay on top of your logs by providing monitoring, error detection, and notifications to Slack and email.
🔥1
Working with JSON Attributes Using Laravel's Array Casts https://laravel-news.com/json-attributes-array-casts
Laravel News
Working with JSON Attributes Using Laravel's Array Casts - Laravel News
Discover Laravel's AsArrayObject and AsCollection casts for improved JSON attribute handling. Learn to manipulate nested data structures efficiently while leveraging Laravel's powerful collection methods.
❤8
Get a Server's Public IP Address With PHP https://laravel-news.com/get-a-servers-public-ip-address-with-php
Laravel News
Get a Server's Public IP Address With PHP - Laravel News
PublicIP is a PHP library that gets a server's public IP address reliably and quickly. You can use this package programmatically as part of an application or from the command line with the provided bin.
👍4🔥2
Adding Request Context in Laravel Applications https://laravel-news.com/context-facade
Laravel News
Adding Request Context in Laravel Applications - Laravel News
Meet Laravel's Context facade for enhanced application debugging. Learn to add persistent metadata to your request lifecycle, creating more informative logs and easier-to-debug applications.
❤6
One-time Password Manager for Laravel https://laravel-news.com/one-time-password-manager-for-laravel
Laravel News
One-time Password Manager for Laravel - Laravel News
The One-time Password Manager (OTP) package for Laravel provides a comprehensive set of methods to generate, send, verify, and manage OTPs.
❤8👍3
Extracting Sequential Data with Laravel's takeWhile https://laravel-news.com/takewhile
Laravel News
Extracting Sequential Data with Laravel's takeWhile - Laravel News
Learn how Laravel's takeWhile method enables precise sequential data filtering. Perfect for processing status updates, validating sequences, and analyzing trends in your collection data.
❤6
A Laravel Package for the Quickpay API https://laravel-news.com/quickpay-laravel
Laravel News
A Laravel Package for the Quickpay API - Laravel News
The Quickpay package for Laravel helps you quickly utilize the Quickpay API client using a fluent object and service Facade. Quickpay allows you to accept payments securely and reliably.
❤2
Deep Array Manipulation with Laravel's replaceRecursive Method https://laravel-news.com/replacerecursive
Laravel News
Deep Array Manipulation with Laravel's replaceRecursive Method - Laravel News
Master Laravel's replaceRecursive method for elegant nested array updates. Learn to merge complex configurations and user preferences while preserving default values in your data structures.
❤6
Filtering Collection Objects by Type with whereInstanceOf https://laravel-news.com/whereinstanceof
Laravel News
Filtering Collection Objects by Type with whereInstanceOf - Laravel News
Master Laravel's whereInstanceOf method for efficient collection filtering by object type. Perfect for handling polymorphic relationships and processing mixed object collections in your applications.
👍6
Have five minutes to spare? Help shape the future of Laravel News! Take our quick community survey and tell us what matters most to you. Your input will directly influence our upcoming content and coverage. https://forms.gle/UpK9o2P1999QV6Wq8
Google Docs
Laravel News Audience Survey
Thank you for taking a few minutes to help us better understand our audience. Your input will help us improve Laravel News and attract advertisers who align with your interests. All responses are anonymous unless you choose to provide contact information.
👍7👌3💩1
Converting Laravel Models to JSON for API Responses https://laravel-news.com/toJson
Laravel News
Converting Laravel Models to JSON for API Responses - Laravel News
Discover how Laravel's toJson() method simplifies model-to-JSON conversion. Learn to customize your API responses while leveraging both explicit conversion and Laravel's automatic serialization features.
❤5💩3