A TinyID bridge for Laravel
Require this package, with Composer, in the root directory of your project.
$ composer require krowinski/laravel-tinyidIf you want you can use the facade. Add the reference in config/app.php to your aliases array.
'TinyID' => LaravelTinyID\Facades\TinyID::classLaravel TinyID requires connection configuration. To get started, you'll need to publish all vendor assets:
$ php artisan vendor:publishThis will create a config/tinyID.php
var_dump(TinyId::encode('48888851145')); // will print 1FN7Ab
var_dump(TinyId::decode('1FN7Ab')); // will print 48888851145