Laravel's Str::is method now supports case-insensitive pattern matching through a third boolean parameter. This enhancement enables more flexible string comparisons with wildcard patterns, improving user experience in file validation, routing, and configuration management scenarios.
Laravel's whereDoesntHaveRelation methods simplify querying records that lack specific relationships. These utilities eliminate complex closure syntax for negative relation queries, making code more readable while supporting both standard and polymorphic relationships with clean, intuitive syntax.
Efficiently remove expired cache data with Laravel Cache Evict.
Laravel's assertFailedWith method enables precise testing of job failures by verifying specific exception types, messages, and error codes. This enhancement makes job testing more reliable by confirming exactly how jobs fail rather than just detecting failure occurrence.
Laravel's containsOneItem() method now supports closures for custom condition validation, enabling verification that exactly one collection item meets specific criteria. This enhancement improves business rule validation by providing precise control over collection constraints beyond simple size checking.
Laravel's relationLoaded() method now supports dot notation for nested relationships, matching the syntax used for eager loading. This enhancement eliminates inconsistency between loading and verifying relationships, enabling more efficient conditional loading patterns.
In any modern web project, it is important not only to store data, but also to provide quick and convenient access to it. Whether it's an online store with thousands of products or a CRM system with a large number of customers, search plays a key role in the user's interaction with data. When the data structure becomes more complex and the volume increases significantly, standard SQL queries are no longer enough for effective search. In such cases, Laravel offers a flexible way to integrate with external search engines through the Laravel Scout package....
The development of support via Telegram often ends with the fact that each manager corresponds with the client in a private message, and the history of communication is lost somewhere between GIFs and links. It doesn't scale and looks...
Laratext is a Laravel package that manages and auto-translates application text strings. It allows specifying both key and text for translations, making it useful and readable.
ElasticLens is a Laravel package that integrates Elasticsearch with Eloquent models. It provides advanced search capabilities while maintaining Laravel's familiar syntax.
Laravel's diffKeys method identifies collection differences based on keys rather than values, enabling precise structural comparisons. This utility excels in configuration management, permission auditing, and feature flag synchronization where key presence matters more than values.
Modern server administration is not only a command line and a terminal, but also a whole set of useful tools that help automate routine tasks, increase security, and ensure the stable operation of services. If you don't use them in your infrastructure yet, it's time to start!
Master Laravel exception handling with custom exception reporting, rendering, and logging techniques to enhance your app's debugging and reliability.
The article "Laravel Attributes Overview: What and How to Use" decried the possibility of simplifying dependency injection with attributes. However, it is not necessary to limit yourself to only standard Laravel attributes. You can create your own attribute that...
Discover how Laravel simplifies array validation. This guide covers basic to advanced techniques, including nested structures and custom rule creation.
Learn about the 23 powerful Laravel and Livewire attributes that can enhance your application's performance, flexibility, and functionality.
For even faster gains on high-traffic Laravel applications, you can cache authenticated users to avoid a trip to the database.
Laravel's Tinker package is a powerful REPL (Read-Eval-Print Loop) tool that allows you to interact with your Laravel application from the command line. It's a great tool to test your application's code without having to go through the hassle of creating a new controller or a route.
Discover Laravel best practices to write cleaner code, reduce technical debt, and align your projects with the "Laravel way" for better collaboration and maintainability.
Laravel Rewind is a powerful and efficient versioning package for your Eloquent models created by Jared Cannon. This package stores a combination of partial diffs and full snapshots of your model data.
We shoot down "Shahed" drones every day. Each one downed means lives saved. But we need mobility: a van or a trailer. Every donation = another night under protection.
๐ Van fundraiser for my unit, 1020 regiment
๐ฏ Goal: 500,000ย โด
๐ Donation link
๐ณ
4441 1111 2546 4663