hidehalo/nanoid-php
A copy of nanoid in PHP
1.1.13
5.2M downloads/mo
#1471 most downloaded on Packagist
hidehalo/nanoid-php
What this package is like to depend on
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 2.3 years
Most releases are documented
notes for 12 of 16 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
20 releases · first in 2017
0 releases in the last 12 months
see the full history below
Release timeline
19 releases · Sep 2017 to Nov 2024Releases
latest 20-
1.1.1304 Aug 2022Release notes
Open source →Change Logs
Add
Non-issue, CODE FORMATTING: Make consistent & improve readability (#27)
Update
test: use github action replace to travis CI (#22)
-
1.1.1230 Dec 2021Release notes
Open source →fix: Normal mode now generate random id correctly (#25)
Co-authored-by: __hidehalo <[email protected]>
-
1.1.1129 Dec 2021Release notes
Open source →Revert "fix: Implicit numeric conversion when generating id in normal…
This reverts commit 1b67ae4.
-
1.1.1029 Dec 2021Release notes
Open source → -
1.1.922 Dec 2021Release notes
Open source →Fixed:
- fix typo of Client.php
- fix README.md
- fix deprecation notice re. implicit numeric conversion under PHP 8.1
-
1.1.9-rcno date pre-releaseRelease notes
Open source →-
testing: fix Travis CI failed on PHP 8.1
-
fix: access array out of boundary because of random bytes start index is unstable
-
-
1.1.811 Dec 2020Release notes
Open source →Merge pull request #12 from hidehalo/issue-10
update: exclude extra files when run composer with prefer-dist
-
1.1.714 Jul 2020Release notes
Open source →- fix
generateIdmethod missing alphbet parameter when $model=MODE_DYNAMIC - add default value for
formattedId&formatedId$size parameter
- fix
-
1.1.625 Sep 2019Nothing published for this version
-
1.1.6-rc21 Nov 2019 pre-release -
1.1.511 Sep 2019Nothing published for this version
-
1.1.403 Oct 2018Nothing published for this version
-
1.1.304 Sep 2018Nothing published for this version
-
1.1.214 Aug 2018Release notes
Open source →Changed
-
Resolved #1 via:
jenky (1): Update: fix version conflicts of random_compat2 in PHP5.6&PHP7
-
-
1.1.124 Nov 2017Release notes
Open source →Changed
- Sync with commits Calculate mask based on alphabet length
- Sync with commits Reverse loop, reuse var
- Sync with commits Reduce default ID length. Issue
- Sync with commits Clean up alphabet limit reason
-
1.1.016 Sep 2017Release notes
Open source →Changed
- Add example scripts
- Add benchmark scripts
- Rename
Client::generate(...)toClient::generateId(...) - Add
Client::formatedId(...)method - Improve code coverage to 100%
- Add DOCs in source codes
-
1.1.0-alpha14 Sep 2017 pre-releaseNothing published for this version
-
1.0.011 Sep 2017 -
1.0.0-alpha11 Sep 2017 pre-releaseNothing published for this version
-
2.004 Nov 2024Release notes
Open source →What's Changed
- test: add PHP 8.2 & 8.3 to CI by @jdecool in #29
- Fix deprecation warnings thrown when used with PHP 8.4, drop support for PHP older than 7.1 by @acelaya in #32
New Contributors
Full Changelog: 1.1.13...2.0
Notes
Branch 2.x no longer supports php versions prior to 7.1 (maybe we can upgrade to a higher version to use the new features in the future, e.g. named parameters, type systems).
For previously released php versions, we should maintain it on branch 1.x (if the community wants it xD)