PHP code example of gumphp / webman-duckdb
1. Go to this page and download the library: Download gumphp/webman-duckdb 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/ */
gumphp / webman-duckdb example snippets
return [
// ...
GumPHP\WebmanDuckDB\DuckDB::class,
];
'duckdb' => [
'driver' => 'duckdb',
'database' => env('DUCKDB_DATABASE', ':memory:'),
'prefix' => '',
'config' => [
'threads' => env('DUCKDB_THREADS', 4),
],
],