PHPackages                             magarrent/laravel-url-shortener - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. magarrent/laravel-url-shortener

ActivePackage[Utility &amp; Helpers](/categories/utility)

magarrent/laravel-url-shortener
===============================

Simpler Url Shortener for Laravel

1.0.5(4y ago)557.4k3[1 issues](https://github.com/magarrent/laravel-url-shortener/issues)MITPHP

Since Aug 4Pushed 4y ago3 watchersCompare

[ Source](https://github.com/magarrent/laravel-url-shortener)[ Packagist](https://packagist.org/packages/magarrent/laravel-url-shortener)[ GitHub Sponsors](https://github.com/magarrent)[ RSS](/packages/magarrent-laravel-url-shortener/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (3)Versions (8)Used By (0)

Laravel Url Shortener
=====================

[](#laravel-url-shortener)

[![Laravel Url Shortener](https://user-images.githubusercontent.com/6561770/128169387-4c192224-79e6-46fc-a75b-ed18981e74e3.png)](https://user-images.githubusercontent.com/6561770/128169387-4c192224-79e6-46fc-a75b-ed18981e74e3.png)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)[![Package Size](https://camo.githubusercontent.com/9c35ed443760afcf9b4e33022bb99c2bbec6a20eb72e9842be992e4646fb03c5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f64652d73697a652f6d6167617272656e742f6c61726176656c2d75726c2d73686f7274656e6572)](https://camo.githubusercontent.com/9c35ed443760afcf9b4e33022bb99c2bbec6a20eb72e9842be992e4646fb03c5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f64652d73697a652f6d6167617272656e742f6c61726176656c2d75726c2d73686f7274656e6572)

[!["Buy Me A Coffee"](https://camo.githubusercontent.com/9f44ce2dc3b3eecdd02598900866ffc518801df1932849703dae1e5ce5031070/68747470733a2f2f7777772e6275796d6561636f666665652e636f6d2f6173736574732f696d672f637573746f6d5f696d616765732f6f72616e67655f696d672e706e67)](https://www.buymeacoffee.com/magarrent)

Install
-------

[](#install)

`composer require magarrent/laravel-url-shortener`

Run migrations:

`php artisan migrate`

---

Configuration
-------------

[](#configuration)

If you want to configurate some package parameters, run vendor publish:

`php artisan vendor:publish --provider="Magarrent\LaravelUrlShortener\LaravelUrlShortenerServiceProvider"`

Change the Key Url length in the `url-shortener.php` config file:

```
