PHP code example of camilo-manrique / laravel-filter
1. Go to this page and download the library: Download camilo-manrique/laravel-filter 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/ */
namespace App\Http\Controllers;
use App\Users;
class UsersController extends Controller
{
public function filter(Request $request)
{
return User::filterAndGet($request);
}
}