O'Reilly logo

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

PHP CLI: Create Command Line Interface Scripts with PHP

Book Description

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.

What You'll Learn

  • 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

Who This Book Is For

Experienced PHP programmers and web developers.