PHPackages                             shopware-blog/shopware-environment-variables - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. shopware-blog/shopware-environment-variables

AbandonedArchivedShopware-plugin[Utility &amp; Helpers](/categories/utility)

shopware-blog/shopware-environment-variables
============================================

a small shopware plugin to use env variables

0.3.0(6y ago)75.4k2[7 issues](https://github.com/shopware-blog/shopware-environment-variables/issues)[1 PRs](https://github.com/shopware-blog/shopware-environment-variables/pulls)MITPHP

Since Apr 20Pushed 6y ago1 watchersCompare

[ Source](https://github.com/shopware-blog/shopware-environment-variables)[ Packagist](https://packagist.org/packages/shopware-blog/shopware-environment-variables)[ RSS](/packages/shopware-blog-shopware-environment-variables/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (1)Versions (11)Used By (0)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/4153fd4cbb2517bdb3f7880a141073965608cee89ea75a6ee48c1e233ffd8346/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73686f70776172652d626c6f672f73686f70776172652d656e7669726f6e6d656e742d7661726961626c65732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/shopware-blog/shopware-environment-variables/?branch=master)

Use Environment Variables to override Plugin Configurations
===========================================================

[](#use-environment-variables-to-override-plugin-configurations)

In multi stage environments it is usual to have different basic and plugin configurations for dev, stage and live systems.

This plugin can override basic and plugin configurations with environment variables or constants.

Integration
===========

[](#integration)

We use ShopwarePaypal as an example plugin. Below you can see an example config.php which overrides some plugin settings and basic configuration.

```
