library shorter
Generator short URL links
acrossoffwest/shorter
Generator short URL links
- Sunday, August 27, 2017
- by acrossoffwest
- Repository
- 1 Watchers
- 0 Stars
- 3 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
Install by composer
composer require acrossoffwest/shorter:dev-master
Add line to config/app.php
, (*1)
'providers' => [
...
Acrossoffwest\Shorter\Providers\ShorterServiceProvider::class,
...
],
Publish Styles
php artisan vendor:publish --tag=public
Run migrations
php artisan migrate
Open Shorter:
http://yourproject.com/shorter/
API Method for generate short url
Request Method: Post
Request Url: http:://yourproject.com/api/shorter/generate
Request Data: url (Validate rules: (https|http|ftp)://*.*)
dev-master
9999999-dev
Generator short URL links
Sources
Download
by
Yurij Karpov