##micro assets manager for php
Manage your cascade style sheet and javascript files with php assets manager create new package (css/javascript) add some files into package and in html render your package with one line Code.
- You need only assetsManager folder.
- Require AssetsManager.php file:
require_once('assetsManager/AssetsManager.php');
To use assets manager just need to edit assetsManager.php to define your assets packages
BundleConfig::add(
(new BundleStyle("css/yourNameHere"))
->add('css/file1.css')
->add('css/file2.css')
->add('css/file3.css')
);
BundleConfig::add(
(new BundleScript("js/yourNameHere"))
->add('js/file1.js')
->add('js/file2.js')
->add('js/file3.js')
);
include_once 'AssetsManager.php';
echo BundleConfig::render("css/yourNameHere"); // Render your css package
echo BundleConfig::render("js/yourNameHere"); // Render your javascript package