Download the PHP package futureplc/run-php without Composer
On this page you can find all versions of the php package futureplc/run-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download futureplc/run-php
More information about futureplc/run-php
Files in futureplc/run-php
Download futureplc/run-php
More information about futureplc/run-php
Files in futureplc/run-php
Vendor futureplc
Package run-php
Short Description A PHP command to run PHP.
License MIT
Homepage https://github.com/futureplc/run-php
Package run-php
Short Description A PHP command to run PHP.
License MIT
Homepage https://github.com/futureplc/run-php
Please rate this library. Is it a good library?
Informations about the package run-php
[!IMPORTANT] "Run PHP" is superceded by cpx exec
Run PHP
Run PHP is a single command to assist in executing PHP code in a file.
The intention is to make it easier to execute "scratch files" when writing quick-and-dirty code, simply to save a little bit of time. It has 2 primary features that make it more useful than running a plain PHP interpreter:
- Automatic Autoloaders - When running a PHP file, it will automatically detect and use Composer's autoloader if it exists in the current directory or a parent directory
- Class Aliasing - If a class is used in the file that doesn't exist, it will attempt to alias it to a class in the autoloader
Installation
You can install the package via Composer:
Usage
To run a PHP file with the script, just call the command and pass through a file path as a single argument:
License
The MIT License (MIT).
All versions of run-php with dependencies
PHP Build Version
Package Version
Requires
php Version
^8
The package futureplc/run-php contains the following files
Loading the files please wait ....