Latest and Oldest Relationship Methods in Laravel https://laravel-news.com/latest-and-oldest-relationship-methods-in-laravel
Laravel News
Latest and Oldest Relationship Methods in Laravel - Laravel News
Explore Laravel's latestOfMany and oldestOfMany methods for simplified relationship queries. Create expressive ways to access your models' first or most recent related records.
Getting to Know Laravel's New Starter Kits https://laravel-news.com/getting-to-know-laravel-12-starter-kits
Laravel News
Getting to Know Laravel's New Starter Kits - Laravel News
With the release of Laravel 12, we have three new starter kits for React, Vue, and Livewire. Each starter kit also has a WorkOS AuthKit variant. These kits are beautiful inside and out, from the code to the UI!
ImapEngine is a simple API for managing mailboxes without the PHP extension https://laravel-news.com/imapengine
Laravel News
ImapEngine is a simple API for managing mailboxes without the PHP extension - Laravel News
Steve Bauman talks with us about his newest package, ImapEngine, which provides a simple API for managing mailboxes -- without the PHP extension.
Dynamic Relationship Click Me Load More in Laravel https://laravel-news.com/loadMissing
Laravel News
Dynamic Relationship Click Me Load More in Laravel - Laravel News
Harness Laravel's loadMissing method for optimized relationship loading. Load related data conditionally and prevent N+1 query problems while keeping your code clean and efficient.
Integrate the Polar Billing Platform in Laravel https://laravel-news.com/laravel-polar
Laravel News
Integrate the Polar Billing Platform in Laravel - Laravel News
The Laravel Polar package seamlessly integrates your Laravel application with Polar.sh, a modern way to sell your SaaS and digital products. This package can handle subscriptions, recurring payments, and interact with Polar's API.
Type-Safe Shared Data and Page Props in Inertia.js https://laravel-news.com/type-safe-shared-data-and-page-props-in-inertiajs
Laravel News
Type-Safe Shared Data and Page Props in Inertia.js - Laravel News
Working with Inertia.js is amazing, but managing shared data types between your Laravel backend and JavaScript frontend can quickly become unwieldy. In this post, I'll show you how to leverage Laravel Data DTOs and TypeScript to create a type-safe, maintainable…
Performance and Value Objects in Laravel Accessors https://laravel-news.com/accessors-should-cache
Laravel News
Performance and Value Objects in Laravel Accessors - Laravel News
Enhance your Laravel models with accessor caching and value objects. Create efficient, object-oriented representations of your data while optimizing performance through intelligent caching mechanisms.
Dagger Components: A Powerful Alternative to Laravel Blade Components https://laravel-news.com/dagger
Laravel News
Dagger Components: A Powerful Alternative to Laravel Blade Components - Laravel News
Dagger is a component authoring library for Laravel's Blade templating engine.
Streamline Your Laravel Models with Stringable Attributes https://laravel-news.com/attributes-as-stringable
Laravel News
Streamline Your Laravel Models with Stringable Attributes - Laravel News
Master Laravel's AsStringable cast for enhanced string manipulation. Transform your model attributes into powerful Stringable objects for cleaner, more expressive code.
Get Free Access to all 70+ Vue School Courses - 1-2 March https://laravel-news.com/get-free-access-to-all-70-vue-school-courses-1-2-march
Laravel News
Get Free Access to all 70+ Vue School Courses - 1-2 March - Laravel News
Vue School Free Weekend is back March 1-2! Enjoy 48 hours of FREE access to all premium courses, including Vue.js Master Class 2024 Edition!
Resource Response Customization in Laravel APIs https://laravel-news.com/withresponse
Laravel News
Resource Response Customization in Laravel APIs - Laravel News
Elevate your Laravel API with the withResponse method. Create professional, metadata-rich responses by customizing headers, status codes, and other HTTP attributes before sending to clients.
Catch Unintended HTTP Requests in Laravel Tests https://laravel-news.com/prevent-stray-requests
Laravel News
Catch Unintended HTTP Requests in Laravel Tests - Laravel News
Safeguard your Laravel test suite with preventStrayRequests. Catch accidental external HTTP calls and ensure proper request faking for reliable, predictable tests.
In-depth guide on documenting API requests with Scramble https://laravel-news.com/in-depth-guide-on-documenting-api-requests-with-scramble
Laravel News
In-depth guide on documenting API requests with Scramble - Laravel News
When documenting the endpoints of your API, you can mentally split the task into documenting the request part (authentication, request body, request parameters) and documenting the response part. In this guide, we'll do a deep dive into request documentation.
Custom Key Sorting in Laravel Collections https://laravel-news.com/collections-sortkeysusing
Laravel News
Custom Key Sorting in Laravel Collections - Laravel News
Command the order of collection keys with Laravel's sortKeysUsing method. Implement custom sorting logic beyond alphabetical arrangements for more intuitive data organization.
Temporary Context Scope in Laravel 12.1 https://laravel-news.com/laravel-12-1-0
Laravel News
Temporary Context Scope in Laravel 12.1 - Laravel News
The Laravel team tagged Laravel v12.1.0, which includes a context scope method, an Arr::partition() method, a getRawSql() method on query exception instances, and more.