1. Go to this page and download the library: Download zofe/deficient 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/ */
zofe / deficient example snippets
#index.php
t\Deficient;
//booting from current directory (needed to find config and other folders)
Deficient::boot("./");
//db stuff
$results = select('select * from mytable');
//validation
$validator = validator(array('title'=>'abc','description'=>'description bla b...'),
array('title'=>'
use Zofe\Deficient\Deficient;
use Illuminate\Support\Facades\Validator;
use Illuminate\Support\Facades\DB;
...
$validator = Validator::make(....
$results = DB::select(....