Executing PHP from the command line enables us to interact with our applications in new and interesting ways, from performing site maintenance to scaffolding new projects. CLI tools such as WP-CLI, Artisan, and Drush make it easy to interface with our code without ever opening a browser. We will discuss characteristics of good CLI scripts, strong use cases for writing custom commands, and write several CLI programs across different platforms.

Slides