amiriun/strang

Strang is the PHP package include string helpers

dev-master 2019-06-20 21:08 UTC

This package is auto-updated.

Last update: 2024-04-21 19:54:21 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