PHP code example of ssmix / mix
1. Go to this page and download the library: Download ssmix/mix 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/ */
ssmix / mix example snippets
use function SSMix\mix;
class MyCustomController extends Controller
{
protected function init()
{
parent::init();
mix("/js/my-js-file.js");
mix("/css/my-css-file.css");
}
}