|
Server : Apache System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64 User : njnconst ( 1116) PHP Version : 8.4.18 Disable Function : NONE Directory : /opt/cloudlinux/alt-php53/root/usr/share/doc/pear/PHP_TokenStream/ |
Upload File : |
# PHP_TokenStream
## Installation
You can use [Composer](http://getcomposer.org/) or the [PEAR Installer](http://pear.php.net/manual/en/guide.users.commandline.cli.php) to download and install this package as well as its dependencies.
### Composer
To add this package as a local, per-project dependency to your project, simply add a dependency on `phpunit/php-token-stream` to your project's `composer.json` file. Here is a minimal example of a `composer.json` file that just defines a dependency on PHP_TokenStream:
{
"require": {
"phpunit/php-token-stream": "*"
}
}
### PEAR Installer
The following two commands (which you may have to run as `root`) are all that is required to install this package using the PEAR Installer:
pear config-set auto_discover 1
pear install pear.phpunit.de/PHP_TokenStream