socialknowledge / vue-env
Include ENV/Config variables
This package's canonical repository appears to be gone and the package has been frozen as a result. Email us for help if needed.
Installs: 38 672
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 5
Forks: 0
pkg:composer/socialknowledge/vue-env
This package is auto-updated.
Last update: 2023-08-16 00:06:17 UTC
README
Install package:
composer require socialknowledge/vue-env
php artisan vendor:publish --provider="Socialknowledge\VueEnv\VueEnvServiceProvider"
The config file will contain the array that you can define to make variables available.
If you want to edit the layout, it is published in the resources/views/vue-env/vue-env.blade.php file.
You can echo them out like so:
Env::outputEnv()