PHP code example of mirko-pagliai / cakephp-assets

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

    

mirko-pagliai / cakephp-assets example snippets


Configure::write('Assets.force', false);

Configure::write('Assets.target', TMP . 'assets');

echo $this->Asset->css(['one.css', 'two.css']);