PHP code example of wrcx / losquery
1. Go to this page and download the library: Download wrcx/losquery 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/ */
wrcx / losquery example snippets
$query = new \Wrcx\Losquery\Losquery();
$query = $query->select('*')
->from("users")
->get();
$runner = new \Wrcx\Losquery\Losrunner();
// json or csv
echo $runner->run($query, 'json');