step2.dev is a blog about Laravel that provides information, tips, tricks, and best practices for developing with this framework.
step2.dev provides readers with valuable content related to Laravel. The blog contains articles on best development practices, reviews of various tools and plugins that can be used with Laravel, instructions for deploying and configuring Laravel applications, tips for performing specific tasks, and news about updates and latest releases of Laravel. The step2.dev blog will help developers increase their knowledge and skills in Laravel development so they can create more complex and functional applications using this framework. I will be publishing articles on best development practices, reviews of various tools and plugins that can be used with Laravel, instructions for deploying and configuring Laravel applications, tips for performing specific tasks, and news about updates and latest releases of Laravel.
Ресурс для навчання
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!
Full stack
Back-end
JavaScript Developer
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