spatie/laravel-blade-javascript
Adds a simple @javascript Blade directive to export PHP values to JavaScript by writing them to window in a script tag. Use @javascript('key','value') and access it in the browser as key/value for quick server-to-client data sharing.
Add Laravel 13 support
Full Changelog: https://github.com/spatie/laravel-blade-javascript/compare/2.8.0...2.8.1
Full Changelog: https://github.com/spatie/laravel-blade-javascript/compare/2.7.1...2.8.0
Full Changelog: https://github.com/spatie/laravel-blade-javascript/compare/2.7.0...2.7.1
Full Changelog: https://github.com/spatie/laravel-blade-javascript/compare/2.6.0...2.7.0
laravel-blade-javascript to blade-javascriptremoved type attribute on script tags
fixed a bug where functions passed to the directive would cause an error
Initial release
Experimental release
How can I help you explore Laravel packages today?