Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gladchinda/keygen-php
A fluent PHP random key generator.
https://github.com/gladchinda/keygen-php
composer generator key keygen packagist php pseudo-random random
Last synced: 11 days ago
JSON representation
A fluent PHP random key generator.
- Host: GitHub
- URL: https://github.com/gladchinda/keygen-php
- Owner: gladchinda
- License: mit
- Created: 2017-01-10T15:15:44.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-01-15T08:09:40.000Z (almost 6 years ago)
- Last Synced: 2024-09-26T09:22:40.781Z (about 1 month ago)
- Topics: composer, generator, key, keygen, packagist, php, pseudo-random, random
- Language: PHP
- Size: 69.3 KB
- Stars: 118
- Watchers: 3
- Forks: 19
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Keygen
> A fluent PHP random key generator.[![Packagist](https://img.shields.io/packagist/v/gladcodes/keygen.svg)](https://packagist.org/packages/gladcodes/keygen) [![Packagist](https://img.shields.io/packagist/dt/gladcodes/keygen.svg)](https://packagist.org/packages/gladcodes/keygen) [![Packagist](https://img.shields.io/packagist/l/gladcodes/keygen.svg)]()
Keygen is a PHP package that generates random character sequences known as *keys*. The package ships with built-in key generators for four key types namely: *numeric*, *alphanumeric*, *token* and *byte*. Its implementation effectively combines simplicity and expressiveness.
## Installation
### With Composer
The Keygen package can be installed easily with [Composer] - require the `gladcodes/keygen` package from the command line.```shell
$ composer require gladcodes/keygen
```Alternatively, you can manually add the Keygen package to the `composer.json` file of your project and then run `composer install` from the command line as follows:
```json
{
"require": {
"gladcodes/keygen": "~1.1"
}
}
``````shell
$ composer install
```You can use it in your PHP code like this:
```php
generate()); // Your appID is 878234290135
```## Usage and Documentation
- [Complete Usage Guide]
- [Keygen API Documentation]## Todos
- Write tests## License
The Keygen package is covered by the `MIT` License.[Complete Usage Guide]:
[Keygen API Documentation]: