buonzz/laravel-jquery is a Laravel package for jquery assets and blade extensions for laravel.
It currently has 1 GitHub stars and 373 downloads on Packagist (latest version v1.0.0).
Install it with composer require buonzz/laravel-jquery.
Discover more Laravel packages by buonzz
or browse all Laravel packages to compare alternatives.
Last updated
This package makes the jQuery Assets and Blade Extensions available for use in your blade templates.
Edit your composer.json file, add this in the require property:
"buonzz/laravel-jquery": "1.*"
fetch the package by:
composer update
Add the service provider in your config/app.php file
'Buonzz\LaravelJquery\LaravelJqueryServiceProvider'
Publish the assets
php artisan asset:publish
Use this Blade template tag to insert the js tag inside the head/body tag
{{@jquery_js_tag}}
Your template should now have jQuery loaded