Stars: 411
Forks: 103
Pull Requests: 858
Issues: 32
Watchers: 14
Last Updated: 2023-09-10 17:34:10
✂️ URL shortener web application based on the Laravel PHP Framework.
License: MIT License
Languages: PHP, Shell, Blade, CSS, JavaScript, SCSS
Warning: UrlHub is still in development, constantly being optimized and isn't still stable enough to be used in production environments.
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.
Run composer install
.
Rename .env.example
file to .env
or run cp .env.example .env
.
Update .env
to your specific needs. Don't forget to set DB_USERNAME
and DB_PASSWORD
with the settings used behind.
Run php artisan key:generate
.
Run php artisan migrate --seed
.
Run php artisan serve
.
Login
Username | Password | Access | |
---|---|---|---|
[email protected] | admin | admin | Admin Access |
[email protected] | user | user | User Access |
yarn
yarn dev
or yarn prod
You can watch assets with yarn watch
npm install
npm run dev
or npm run prod
You can watch assets with npm run watch
Please note that this project uses Yarn as the package manager, so you can't find the package-lock.json file that is needed by NPM.
The people who contribute to UrlHub do so for the love of open source, our users and ecosystem, and most importantly, pushing the web forward together. Developers like you can help by contributing to rich and vibrant documentation, issuing pull requests to help us cover niche use cases, and to help sustain what you love about UrlHub.
Anybody can help by doing any of the following:
From the projects root folder run
php artisan test
composer test
./vendor/bin/phpunit
If you've found a problem in UrlHub which is not a security risk, do a search on GitHub under Issues in case it has already been reported. If you are unable to find any open GitHub issues addressing the problem you found, your next step will be to open a new one.
Your issue should contain a title and a clear description of the issue. You should also include as much relevant information as possible and a code sample that demonstrates the issue.
The goal of a bug report is to make it easy for yourself - and others - to replicate the bug and develop a fix. Remember, bug reports are created in the hope that others with the same problem will be able to collaborate with you on solving it.
Do not expect that the bug report will automatically see any activity or that others will jump to fix it. Creating a bug report serves to help yourself and others start on the path of fixing the problem.
UrlHub is an open-source software licensed under the MIT license.