Skip to content

jjensen90/shortener

Repository files navigation

Shortener

Shortener is a small app written with Laravel which provides a URL shortening service (similar to bit.ly, etc).

Requirements

  • PHP >= 5.4
  • Mcrypt PHP Extension
  • OpenSSL PHP Extension
  • Mbstring PHP Extension
  • Tokenizer PHP Extension
  • ImageMagick lib / PHP Extension
  • Composer

Installation

  • Clone repository into web accessible directory, with public directory as document root
  • Run composer install in root app directory
  • Copy .env.example to .env, replace database credentials
  • Run php artisan migrate to set up database schema
  • Edit config/hashids.php with desired hashing settings
  • Optionally configure pretty URLs

Installation With Homestead

Optionally, you can run Laravel Homestead which provides all required dependencies, and clone Shortener as an app inside Homestead.

Contributing

Feel free to open any pull requests with any improvements.

All URL shortening code under the namespace Shortener and located in app/Shortener

License

Shortener is open-sourced software licensed under the MIT license

About

URL Shortening App Built with Laravel

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published