https://github.com/m-adamski/shortlink
A simple tool to generate short links and use them to redirect to a specific destination URL
https://github.com/m-adamski/shortlink
php shortlink symfony tool
Last synced: about 1 month ago
JSON representation
A simple tool to generate short links and use them to redirect to a specific destination URL
- Host: GitHub
- URL: https://github.com/m-adamski/shortlink
- Owner: m-adamski
- License: mit
- Created: 2020-01-31T13:07:05.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-06T07:54:38.000Z (over 6 years ago)
- Last Synced: 2025-03-06T00:01:44.673Z (over 1 year ago)
- Topics: php, shortlink, symfony, tool
- Language: PHP
- Homepage:
- Size: 42 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Shortlink
A simple tool to generate short links and use them to redirect to a specific destination URL.
## How to use it?
The tool uses a standard Symfony console to manage links. Enter the command in the main directory
``php bin/console short-url:``
```text
short-url
short-url:change-status Changes the status of the selected shortened link
short-url:delete Deletes the short link with provided ID
short-url:generate Generates a short URL for provided destination URL
short-url:list Displays a list of short links
```
## Redirecting
When an active link is found, a page with information about the ongoing redirection is displayed for 5 seconds.
You can edit it ``templates/redirect.html.twig`` and, for example, add a reference to the tracking script.
## License
MIT