2017 © Pedro Peláez
 

library random-token

A simple PHP lib to generate a random token.

image

kevinkaske/random-token

A simple PHP lib to generate a random token.

  • Friday, July 28, 2017
  • by kevinkaske
  • Repository
  • 1 Watchers
  • 0 Stars
  • 14 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 133 % Grown

The README.md

random-token

A simple function to generate a random token, (*1)

Install via composer

Installation of random token is through composer., (*2)

To get started quickly, run the following command, (*3)

composer require kevinkaske/random-token

Usage

Call the following function to get a random token string. The default length is 40 characters;, (*4)

getToken();

You can pass in another int for length if you need something longer or shorter than 40., (*5)

getToken(22);

The Versions

28/07 2017

dev-master

9999999-dev

A simple PHP lib to generate a random token.

  Sources   Download

MIT

by Kevin Kaske