PHP code example of smoya / asset-management-bundle

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

    

smoya / asset-management-bundle example snippets

 jinja
{{ assets_render('js') }}
 php

// app/autoload.php

$loader->registerNamespaces(array(
    // ...
    'Smoya'        => __DIR__.'/../vendor/bundles',
));