Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.
/ assets Public archive

Assets Component for managing assets in your application.

License

Notifications You must be signed in to change notification settings

flextype-components/assets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Assets Component

version MIT License

Assets Component for managing assets in your application.

Installation

composer require flextype-components/assets

Usage

use Flextype\Component\Assets\Assets;

Add new asset

Assets::add('js', 'jquery.js', 'site', 1);
Assets::add('js', 'site.js', 'site', 2);
Assets::add('css', 'site.css', 'site', 1);
Assets::add('css', 'theme.css', 'site', 2);

Get assets for current namespace and asset type

$css = Assets::get('css', 'site');
$js  = Assets::get('js', 'site');

License

See LICENSE

About

Assets Component for managing assets in your application.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages