PHP OpenSwoole HTTP Server - User Authorization - Part 2

2 years ago
11

9 minutes of PHP OpenSwoole

Errata: at the minute 10:29 ended up pointing to the wrong place when mentioning the default value of TTL on cache table. The 8 hours is specified some place else, on screen is shown only the size of the field on Swoole Table.

User Authorization - Part 2

Source: https://github.com/lotharthesavior/sample-swoole/tree/809d52b3c7de522bd5e23a60937eef4d0af4d3fd

Starting from route and templating video: https://www.youtube.com/watch?v=Xdz_-u6cGTU

- route groups
- adding logs
- DI Container
- Swoole Table and Psr6 (Cache)
- identifying user making the request with cookies

Reference to Psr6 : https://www.php-fig.org/psr/psr-6/

Added packages:

- ramsey/uuid
- psr/simple-cache
- nesbot/carbon
- lotharthesavior/chocookies
- monolog/monolog
- php-di/slim-bridge
- php-di/php-di

Loading comments...