robsd / php-json-url-shortener

Another URL shortener written in PHP which uses JSON as a URL storage method.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

php-json-url-shortener 🔗

Another URL shortener written in PHP which uses JSON as a URL storage method.

Getting setup

  1. Download and extract this repo.
  2. Edit the urls.json file in between the opening { and closing } curly braces with the URLs you wish to shorten in the format "example": "https://example.com" (one per line with every line having a comma , at the end except for the last) where example is the end part e g. yourdomain.com/example and https://example.com is the link you wish to shorten.
  3. Upload everything to your PHP-enabled web server.

Need a hint?

I have created 2 example shortened URLs in urls.json based on the above setup guide.

Support my work

If you like this repo or used any of the code, please star ⭐ it and consider supporting me below...

ko-fi

About

Another URL shortener written in PHP which uses JSON as a URL storage method.

License:MIT License


Languages

Language:PHP 100.0%