PHP code example of tzsk / shorten-url
1. Go to this page and download the library: Download tzsk/shorten-url library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
tzsk / shorten-url example snippets
php
'providers' => [
...
Tzsk\ShortenUrl\Provider\ShortenUrlServiceProvider::class,
...
]
...
'aliases' => [
...
'GoogleUrl' => Tzsk\ShortenUrl\Facade\GoogleUrl::class,
...
]
bash
$ php artisan vendor:publish --tag=config