PHP code example of poing / laravel-elb

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

    

poing / laravel-elb example snippets


Schema::defaultStringLength(191);

// https://domain.tld
url()->current(); // Returns: 'http://domain.tld'

// https://domain.tld
url()->current(); // Returns: 'https://domain.tld'

php artisan elb:publish