PHP code example of delboy1978uk / cdn

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

    

delboy1978uk / cdn example snippets


echo Del\Cdn::angularJavascript('1.5.6');
// output 
// <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.5.6/angular.min.js"></script>

echo Cdn::bootstrapJavascript(); // now gives v4.5.3
echo Cdn::bootstrapJavascript('3.3.2'); // you are now upgraded to Del\Cdn v2.x