How to Build Command Line Apps in PHP Course – In this series, we’ll learn how how to build command-line apps from scratch, using Symfony’s excellent console component. In no time, you’ll be whipping up executables to perform all sorts of tasks.
Ever used Laravel’s installer utility? What about Homestead, or Behat, or PHPSpec? If so, then you’ve indirectly benefited from the Symfony Console component.
Also Read: Be Awesome in PHPStorm Complete Course
Let’s start with the obligatory “hello world” of command line apps.Now that you’ve learned about the basic process of registering a command, let’s now translate that code to a dedicated class. To continue our learning, let’s review the makeup of Laravel’s command-line installer tool. In fact, we’ll reproduce it from scratch!
- Introduction Build Command Line Apps
- Hello World Build Command Line Apps
- Use Classes for Console Commands
- Case Study: The Laravel Installer
- Rendering Tabular Data
- Exercise: A Command-Line Task App
Content Retrieved From: https://laracasts.com/series/how-to-build-command-line-apps-in-php
Please Note that we do not supply any course, please consult directly with course authors for any problem or where courses or links are stored.