src/Libs/Api.php
public static function encodeHashId($id)
    {
        if (! config('odin.hashid.active')) {
            return $id;
        }
        
        $hashids = App::make('Hashids');
        return $hashids->encode($id, date('d'));
    }
public static function encodeHashId($id)
    {
        if (! config('odin.hashid.active')) {
            return $id;
        }
        
        $hashids = App::make('Hashids');
        return $hashids->encode($id, date('d'));
    }
public static function encodeHashId ( $ id ) { if ( ! config ( 'odin.hashid.active' ) ) { return $ id ; } $ hashids = App :: make ( 'Hashids' ) ; return $ hashids -> encode ( $ id , date ( 'd' ) ) ; }
Return Id Encoded

@return array
Return Id Encoded