PHP Classes
PHP Classes
elePHPant
Icontem

Notable PHP package: random_compat

Recommend this page to a friend!
  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog Notable PHP package: ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  

Author:

Posted on:

Categories: Notable Packages

PHP 7 introduced a new set of functions that can generate random data that is more suitable for security purposes.

This package provide replacement functions for random_bytes and random_int that also works under PHP 5 as well.

Read this article to learn more details about how this notable PHP package works.




The package random_compat is one of the few PHP packages that was considered notable recently because it does something that is worth paying attention.

The basic purpose is: Provide random_bytes and random_int functions

Here follows in more detail what it does:

This package can provide random_bytes and random_int functions that work in versions before PHP 7.

It can generate a string of random characters and random integers as an alternative that works as a polyfill that works well regardless if PHP is working before PHP 7 or not.

Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.

If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package.



You need to be a registered user or login to post a comment

1,507,076 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on:

FacebookGmail
HotmailStackOverflow
GitHubYahoo


Comments:

No comments were submitted yet.



  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog Notable PHP package: ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)