You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+8-8
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,10 @@
2
2
3
3
# Laravel Searchable 🔍
4
4
5
-
[](https://packagist.org/packages/h-farm/laravel-searchable)
[](https://packagist.org/packages/maize-tech/laravel-searchable)
To use the package, add the `HFarm\Searchable\HasSearch` trait to each model you want to make searchable.
48
+
To use the package, add the `Maize\Searchable\HasSearch` trait to each model you want to make searchable.
49
49
50
50
Once done, you can implement the `getSearchableAttributes` abstract method by returning the list of attributes (or relationships' attributes) you want to search for.
51
51
@@ -58,7 +58,7 @@ Here's an example model including the `HasSearch` trait:
58
58
59
59
namespace App\Models;
60
60
61
-
use HFarm\Searchable\HasSearch;
61
+
use Maize\Searchable\HasSearch;
62
62
use Illuminate\Database\Eloquent\Relations\BelongsToMany;
0 commit comments