Download the PHP package advancelearn/search-elequent without Composer
On this page you can find all versions of the php package advancelearn/search-elequent. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download advancelearn/search-elequent
More information about advancelearn/search-elequent
Files in advancelearn/search-elequent
Package search-elequent
Short Description By installing this package, you can easily search in ElQuent Laravel, even between nested relations
License MIT
Informations about the package search-elequent
Advancelearn Searchable package
- English documents
- داکیومنت فارسی
Introduction
By installing this package, you can easily search the values and columns of each model You can use this package in your Laravel projects
Installation
You can install the package with this command
Now you can add the desired trait in any of the models that you want to be searchable
And for example, you can call this scope in your controller and pass the searched value to it:
Conclusion
The package you created to add search functionality to Eloquent models is a powerful tool in software development. Using this package, you will be able to perform complex searches in models as well as in tabular and relational relationships of models.
Among the main features of this package, the following can be mentioned:
Ease of use: By defining a simple scope in Eloquent models, this package provides the possibility of performing complex searches easily.
Support for relationships: You can also access tabular and relational relationships of models in your searches, which makes it possible to search for data related to a model.
Extensibility: This package allows you to add search features to all your Eloquent models, so you can create different searches based on your needs and match the unique features of your system.
Improved efficiency: With the ability to search the database based on specific conditions, you can quickly retrieve the data you need and improve the efficiency of your system.
By using this package, improve the ability to search and filter your data and make Laravel software development more simple and efficient.