PHP code example of indgy / phluent
1. Go to this page and download the library: Download indgy/phluent 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/ */
indgy / phluent example snippets
$query->select('title, year')
->from('movies')
->where(function($query) {
$query->where('title', 'like' ,'A %');
$query->orWhere('title', 'like' ,'The %');
})
->orderBy('year');