bradietilley / laravel-shortify
Shorten URLs from within Laravel
v0.3.0
2026-07-23 12:58 UTC
Requires
- php: ^8.3|^8.4|^8.5
- laravel/framework: ^13.0
- spatie/laravel-package-tools: ^1.16
Requires (Dev)
- laravel/pint: ^1.19
- orchestra/testbench: ^11.0
- pestphp/pest: ^4.0
- phpstan/phpstan: ^2.1
README
URL shortening with visit tracking for Laravel.
Documentation
Full documentation is available at bradietilley.dev/laravel-shortify.
Installation
composer require bradietilley/laravel-shortify
php artisan vendor:publish --tag="shortify-config" php artisan vendor:publish --tag="shortify-migrations" php artisan migrate
use BradieTilley\Shortify\Shortify; $short = Shortify::url('https://example.com/very/long/path'); echo $short->url; // https://your-app.test/s/Ws4BYCVLDDDh