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 like WP-CLI, Artisan, and Drush make it easy to interface with our code without ever opening a browser.

Attendees will be introduced to popular PHP CLI tools and their default capabilities. We'll discuss characteristics of good CLI scripts, strong use-cases for writing custom commands, then write several CLI programs across different platforms.


Comments are closed.

Chuck Burgess at 12:59 on 31 May 2018

Nice coverage of the variation of CLI options available.

Tessa Kriesel at 23:05 on 31 May 2018

Awesome content, great code examples.

Ryan Howe at 09:58 on 6 Jun 2018

This was a great demonstration of different command line tools. Thought that the examples were very good and that this was a great way to get introduced to running code on the command line with interactions for the user