PHPackages                             cageis/lexer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. cageis/lexer

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

cageis/lexer
============

Used to separate the characters of a string into tokens.

1.0.0(7y ago)741[1 issues](https://github.com/cageis/lexer/issues)MITPHPPHP ^7.3.0

Since Jun 20Pushed 7y ago1 watchersCompare

[ Source](https://github.com/cageis/lexer)[ Packagist](https://packagist.org/packages/cageis/lexer)[ RSS](/packages/cageis-lexer/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

*Lexer*
=======

[](#lexer)

[![Build Status](https://camo.githubusercontent.com/d34e5101a6bfc8fe3f21bf929e2be4f3f19678264875a1c5dc0f952a6cbc08f1/68747470733a2f2f7472617669732d63692e6f72672f6361676569732f6c657865722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/cageis/lexer)

Lexer is a minimal string parser that can be used to convert text into a list of tokens.

Example Usage
-------------

[](#example-usage)

```
