Description
Purl (Petite URL) is an open source project with the goal of providing you with your own private URL shortener!
This project was my first symfony project, keep in mind that there are a lot of improvements that could be made. The point of this project was to learn symfony, and I happened to need a URL shortener.
You are welcome to send pull requests if you like!
Purl alternatives and similar software solutions
Based on the "URL Shorteners" category.
Alternatively, view Purl alternatives based on common mentions on social networks and blogs.
-
Reduced.to
Free Modern URL Reducer. Make sure to share love by giving it a star.๐ Have a great day! -
devShort
DISCONTINUED. A simple and privacy-friendly URL shortener for web developers, admins and all professionals. -
Lstu
Lightweight URL shortener. Read-only mirror of https://framagit.org/fiat-tux/hat-softwares/lstu -
Link-shortener-bot
Host your own link shortener that works with a bot. Just send the link to a bot and it'll take care of the rest for you.
CodeRabbit: AI Code Reviews for Developers

* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Purl or a related project?
Popular Comparisons
README
Purl
Purl (Petite URL) is an open source project with the goal of providing you with your own private URL shortener!
This project was my first symfony project, keep in mind that there are a lot of improvements that could be made. The point of this project was to learn symfony, and I happened to need a URL shortener.
You are welcome to send pull requests if you like!
Development
Check the docker guide if you want to use the docker images, if you use your own workflow, continue reading!
Install
Install the required packages.
composer install
Create the database scheme, add an admin, install assets:
bin/console doctrine:schema:create
bin/console fos:user:create admin [email protected] admin
bin/console fos:user:promote admin ROLE_ADMIN
bin/console assets:install
You will be asked to enter some parameters, adjust them to your own needs.
Once done, you should be ready to go. You can access the admin on /admin and log in using your previously created admin user.
Testing
Create a database named test
and make sure the dev
mysql user has access to it. Then create the schema for the test environment:
bin/console doctrine:schema:create -e test
Once the database is set up, you simply run phpunit
:
vendor/bin/phpunit
REST API
REST API docs can be found here
Credits
- Background image by Roman Pohorecki (source)