PHP OpenSwoole HTTP Server - Eloquent and CLI

1 year ago
2

9 minutes of PHP OpenSwoole HTTP Server

Here we spent some extra time, and Symfony Console and Laravel Eloquent.

Source: https://github.com/lotharthesavior/sample-swoole/tree/93bff58f873ce39e5c17b4ad8435148ba6a49edc

Previous part: https://youtu.be/e1XfYTSD8q0

- Eloquent with migrations and seeds
- Command line interface

At this video we enhance the bootstrap of our application to add commands, such as migrate and seed, without affecting the existent application http server initialization. After having that prepared, we proceed and add Eloquent with mgiration and seeds while keeping our app working as before.

Packages added here:

- illuminate/database (https://github.com/illuminate/database)
- symfony/console (https://github.com/symfony/console)

Loading comments...