PHP code example of toyi / force-https

1. Go to this page and download the library: Download toyi/force-https 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/ */

    

toyi / force-https example snippets


Toyi\ForceHttps\ServiceProvider::class,
bash
php artisan vendor:publish --provider="Toyi\ForceHttps\ServiceProvider" --tag="config"