1. Go to this page and download the library: Download shish/ffsphp 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/ */
shish / ffsphp example snippets
use \FFSPHP\PDO;
$db = new PDO($dsn, $driver_options);
var_dump($db->execute("SELECT * FROM mytable LIMIT :limit", ["limit"=>3])->fetchAll());
use \FFSPHP\Paths;
Paths::abspath("./foo"); # /my/dir/foo
Paths::relative_path("out/output.txt", "my/dir/input.txt"); # ../../out/output.txt
use \FFSPHP\VLQ;
VLQ::decode_vlq_array("IAAM"); # [4,0,0,6]
VLQ::encode_vlq_array([4,0,0,6]); # "IAAM"
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.