Download the PHP package stri8ed/laravel-config-js without Composer
On this page you can find all versions of the php package stri8ed/laravel-config-js. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download stri8ed/laravel-config-js
More information about stri8ed/laravel-config-js
Files in stri8ed/laravel-config-js
Download stri8ed/laravel-config-js
More information about stri8ed/laravel-config-js
Files in stri8ed/laravel-config-js
Vendor stri8ed
Package laravel-config-js
Short Description Laravel package for exposing configs in JS
License MIT
Package laravel-config-js
Short Description Laravel package for exposing configs in JS
License MIT
Please rate this library. Is it a good library?
Informations about the package laravel-config-js
Laravel Config JS
A Laravel package that exposes your Laravel configuration values to JavaScript.
Installation
Usage
In your Blade views, use the @configJs
directive to expose specific config values:
This creates a global laravelConfig()
function that you can use in JavaScript:
You can expose multiple config values:
Configuration
Optionally publish the config file to customize the JavaScript function name:
License
MIT
All versions of laravel-config-js with dependencies
PHP Build Version
Package Version
The package stri8ed/laravel-config-js contains the following files
Loading the files please wait ....