PHP code example of jeffersonsimaogoncalves / cakephp-assets
1. Go to this page and download the library: Download jeffersonsimaogoncalves/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/ */
jeffersonsimaogoncalves / cakephp-assets example snippets
Plugin::load('JeffersonSimaoGoncalves/Assets', ['bootstrap' => true, 'routes' => true]);
Configure::write('Assets.force', false);
Configure::write('Assets.target', TMP . 'assets');
echo $this->Asset->css(['one.css', 'two.css']);