Package Data | |
---|---|
Maintainer Username: | chriscubos |
Maintainer Contact: | chriscubos@outlook.com (Christopher John Cubos) |
Package Create Date: | 2016-09-02 |
Package Last Update: | 2016-09-04 |
Language: | JavaScript |
License: | MIT |
Last Refreshed: | 2024-11-19 03:13:51 |
Package Statistics | |
---|---|
Total Downloads: | 16 |
Monthly Downloads: | 2 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 3 |
Total Forks: | 1 |
Total Open Issues: | 0 |
A LaravelPHP package for your important jQuery libraries preloaded in your [/public/packages] folder. With easy to use blade directives and calls.
Via Composer
$ composer require chriscubos/jspack
// add this
'providers' => [
Chriscubos\JsPack\JsPackServiceProvider::class,
],
<?php echo JsPack::packages(['datatables', 'bootstrap-wysihtml5']);?>
<?=JsPack::packages(['datatables', 'bootstrap-wysihtml5']);?>
// blade must use {!! !!}
{!!JsPack::packages(['datatables', 'bootstrap-wysihtml5'])!!}
// Directive
@jspack(['datatables', 'bootstrap-wysihtml5'])
<script src='/packages/datatables/dataTables.bootstrap.min.js'></script>
<link href='/packages/datatables/dataTables.bootstrap.css' rel='stylesheet'/>
<link href='/packages/datatables/jquery.dataTables.min.css' rel='stylesheet'/>
<script src='/packages/datatables/jquery.dataTables.min.js'></script>
<script src='/packages/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js'></script>
<link href='/packages/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css' rel='stylesheet'/>
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING and CONDUCT for details.
If you discover any security related issues, please email chriscubos@outlook.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.