Skip to Content
Mastering PHP 7
book

Mastering PHP 7

by Branko Ajzele
June 2017
Intermediate to advanced
536 pages
9h 49m
English
Packt Publishing
Content preview from Mastering PHP 7

Using Console component helpers

Understanding arguments and options is a first step towards utilizing the Console component. Once we understand how to deal with inputs, we turn our attention to other, more advanced features. The helpers feature helps us ease the common tasks, such as format outputs, show running processes, show updatable progress information, provide interactive QA process, display tabular data, and so on.

The following are several Console component helpers available for us to use:

  • Formatter Helper
  • Process Helper
  • Progress Bar
  • Question Helper
  • Table
  • Debug Formatter Helper
You can see the full helper implementations within our project's vendor\symfony\console\Helper directory.

To showcase the ease of use of these helpers, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning PHP 7

Learning PHP 7

Antonio L Zapata (GBP)
Upgrading to PHP 5

Upgrading to PHP 5

Adam Trachtenberg

Publisher Resources

ISBN: 9781785882814Supplemental Content