PHP OpenSwoole HTTP Server - User Authorization - Part 1

2 years ago
19

9 minutes of PHP OpenSwoole

User Authorization - Part 1

Source: https://github.com/lotharthesavior/sample-swoole/tree/1db1e67a0d259cfa14535fb063e05c0a4c916beb

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

- add ps4 autoloading
- using controllers
- add environment variables to your code
- middlewares
- basic mysql connection using PDO

Odysee: https://odysee.com/@anduinscave:d/php-openswoole-user-auth-part-1:3

---------------------------------------
Extra Considerations:
---------------------------------------

1. At the version of this video the "composer.lock" is not in sync with the "composer.json" file, removing the "composer.lock" and running another "composer install" command on terminal will be necessary.
2. According to a command from justus Kamaliki, extra namespaces usage might be necessary at the "start_users_table.php" file. Consider that if you have problems.

Loading comments...