2017 © Pedro Peláez
 

library tokenizer

Wrapper around token_get_all

image

hippophp/tokenizer

Wrapper around token_get_all

  • Saturday, August 12, 2017
  • by jbrooksuk
  • Repository
  • 2 Watchers
  • 8 Stars
  • 1,040 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 2 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Tokenizer

Build Status Code Climate Test Coverage Dependencies, (*1)

What is Tokenizer?

Tokenizer is a wrapper around the token_get_all function. It's built up of three classes:, (*2)

  1. Token - Each token returned from token_get_all is wrapped in this.
  2. TokenListIterator - Implements SeekableIterator and Countable with extra methods to allow easy moving through tokens.
  3. Tokenizer - Calls token_get_all on the source, turns each result into a Token representation and returns a TokenListIterator object.

Installation

You can install Tokenizer by adding hippophp/tokenizer to your composer.json file., (*3)

License

HippoPHP Tokenizer is licensed under The MIT License (MIT), (*4)

The Versions

12/08 2017

dev-master

9999999-dev https://github.com/HippoPHP/Tokenizer

Wrapper around token_get_all

  Sources   Download

MIT

The Requires

  • ext-tokenizer *
  • php >=5.5.9

 

The Development Requires

token tokenizer hippophp

10/11 2014

dev-regex-string-matcher

dev-regex-string-matcher https://github.com/hippophp/tokenizer

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

token tokenizer hippophp

08/11 2014

dev-token-iterator

dev-token-iterator https://github.com/hippophp/tokenizer

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

The Development Requires

token tokenizer hippophp