You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-7Lines changed: 2 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ As it is standardized, you don't have to worry about what server type it relies
10
10
11
11
## Requirements
12
12
13
-
PHP 7.2+ and the following extensions:
13
+
PHP 7.3+ and the following extensions:
14
14
* gmp (optional but better for performance)
15
15
* mbstring
16
16
* curl
@@ -322,7 +322,7 @@ Internally, WebPush uses the [WebToken](https://github.com/web-token) framework
322
322
### How do I scale?
323
323
Here are some ideas:
324
324
325
-
1. Upgrade to PHP 7.2
325
+
1. Upgrade to PHP 7.3
326
326
2. Make sure MultiCurl is available on your server
327
327
3. Find the right balance for your needs between security and performance (see above)
328
328
4. Find the right batch size (set it in `defaultOptions` or as parameter to `flush()`)
@@ -345,11 +345,6 @@ Make sure to require Composer's [autoloader](https://getcomposer.org/doc/01-basi
345
345
require __DIR__ . '/path/to/vendor/autoload.php';
346
346
```
347
347
348
-
### I must use PHP 5.4 or 5.5. What can I do?
349
-
You won't be able to send any payload, so you'll only be able to use `sendOneNotification($subscription)` or `queueNotification($subscription)`.
350
-
Install the library with `composer` using `--ignore-platform-reqs`.
351
-
The workaround for getting the payload is to fetch it in the service worker ([example](https://github.com/Minishlink/physbook/blob/2ed8b9a8a217446c9747e9191a50d6312651125d/web/service-worker.js#L75)).
352
-
353
348
### I lost my VAPID keys!
354
349
See [issue #58](https://github.com/web-push-libs/web-push-php/issues/58).
0 commit comments