Skip to content

Commit 9139680

Browse files
committed
Update MySQL on SQLite documentation
Load Composer's autoloader in the usage example and remove PCRE from the extension list because PHP always enables it. https://www.php.net/manual/en/pcre.installation.php
1 parent 5c24c70 commit 9139680

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎packages/mysql-on-sqlite/README.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ At a glance:
2020
Load the package and create a connection using a `mysql-on-sqlite` DSN:
2121

2222
```php
23+
require_once __DIR__ . '/vendor/autoload.php';
24+
2325
// Use a PDO-like constructor.
2426
$pdo = new WP_MySQL_On_SQLite(
2527
'mysql-on-sqlite:path=/path/to/database.sqlite;dbname=app'
@@ -131,7 +133,7 @@ composer run test -- --filter testName
131133
## Requirements
132134

133135
- **PHP:** 7.2+
134-
- **PHP extensions:** `pdo`, `pdo_sqlite`, `pcre`
136+
- **PHP extensions:** `pdo`, `pdo_sqlite`
135137
- **SQLite:** 3.37.0+
136138

137139
## License

0 commit comments

Comments
 (0)