buonzz-systems / laravel-jquery by buonzz

jQuery Assets and Blade Extensions for Laravel
370
1
1
Package Data
Maintainer Username: buonzz
Maintainer Contact: buonzz@gmail.com (Darwin Biler)
Package Create Date: 2014-08-23
Package Last Update: 2014-08-24
Language: PHP
License: MIT
Last Refreshed: 2024-04-22 03:08:54
Package Statistics
Total Downloads: 370
Monthly Downloads: 5
Daily Downloads: 0
Total Stars: 1
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

Laravel jQuery

Build Status

This package makes the jQuery Assets and Blade Extensions available for use in your blade templates.

Installation

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

Usage

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