PHP command-line interface

The most common usage of PHP is development of web applications. The PHP CLI SAPI - server application programming interface provides development of command line applications.

You can use PHP to write command-line applications as well.

See also

Some useful libraries:

Found a typo? Something wrong with this content?

Just fork and edit it.

Content of this work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license. Code snippets in examples are published under the CC0 1.0 Universal (CC0 1.0). Thanks to all contributors.