PHP code example of ricktap / qriteria

1. Go to this page and download the library: Download ricktap/qriteria 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/ */

    

ricktap / qriteria example snippets


RickTap\Qriteria\QriteriaServiceProvider::class,

$query->where("name","LIKE","John%")->where(function ($q) { 
  return $q->where("age",">",60)->orWhere("age","<",20);
})->where("status","=","occupied");
shell
php artisan vendor:publish