PHP code example of nielspeen / rqlite-laravel-driver
1. Go to this page and download the library: Download nielspeen/rqlite-laravel-driver 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/ */
nielspeen / rqlite-laravel-driver example snippets
use Wanwire\RQLite\PDO\PDO;
use Wanwire\RQLite\WithRQLiteBuilder;
class MyModel extends Model
{
use WithRQLiteBuilder;
protected string $consistency = PDO::RQLITE_CONSISTENCY_STRONG; // or '_WEAK' or '_NONE'
use \Wanwire\RQLite\Models\WeakConsistencyModel;
class MyModel extends WeakConsistencyModel