Shortler is a PHP project built on the Symfony framework that allows users to shorten long URLs into easy-to-share links. This project includes the ability to create short links, as well as to track clicks for each link. The interface is designed to be user-friendly and intuitive, with clear instructions and easy-to-use forms for creating and tracking links.
This project is ideal for anyone who needs to share long URLs on a regular basis, whether for personal or professional use. By using Shortler, users can save time and effort by creating short links that are easy to remember and share.
Link creation: Users can create short links by simply pasting in the long URL and choosing a custom alias, if desired. Click tracking: Shortler tracks clicks on each link, allowing users to see how many times the link has been clicked. Overall, Shortler is a powerful and easy-to-use tool for anyone who needs to share links on a regular basis. Whether you're a blogger, marketer, or just someone who wants to make their URLs, Shortler is the perfect solution.
- Symfony
- core-js
- Webpack
- TailwindCss
- PHP
- PHP 8.1.0>
- composer
- symfony-cli
- one of the db(mysql or mariadb or sqlite, postgresql, oracle)
-
Clone the GitHub repository of the project onto your computer. You can do this by typing
git clone <repository-address>
command in the terminal or Git console. -
Make sure that u have all requirements installed on your pc and run
symfony check:requirements
command. -
Navigate to the project directory and install all dependencies by typing
composer install
command in the terminal. -
Edit a .env file and set configuration parameters for your environment, such as database settings and website URL.
-
Create a database for the project and import the database migration files by typing
php bin/console doctrine:database:create
andphp bin/console doctrine:migrations:migrate
commands in the terminal. -
Start the Symfony development server by typing
symfony server:start
command in the terminal. -
Open a web browser and enter the URL generated by the Symfony server to display the website.
-
change the protocol for the generated link, e.g. https://127.0.0.1:8000/m63j to http://127.0.0.1:8000/m63j, otherwise an error will appear.
You can now work on the Symfony project on your computer with ease!