amiriun / strang
Strang is the PHP package include string helpers
dev-master
2019-06-20 21:08 UTC
Requires
- php: ^5.6 || ^7.0
Requires (Dev)
- phpunit/phpunit: ^4.8.35 || ^5.7
This package is auto-updated.
Last update: 2025-03-21 21:40:32 UTC
README
Strang is the PHP package include string helpers
Requirements:
- PHP >= 5.6
INSTALATION:
composer require amiriun/strang
HELPERS:
Create random string with specific length and characters:
use Amiriun\Strang; $myRandomString = Strang::make()->random(80,'abcdefg'); // return : HakzxvBsyBxyQkPmuvjtGxtHRTMDhOXPeR9CGPMnTtt3FDFiLXSE2PCsR78tl7hIwVD5HUdPgaIe03qB