Skip to content

simple PHP/Symfony API to store an URL hash with an opportunity to use it as a redirect alias

Notifications You must be signed in to change notification settings

bagardavidyanisntreal/shorty

Repository files navigation

shorty

simple PHP/Symfony API to store an URL hash with an opportunity to use it as a redirect alias

endpoints:

  • create: POST shorty.domain/api/short-url store an URL

    { "original": "http://your-url.org" }

  • list: GET shorty.domain/api/short-url get all the url (without offsets and filters)

  • statistics: GET shorty.domain/api/short-url/statistics aggregation stats page, by default returns users with created urls statistics

  • redirect by alias: GET shorty.domain/api/short-url/redirect/{hash} redirects if url exists

About

simple PHP/Symfony API to store an URL hash with an opportunity to use it as a redirect alias

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published