Warning: UrlHub is still in development, constantly being optimized and isn't still stable enough to be used in production environments. We could change and / or remove functions in any moment.
Whatever your idea, feel free to send a pull request 😃
UrlHub was created, and is maintained by Budi Hermawan, and is an open-source, easy-to-use but powerful URL shortener. It allows you to host your own URL shortener, and gives you many useful features.
- URL Shortener.
- Customized short URL's(ex: example.com/laravel).
- QR code generator for each short link.
- Sortable list of shortened URLs.
- Written in PHP and Laravel 7.
- Datatables with server-side processing.
- Modern and simple interface.
- Made with ❤️ & ☕.
-
Run
composer install. -
Rename
.env.examplefile to.envor runcp .env.example .env.Update
.envto your specific needs. Don't forget to setDB_USERNAMEandDB_PASSWORDwith the settings used behind. -
Run
php artisan key:generate. -
Run
php artisan migrate --seed. -
Run
php artisan serve.After installed, you can access
http://localhost:8000in your browser. -
Login
Email Username Password Access [email protected] admin admin Admin Access [email protected] user user User Access
-
yarn -
yarn devoryarn prodYou can watch assets with
yarn watch
-
npm install -
npm run devornpm run prodYou can watch assets with
npm run watch
Thank you for considering contributing to UrlHub. Any useful suggestion and pull requests are welcomed.
Please do the following:
- Fork the repository.
- Hack on a separate topic branch created from the latest
master. - Commit and push the topic branch.
- Make a pull request.
- Welcome to the club 😎 and thank you for helping out!
From the projects root folder run ./vendor/bin/phpunit (VSCode Task Run test) or Artisan Test Runner php artisan test
UrlHub is an open-source software licensed under the MIT license.