PHP CLI: Create Command Line Interface Scripts with PHP
This compact, concise book shows you how to create PHP Command Line Interface (CLI) scripts, including SAPI and more. Learn to quickly create useful and effective Command Line software and scripts using the world's most popular native web scripting language, PHP.
Enjoy the benefits of writing CLI scripts in PHP: Save money by redeploying existing skills, not learning new ones. Save time and increase productivity by using a high-level language. Make money by providing your clients a full-stack service.
What you'll learn
- What the PHP CLI SAPI is
- How to use it to run PHP scripts off-line
- How to deal with user input and console output
- How to work with helper libraries and software
- What the differences are between programming for the web and for the CLI
- and more
Who is this book for
This book is for experienced PHP programmers and web developers.