1. Go to this page and download the library: Download andreabsferrazza/phoog 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/ */
andreabsferrazza / phoog example snippets
// Before autoload
define("PHOOG_ENABLE_HELPERS", true);
echo vip($var);
$x = 0;
$y = array( 0,1,2,3 );
evi($x);
evi($y);
foreach($array as $k=>$v){
...
if($condition) evid($v);
...
}
echo sip($var);
$query = "SELECT *
FROM whatever";
espd($query);
echo $smth;