Here’s a cool technique by Aaron Francis where he uses artisan commands to create daemons.
PHP
Stop Using Pseudo-Types
Pseudo-types like callable and iterable may seem convenient at first glance, but they introduce ambiguities and make code harder to analyze. Read more