jaguarsoft / laravel-env-loader
Loads Laravel environment variables from Custom Service
Installs: 1 068
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: ^7.0 || ^8.0
- symfony/yaml: ^7.0
- vlucas/phpdotenv: ^5.4
This package is auto-updated.
Last update: 2025-03-18 15:31:47 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