Download the PHP package diarsa/laravel-where-like without Composer
On this page you can find all versions of the php package diarsa/laravel-where-like. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download diarsa/laravel-where-like
More information about diarsa/laravel-where-like
Files in diarsa/laravel-where-like
Package laravel-where-like
Short Description A Laravel package that simplifies searching across multiple fields, including related models, using Laravel's query builder in an efficient way.
License MIT
Homepage https://github.com/diarsa/laravel-where-like
Informations about the package laravel-where-like
A Laravel package that provides an easy way to use query builder
Search using Laravel's query builder across multiple fields, including related models, in a simple and efficient way.
Installation
You can install the package via composer:
Usage
Without whereLike (Traditional Way)
Without this package, you would need to write complex queries with multiple orWhere and orWhereHas clauses:
With whereLike (Simplified Way)
With this package, you can perform searches across multiple fields, including related models, using this simple method:
More Examples
Searching in Multiple Fields
Searching in Related Models
Searching with Additional Conditions
Additional Features
Mask Sensitive Data
The package also provides a maskSensitiveData macro for Laravel Collections to help you mask sensitive information:
Requirements
- PHP 8.1, 8.2, 8.3, or 8.4
- Laravel 9.x, 10.x, 11.x, or 12.x
Another methods.
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Support us
You can support us by Buy me a coffee.
Credits
- Bayu Diarsa
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-where-like with dependencies
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^9.0||^10.0||^11.0||^12.0