This concise book shows you how to create PHP Command Line Interface (CLI) scripts, including user interaction and scripts to automate and assist your workflow. Learn to quickly create useful and effective Command Line software and scripts using the world's most popular 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 with a full-stack service.
With PHP CLI readers will:
- Learn about the PHP CLI SAPI
- Discover how to use it to run PHP scripts off-line
- Easily deal with user input and console output
- Work with helper libraries and software
- Find out the differences between programming for the web and for the CLI
Autorentext
Zusammenfassung
- Learn about the PHP CLI SAPI
- Find out how to use it to run PHP scripts off-line
- Easily deal with user input and console output
- Work with helper libraries and software
- Find out the differences between programming for the web and for the CLI
Inhalt
1. Introduction
2. An Overview of CLI Programming in PHP
3. Understanding and Using the CLI SAPI
4. User Facing Software
5. PHP CLI Scripts and Your System
6. Where to Now?
Appendix A. Compiling and Installing PHP, Extensions, and Libs
Appendix B. Sources for Help