jaguarsoft / laravel-env-loader
Loads Laravel environment variables from Custom Service
8.0.1
2024-02-22 02:06 UTC
Requires
- php: ^5.3.9 || ^7.0 || ^8.0
- symfony/yaml: ^5.0
- vlucas/phpdotenv: ^5.4
This package is auto-updated.
Last update: 2024-11-20 14:35:36 UTC
README
This package allows you to load env variables from external sources like database or yaml file.
Installation
composer require jaguarsoft/laravel-env-loader
For Laravel 5
"jaguarsoft/laravel-env-loader": "^5.2"
For Laravel 6
"jaguarsoft/laravel-env-loader": "^6"
Use
Mirations for tb_envs table
php artisan vendor:publish --provider="JaguarSoft\LaravelEnvLoader\EnvLoaderServiceProvider"
Autodiscover
php artisan package:discover