chriscubos / assets
Make Building a Laravel Package with Assets easy.
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 1
Open Issues: 0
Language:JavaScript
Requires
- php: ~5.4|~7.0
- chrirscubos/jspack: 1.0.0
- chrirscubos/packager: 1.0.0
Requires (Dev)
- phpunit/phpunit: ~4.0||~5.0
- scrutinizer/ocular: ~1.1
- squizlabs/php_codesniffer: ~2.3
This package is not auto-updated.
Last update: 2024-11-18 15:20:36 UTC
README
This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.
Install
Via Composer
$ composer require chriscubos/assets
config/app.php
<?php return [ 'providers' => [ Chriscubos\Assets\AssetsServiceProvider::class, ], ] ?>
install configuration
php artisan vendor:publish
Optional Tasks
$ composer dump-autoload
Usage
// organize collection sets <?=Assets::collection(['jquery', 'bootstrap', 'style.css']);?> // grouped packages for your fun <?=Assets::packages(['colorpicker', 'bootstrap-slider'])?> // takes assets from the theme folder auto switch with my theme package <?=Assets::theme(['style.css','_all-skins.min.css'])?>
Configuration
Change log
Please see CHANGELOG for more information what has changed recently.
Testing
$ composer test
Contributing
Please see CONTRIBUTING and CONDUCT for details.
Security
If you discover any security related issues, please email chriscubos@outlook.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.