@@ -11,7 +11,7 @@ It offers a common SQL interface to process queries to work with its relational
11
11
in memory or persist to a simple, portable database file.
12
12
Its lightweight design makes it an ideal candidate for an embedded database in
13
13
portable (CLI) applications, test environments and much more.
14
- This library provides you a simple API to work with your SQLite database from within PHP.
14
+ This library provides a simple API to work with your SQLite database from within PHP.
15
15
Because working with SQLite and the underlying filesystem is inherently blocking,
16
16
this project is built as a lightweight non-blocking process wrapper around it,
17
17
so you can query your data without blocking your main application.
@@ -135,7 +135,7 @@ success or will reject with an `Exception` on error. The SQLite extension
135
135
is inherently blocking, so this method will spawn an SQLite worker process
136
136
to run all SQLite commands and queries in a separate process without
137
137
blocking the main process. On Windows, it uses a temporary network socket
138
- for this communication, on all other platforms it communicates over
138
+ for this communication, on all other platforms, it communicates over
139
139
standard process I/O pipes.
140
140
141
141
``` php
@@ -218,7 +218,7 @@ will not have to wait for an actual underlying connection.
218
218
219
219
Depending on your particular use case, you may prefer this method or the
220
220
underlying ` open() ` method which resolves with a promise. For many
221
- simple use cases it may be easier to create a lazy connection.
221
+ simple use cases, it may be easier to create a lazy connection.
222
222
223
223
The ` $filename ` parameter is the path to the SQLite database file or
224
224
` :memory: ` to create a temporary in-memory database. As of PHP 7.0.10, an
@@ -254,7 +254,7 @@ $db = $factory->openLazy('users.db', null, ['idle' => 0.1]);
254
254
### DatabaseInterface
255
255
256
256
The ` DatabaseInterface ` represents a connection that is responsible for
257
- comunicating with your SQLite database wrapper, managing the connection state
257
+ communicating with your SQLite database wrapper, managing the connection state
258
258
and sending your database queries.
259
259
260
260
#### exec()
@@ -435,14 +435,14 @@ This project follows [SemVer](https://semver.org/).
435
435
This will install the latest supported version:
436
436
437
437
``` bash
438
- $ composer require clue/reactphp-sqlite:^1.1
438
+ $ composer require clue/reactphp-sqlite:^1.2
439
439
```
440
440
441
441
See also the [ CHANGELOG] ( CHANGELOG.md ) for details about version upgrades.
442
442
443
443
This project aims to run on any platform and thus only requires ` ext-sqlite3 ` and
444
444
supports running on legacy PHP 5.4 through current PHP 8+.
445
- It's * highly recommended to use PHP 7+ * for this project.
445
+ It's * highly recommended to use the latest supported PHP version * for this project.
446
446
447
447
This project is implemented as a lightweight process wrapper around the ` ext-sqlite3 `
448
448
PHP extension, so you'll have to make sure that you have a suitable version
0 commit comments