2017 © Pedro Peláez
 

library phptok

Tool for quickly dumping the tokens of a PHP sourcecode file

image

sebastian/phptok

Tool for quickly dumping the tokens of a PHP sourcecode file

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

phptok

phptok is a tool for quickly dumping the tokens of a PHP sourcecode file., (*1)

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:, (*2)

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:, (*3)

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:, (*4)

{
    "require-dev": {
        "sebastian/phptok": "*"
    }
}

For a system-wide installation via Composer, you can run:, (*5)

composer global require 'sebastian/phptok=*'

Make sure you have ~/.composer/vendor/bin/ in your path., (*6)

The Versions

21/06 2015

dev-master

9999999-dev https://github.com/sebastianbergmann/phptok

Tool for quickly dumping the tokens of a PHP sourcecode file

  Sources   Download

BSD-3-Clause

The Requires

 

08/03 2015

1.0.0

1.0.0.0 https://github.com/sebastianbergmann/phptok

Tool for quickly dumping the tokens of a PHP sourcecode file

  Sources   Download

BSD-3-Clause

The Requires