PHP code example of bryanjhv / laravel-blade-cdn

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

    

bryanjhv / laravel-blade-cdn example snippets


Bryanjhv\BladeCdn\BladeCdnServiceProvider::class,

<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" />
<script src="//code.jquery.com/jquery-2.1.4.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<script src=" echo asset('js/main.js'); 

<link rel="stylesheet" href=" echo asset('css/bootstrap.min.css'); 
bash
php artisan vendor:publish --provider="Bryanjhv\BladeCdn\BladeCdnServiceProvider" --tag=config
bash
php artisan view:clear