PHPackages                             sincco/tokenizer - 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. sincco/tokenizer

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

sincco/tokenizer
================

Create and validate token for user data

1.1.2(3y ago)01801MITPHPPHP &gt;=7.0

Since May 17Pushed 3y ago1 watchersCompare

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

READMEChangelog (3)DependenciesVersions (5)Used By (1)

tokenizer
=========

[](#tokenizer)

Create and validate token for user data. This tool simplifies the creation and validation for token with user data, the resulting string can be used as a URL parameter.

\##Installation

To add this package as a local, per-project dependency to your project, simply add a dependency on phpunit/php-token-stream to your project's composer.json file. Here is a minimal example of a composer.json file that just defines a dependency on Tokenizer:

```
{
    "require": {
        "sincco/tokenizer": "~1.0"
    }
}
```

\##Use

\###Creation

```
