Local Model Scopes in Laravel with the Scope Attribute https://laravel-news.com/local-model-scopes-in-laravel-with-the-scope-attribute
Laravel News
Local Model Scopes in Laravel with the Scope Attribute - Laravel News
Laravel released a new #[Scope] attribute you can use to define local scopes in Eloquent models. Using scopes is an excellent way to define query constraints that you can reuse in your application.
❤12👍1
Enhancing Numeric Validation with Laravel's Fluent Rule Interface https://laravel-news.com/numeric-validation-rule
Laravel News
Enhancing Numeric Validation with Laravel's Fluent Rule Interface - Laravel News
Transform your Laravel validation logic with the new fluent numeric rule interface. This chainable approach improves code readability while providing comprehensive control over numeric value validation.
❤7
Implementing Account Suspension in Laravel https://laravel-news.com/implementing-account-suspension-in-laravel
Laravel News
Implementing Account Suspension in Laravel - Laravel News
Learn how to implement permanent and temporary account suspensions in Laravel applications using database fields, middleware, and scheduled tasks. This guide provides step-by-step instructions for effectively managing user access.
👍9
Ensuring Attribute Consistency in Laravel Relationship Creations https://laravel-news.com/with-attributes
Laravel News
Ensuring Attribute Consistency in Laravel Relationship Creations - Laravel News
Maintain data consistency in your Laravel application with the withAttributes relationship method. This feature ensures newly created models automatically inherit the constraints that define their parent relationship.
❤5
Post-Process Query Results Elegantly with Laravel's afterQuery Method https://laravel-news.com/afterQuery
Laravel News
Post-Process Query Results Elegantly with Laravel's afterQuery Method - Laravel News
Simplify your Eloquent queries with Laravel's afterQuery() method, allowing you to define post-processing operations right alongside your query definitions for cleaner, more encapsulated code that reduces duplication and improves maintainability.
❤6👍1
Screen is a terminal renderer written in pure PHP https://laravel-news.com/solo-screen
Laravel News
Screen is a terminal renderer written in pure PHP - Laravel News
Screen is a terminal renderer written in pure PHP. It powers Solo for Laravel and can be used to build rich text-based user interfaces in any PHP application.
❤1
How to Get Hired and Hire Better with Dave Hicking https://laravel-news.com/how-to-get-hired-and-hire-better-with-dave-hicking
Laravel News
How to Get Hired and Hire Better with Dave Hicking - Laravel News
We sat down with Dave Hicking to talk about LaraJobs' new section of articles and videos to help you advance your career and improve your hiring processes.
❤2
Eloquent Fill and Insert Method in Laravel 12.6 https://laravel-news.com/laravel-12-6-0
Laravel News
Eloquent Fill and Insert Method in Laravel 12.6 - Laravel News
The Laravel team released v12.6.0, which includes an Eloquent fillAndInsert() method, a URI path segments helper, a Password appliedRules() method, and more.
👍6
Simplify URL Generation with Laravel's New query() Method https://laravel-news.com/url-query
Laravel News
Simplify URL Generation with Laravel's New query() Method - Laravel News
Enhance your Laravel application's URL handling with the new query() method, providing a dedicated API for generating URLs with complex query parameters while maintaining proper encoding and parameter structure.
❤6
Model Resource Helper Functions in Laravel 12.7 https://laravel-news.com/laravel-12-7-0
Laravel News
Model Resource Helper Functions in Laravel 12.7 - Laravel News
The Laravel team released v12.7.0 recently, which includes two excellent new features: resource helper functions for models and a whereAttachedTo() Eloqent method.
❤4
Simplify Real-Time Notifications with Laravel's Anonymous Broadcasts https://laravel-news.com/anonymous-broadcasts
Laravel News
Simplify Real-Time Notifications with Laravel's Anonymous Broadcasts - Laravel News
Accelerate real-time feature development in Laravel with anonymous broadcasts that eliminate the need for dedicated event classes, offering a fluent API for sending ad-hoc notifications directly to your frontend.
❤6
NativePHP v1 is finally here! https://laravel-news.com/nativephp-v1
Laravel News
NativePHP v1 is finally here! - Laravel News
We did it. We finally did it. NativePHP for desktop v1.0.0 is finally here!
🔥22👍4❤3🤮2💊2
Automatic Relation Loading in Laravel 12.8 https://laravel-news.com/laravel-12-8-0
Laravel News
Automatic Relation Loading in Laravel 12.8 - Laravel News
The Laravel team released v12.8.0, which includes automatic eager relation loading, creating a Collection instance from a JSON string, and more.
🔥13
Conditional Context Management Made Easy with Laravel's Context Facade https://laravel-news.com/conditional-context-management
Laravel News
Conditional Context Management Made Easy with Laravel's Context Facade - Laravel News
Enhance your Laravel application's data sharing with the Context Facade's Conditionable trait, enabling elegant conditional context management for role-based configurations and environment-specific settings with expressive, readable syntax.
👍4
Laravel Herd Raycast Extension https://laravel-news.com/laravel-herd-raycast-extension
Laravel News
Laravel Herd Raycast Extension - Laravel News
The BeyondCode team released a Laravel Herd extension for the popular Raycast productivity application. Quickly install new PHP versions, update your global PHP version, open your `php.ini` files in your editor, and much more.
❤6