1. Go to this page and download the library: Download mnapoli/sqlite-s3 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/ */
mnapoli / sqlite-s3 example snippets
$db = new PDO('sqlite:test-db.sqlite');
$db->exec('SELECT * FROM my-table');
$db = new PDOSQLiteS3('the-s3-bucket-name', 'a-file-name.sqlite');
$db->exec('SELECT * FROM my-table');
$db = new PDOSQLiteS3('the-s3-bucket-name', 'a-file-name.sqlite', [
'region' => 'us-east-1',
]);
$db = new SQLiteS3('the-s3-bucket-name', 'a-file-name.sqlite');
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.