leuverink / bundle
Fund package maintenance!
gwleuverink
Requires
- php: ^8.1
- illuminate/contracts: ^10|^11
- illuminate/support: ^10|^11
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.60
- larastan/larastan: ^2.9
- laravel/pint: ^1.17
- livewire/livewire: ^3.5
- orchestra/testbench: ^9
- orchestra/testbench-dusk: ^9.8
- pestphp/pest: ^3.0
- spatie/laravel-ignition: ^2.8
- squizlabs/php_codesniffer: ^3.10
- symfony/thanks: ^1.3
- tightenco/duster: ^3.0
- tightenco/tlint: ^9.3
README
Effortless page specific JavaScript modules in Laravel/Livewire apps.
Explore the docs on GitHub Pages ยป
Note
Bundle is in open beta! ๐
We need your help get this package production ready ๐ Check out the discussion board or report a bug. We appreciate your feedback!
Installation
composer require leuverink/bundle
php artisan bundle:install
This is all you need to start using Bundle!
Basic usage
You may import any node_module
or local module from your resources/js
directory directly on the page.
<x-import module="apexcharts" as="ApexCharts" /> <script type="module"> const ApexCharts = await _import("ApexCharts"); // Create something amazing! </script>
Contributing
Clone this repo locally & run composer install
Run composer serve
to start a local environment to tinker in.
You can run the test suites with the following composer scripts:
composer test
to run all tests except browser testscomposer test-browser
to run all browser testscomposer test-all
to run all tests