sebastian/phptok
最新稳定版本:1.0.0
Composer 安装命令:
composer require sebastian/phptok
包简介
Tool for quickly dumping the tokens of a PHP sourcecode file
README 文档
README
phptok is a tool for quickly dumping the tokens of a PHP sourcecode file.
Installation
PHP Archive (PHAR)
The easiest way to obtain phptok is to download a PHP Archive (PHAR) that has all required dependencies of phptok bundled in a single file:
wget https://phar.phpunit.de/phptok.phar
chmod +x phptok.phar
mv phptok.phar /usr/local/bin/phptok
You can also immediately use the PHAR after you have downloaded it, of course:
wget https://phar.phpunit.de/phptok.phar
php phptok.phar
Composer
Simply add a dependency on sebastian/phptok to your project's composer.json file if you use Composer to manage the dependencies of your project. Here is a minimal example of a composer.json file that just defines a development-time dependency on phptok:
{
"require-dev": {
"sebastian/phptok": "*"
}
}
For a system-wide installation via Composer, you can run:
composer global require 'sebastian/phptok=*'
Make sure you have ~/.composer/vendor/bin/ in your path.
统计信息
- 总下载量: 21
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2015-03-07