efficiently / jquery-laravel
This package provides jQuery and the jQuery-ujs driver for your Laravel >= 6 application.
Installs: 10 362
Dependents: 1
Suggesters: 0
Security: 0
Stars: 13
Watchers: 2
Forks: 4
Open Issues: 1
Language:JavaScript
Requires
- php: ^7.2||^8.0
- illuminate/support: ~6.0||~7.0||~8.0
- laravel/helpers: ^1.4
- laravelcollective/html: ^6.2.0
Requires (Dev)
- anahkiasen/former: ~4.6.0
- mockery/mockery: ~1.3.3||^1.4.2
- orchestra/testbench: ~4.0||~5.0||~6.0
- phpunit/phpunit: ^8.2.3||~9.0
README
jQuery! For Laravel 6, 7 and 8! So great.
This package provides:
- jQuery 1, 2 and 3
- the jQuery UJS adapter
Versions
The jquery-laravel
package follows these version guidelines
to provide more control over your app's jQuery version from your composer.json
file:
patch version bump = updates to jquery-ujs, jquery-laravel, and patch-level updates to jQuery
minor version bump = minor-level updates to jQuery
major version bump = major-level updates to jQuery and updates to Laravel/Larasset which may be backwards-incompatible
For Laravel 5.5, 5.6 or 5.7 supports see jQuery-Laravel 2.4 branch
For Laravel 5.1, 5.2, 5.3 or 5.4 supports see jQuery-Laravel 2.3 branch
For Laravel 5.1 or 5.2 supports see jQuery-Laravel 2.1 branch
For Laravel 5.0 supports see jQuery-Laravel 2.0 branch
For Laravel 4.1 or 4.2 supports see jQuery-Laravel 1.0 branch
Prerequisites
You must install Node.js on your computer (development environment).
This package version is only compatible with PHP >= 7.2 and Laravel >= 6 framework.
Installation
Read the wiki Installation Instructions page.
Contributing
Feel free to open an issue ticket if you find something that could be improved. A couple notes:
-
If it's an issue pertaining to the
jquery-ujs
javascript, please report it to the jquery-ujs project. -
If the jQuery scripts are outdated (i.e. maybe a new version of jQuery was released yesterday), feel free to open an issue and prod us to get that thing updated. However, for security reasons, we won't be accepting pull requests with updated jQuery scripts.
Credits
This package is a port of the jquery-rails gem from the Ruby on Rails framework.
Acknowledgements
Released under the MIT License.