PHP code example of qubus / expressive

1. Go to this page and download the library: Download qubus/expressive 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/ */

    

qubus / expressive example snippets




use Qubus\Expressive\Connection\DriverConnection;

$connection = DriverConnection::make('sqlite:///:memory:');
$db = $connection->queryBuilder();

$users = $db->table('users')->where('active', true)->find();