PackageTrack
Sign in Get early access

gladcodes/keygen

A fluent PHP random key generator.

1.1.2 879K downloads/mo #3998 most downloaded on Packagist gladchinda/keygen-php

What this package is like to depend on

Last release 8 years ago

no release in 18 months

Release timing varies

gaps range from 6 weeks to 1.4 years

Some releases are documented

notes for 1 of 4 stable releases

Nothing withdrawn

no release was ever pulled

10 years old

5 releases · first in 2017

0 releases in the last 12 months

see the full history below

Release timeline

5 releases · Jan 2017 to Jul 2018
2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 5
  1. 2.0.0-alpha 16 Jul 2018 pre-release

    Nothing published for this version

  2. 1.1.2 15 Jul 2018
    Release notes

    Keygen PHP - Version 1.1.2

    This version contains a couple of known bug fixes to the previous version of the Keygen PHP package. In addition to the bug fixes, unit tests have been added to ensure that the package works as expected.

    This version is fully compatible with the previous version of the package and can be used interchangeably without resulting in any form of broken code.

    Bug Fixes and Changes

    Here are the bug fixes and changes in this version:

    Fixed #6: alphanum error when length is 5 or less

    This bug caused an error to be thrown when attempting to create alphanumeric keys with length of 5 characters or less. The error is due to negative integer ranges passed to the mt_rand() function. This bug has been fixed and will no longer throw the stated error.

    Fixed #7: Function mcrypt_create_iv() is deprecated

    The mcrypt_create_iv() function is being used by the RandomByteGenerator to create random bytes. However, this function has been deprecated and is no longer supported in PHP versions >=7.2. Hence, the function has been replaced with the random_bytes() function.

    Stripped trailing "=" from generated tokens

    Random base64-encoded tokens generated by the TokenGenerator will no longer contain trailing = character at any point. A slight modification has been made to the TokenGenerator class to ensure that this padding character is stripped-off from generated tokens.

    Unit Testing

    Proper and extensive unit testing has been setup to ensure adequate functioning of the package. PHPUnit is used as a development dependency to properly test the package and all its features to ensure that it works as expected. The tests also have a very wide coverage over the source code of the package.

    Open source →
  3. 1.1.1 24 Feb 2017

    Nothing published for this version

  4. 1.1.0 24 Feb 2017

    Nothing published for this version

  5. 1.0.0 10 Jan 2017

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive