PHP code example of gallib / laravel-short-url

1. Go to this page and download the library: Download gallib/laravel-short-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/ */

    

gallib / laravel-short-url example snippets


php artisan vendor:publish --provider="Gallib\ShortUrl\ShortUrlServiceProvider"
php artisan migrate
 routes/web.php 
 config/shorturl.php 

php artisan vendor:publish --tag=shorturl-migrations