Recommend this page to a friend! |
![]() |
Info | Documentation | ![]() |
![]() |
![]() |
Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 17 | All time: 11,405 This week: 455![]() |
Version | License | PHP version | Categories | |||
envman 1.0 | MIT/X Consortium ... | 5 | PHP 5, Libraries, Configuration |
Description | Author | |
This package can manage Laravel environment variables runtime. |
|
This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.
Manage your Laravel application's environment variables dynamically so fast.
You can install the package via composer:
composer require isaeken/envman
You can publish and run the migrations with:
php artisan vendor:publish --tag="envman-migrations"
php artisan migrate
You can publish the config file with:
php artisan vendor:publish --tag="envman-config"
This is the contents of the published config file:
return [
'enabled' => env('ENVMAN_ENABLED', true),
'cache' => env('APP_ENV', 'production') === 'production',
'features' => [
// custom configs for domains
'domains' => true,
],
'database' => [
'connection', env('DB_CONNECTION'),
],
];
You can change environment variables dynamically:
\IsaEken\Envman\Facades\Envman::setConfig('app.name', 'Your App Name');
\IsaEken\Envman\Facades\Envman::setConfig('app.debug', false);
\IsaEken\Envman\Facades\Envman::setConfig('app.environment', 'production');
And you can reset variables:
\IsaEken\Envman\Facades\Envman::resetConfig('app.debug');
# Reset all your environment changes
php artisan envman:reset
# Cache all environment variables
php artisan envman:cache
# Clear all environment variable cache
php artisan envman:cache:clear
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.
![]() |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
Data | Auxiliary data | ||
![]() |
Data | Auxiliary data | ||
![]() |
Data | Auxiliary data | ||
![]() |
Lic. | License text | ||
![]() |
Doc. | Documentation |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
![]() |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.