jaguarsoft/laravel-env-loader

Loads Laravel environment variables from Custom Service

8.0.1 2024-02-22 02:06 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