shopsys / sysconfig
System configuration for Shopsys
Installs: 14
Dependents: 0
Suggesters: 3
Security: 0
Stars: 0
Watchers: 1
Forks: 1
pkg:composer/shopsys/sysconfig
Requires
- php: >=5.3.0
- psr/log: ~1.0
- shopsys/sysstdlib: dev-master
Requires (Dev)
- php: >=5.3.0
Suggests
- svenanders/sarrandomwords: Create Silly Sentences
This package is not auto-updated.
Last update: 2025-10-21 08:14:56 UTC
README
###More info
How to use
In your composer.json, add the following line
"shopsys/php-shopsys-sysconfig": "dev-master"
In your code, include the class:
use SysConfig/SysConfig;
(or use composer's autoloader)
and then in your functions, use it like this:
$this->config = $SysConfig->getConfig();
this will populate $this->config with the config values from your config-directory
Protip
Copy config/sysconfig.global.php.dist to your projects config/autoload/sysconfig.local.php and set your config values
Tests:
execute phpunit vendor/shopsys/sysconfig/tests/ from the root of your project to run the tests
#####License:
Sven Anders Robbestad (C) 2014