Building Artisan Commands
summary
Creates and runs concrete Artisan commands that actually parse arguments and options, show Tinker REPL use, and prompt for secret input; demonstrates using the IoC container to auto-resolve and inject domain classes so command logic is reusable; shows queue demos with Beanstalkd and PHP Artisan queue work/listen, queuing 15 jobs and processing them (sleep simulates email sending), closures and mail later work, and a live debug socket streaming queries — all demos execute and show results.
AI-written summary · about
chapters (6)
- 0:00Start
- 5:17list your arguments
- 8:29get arguments and options from the command line
- 15:27give a quick demo on the ioc container
- 28:06add a server
- 34:51configure different connections
related talks
35mInside Laravel: A Journey Through the Framework’s Sources
16mBuilding an interactive CLI app in Elixir
09m20 Tools and Techniques that Make You More Creative
30mCLI Tools for All the Things
44mNode & Express as Workflow Tools
25mCommandLine Tools for DevOps
42mSalt: The New Configuration Management System
04h 22mFull recording
