O'Reilly logo

PHP CLI: Create Command Line Interface Scripts with PHP by Rob Aley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© Robert Aley 2016

Rob Aley, PHP CLI, 10.1007/978-1-4842-2238-6_4

4. User-Facing Software

Rob Aley

(1)Oxford, UK

After slugging through the preliminary information necessary to understand developing PHP in a nonweb context, you’re now getting to the nitty-gritty of how to start communicating with your users without the rendering engine of a web browser.

Command-Line Interface Basics

Although graphical interfaces seem to garner the most attention these days, there are still plenty of uses for text-based interfaces, particularly in environments with technically adept users. When creating a text-based program to run on the command line, there are three primary considerations over and above the PHP you are already accustomed to.

  • Getting keyboard input ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required