1. Go to this page and download the library: Download gsferro/filtereasy library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
gsferro / filtereasy example snippets
Use FilterEasy;
permission_id[]
/*
|---------------------------------------------------
| FilterEasy
|---------------------------------------------------
*/
private array $likeFilterFields = [
// coloque os campos para like
];
private array $boolFilterFields = [
// coloque os campos bool
];
posts:title
relationName = posts
relationField = title