php
// You can change Directories and Namespaces from config/repository-generator.php
use App\Repositories\Interfaces\UserRepositoryInterface;
$repository = resolve(UserRepositoryInterface::class);
$user = $repository->select('id', 'name')
->where('name', 'LIKE', '%Mohammad%')
->first(); // or ->get();
php
use App\Repositories\Interfaces\UserRepositoryInterface;
$repository = resolve(UserRepositoryInterface::class);
$users = $repository->active()
->get();
// You can change active column name from config/repository-generator.php
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.