public static function slug()
    {
        $timestamp = Cuid::timestamp(Cuid::SMALL_BLOCK);
        $count = Cuid::count(Cuid::SMALL_BLOCK);
        $fingerprint = Cuid::fingerprint(Cuid::SMALL_BLOCK);
        $random = Cuid::random(Cuid::SMALL_BLOCK);

        return $timestamp .
            $count .
            $fingerprint .
            $random;
    }
public static function slug()
    {
        $timestamp = Cuid::timestamp(Cuid::SMALL_BLOCK);
        $count = Cuid::count(Cuid::SMALL_BLOCK);
        $fingerprint = Cuid::fingerprint(Cuid::SMALL_BLOCK);
        $random = Cuid::random(Cuid::SMALL_BLOCK);

        return $timestamp .
            $count .
            $fingerprint .
            $random;
    }
public static function slug ( ) { $ timestamp = Cuid :: timestamp ( Cuid :: SMALL_BLOCK ) ; $ count = Cuid :: count ( Cuid :: SMALL_BLOCK ) ; $ fingerprint = Cuid :: fingerprint ( Cuid :: SMALL_BLOCK ) ; $ random = Cuid :: random ( Cuid :: SMALL_BLOCK ) ; return $ timestamp . $ count . $ fingerprint . $ random ; }
Generate short version cuid

It only have 8 characters and it is a great solution
for short urls.

Note: Less room for the data also means higher
chance of collision

@return string Return generated short cuid string
Generate short version cuid