@@ -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.
@@ -138,7 +138,7 @@ success or will reject with an `Exception` on error. The SQLite extension
138
138
is inherently blocking, so this method will spawn an SQLite worker process
139
139
to run all SQLite commands and queries in a separate process without
140
140
blocking the main process. On Windows, it uses a temporary network socket
141
- for this communication, on all other platforms it communicates over
141
+ for this communication, on all other platforms, it communicates over
142
142
standard process I/O pipes.
143
143
144
144
``` php
@@ -221,7 +221,7 @@ will not have to wait for an actual underlying connection.
221
221
222
222
Depending on your particular use case, you may prefer this method or the
223
223
underlying ` open() ` method which resolves with a promise. For many
224
- simple use cases it may be easier to create a lazy connection.
224
+ simple use cases, it may be easier to create a lazy connection.
225
225
226
226
The ` $filename ` parameter is the path to the SQLite database file or
227
227
` :memory: ` to create a temporary in-memory database. As of PHP 7.0.10, an
@@ -257,7 +257,7 @@ $db = $factory->openLazy('users.db', null, ['idle' => 0.1]);
257
257
### DatabaseInterface
258
258
259
259
The ` DatabaseInterface ` represents a connection that is responsible for
260
- comunicating with your SQLite database wrapper, managing the connection state
260
+ communicating with your SQLite database wrapper, managing the connection state
261
261
and sending your database queries.
262
262
263
263
#### exec()
@@ -438,14 +438,14 @@ This project follows [SemVer](https://semver.org/).
438
438
This will install the latest supported version:
439
439
440
440
``` bash
441
- $ composer require clue/reactphp-sqlite:^1.1
441
+ $ composer require clue/reactphp-sqlite:^1.2
442
442
```
443
443
444
444
See also the [ CHANGELOG] ( CHANGELOG.md ) for details about version upgrades.
445
445
446
446
This project aims to run on any platform and thus only requires ` ext-sqlite3 ` and
447
447
supports running on legacy PHP 5.4 through current PHP 8+.
448
- It's * highly recommended to use PHP 7+ * for this project.
448
+ It's * highly recommended to use the latest supported PHP version * for this project.
449
449
450
450
This project is implemented as a lightweight process wrapper around the ` ext-sqlite3 `
451
451
PHP extension, so you'll have to make sure that you have a suitable version
0 commit comments