.

Tokens
[Models]

Create tokens with a length of 40 characters, that are not guessable and guaranteed to be unique for at least 10 days. More...

Create tokens with a length of 40 characters, that are not guessable and guaranteed to be unique for at least 10 days.

Usage is simple:

 Load::models('tokens');
 $token = Tokens::create_token();

You also can pass your own seed:

 Load::models('tokens');
 $token = Tokens::create_token('My Seed');