src/Laralabs/ConnectionLoader/ConnectionLoader.php
public static function random_string($length) {
        $key = '';
        $keys = array_merge(range(0, 9), range('a', 'z'));

        for ($i = 0; $i < $length; $i++) {
            $key .= $keys[array_rand($keys)];
        }

        return $key;
    }
public static function random_string($length) {
        $key = '';
        $keys = array_merge(range(0, 9), range('a', 'z'));

        for ($i = 0; $i < $length; $i++) {
            $key .= $keys[array_rand($keys)];
        }

        return $key;
    }
public static function random_string ( $ length ) { $ key = '' ; $ keys = array_merge ( range ( 0 , 9 ) , range ( 'a' , 'z' ) ) ; for ( $ i = 0 ; $ i < $ length ; $ i ++ ) { $ key .= $ keys [ array_rand ( $ keys ) ] ; } return $ key ; }
random_string function
Does what it says on the tin.

@param $length
@return string
random_string function Does what it says on the tin .