PHP code example of jkniest / force-https

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

    

jkniest / force-https example snippets


jkniest\ForceHttps\ForceHttpsServiceProvider::class,

\jkniest\ForceHttps\ForceHttps::class,
shell
php artisan vendor:publish --tag="force-https"