How to Install php-token-stream in Ubuntu 18.04



Install php-token-stream by entering the following commands in the terminal:

sudo apt update
sudo apt install php-token-stream

Description:

Wrapper around PHP's tokenizer extension

PHP_TokenStream is a wrapper around PHP's tokenizer extension used by PHPUnit. PHPUnit is a unit testing suite for the PHP language, modelled on the xUnit testing framework, designed by Kent Beck and Erich Gamma.

Homepage: https://github.com/sebastianbergmann/php-token-stream

Version: 2.0.2-1ubuntu2

Section: universe/php