app->singleton(HashidsInterface::class, function () { return new Hashids( config('hashids.salt', ''), config('hashids.length', 0), config('hashids.alphabet', 'abcdefghijkmlnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890') ); }); $this->app->alias(HashidsInterface::class, 'hashids'); } }