Download the PHP package valantic-spryker/config without Composer
On this page you can find all versions of the php package valantic-spryker/config. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download valantic-spryker/config
More information about valantic-spryker/config
Files in valantic-spryker/config
Package config
Short Description Add functionality to receive store specific configurations
License proprietary
Informations about the package config
extends spryker config module
Description
- Adds functionality to get a store specific config value (in default you can only get values to currentStore/in current store context)
- Example Usage:
- Extend your config file from ValanticSpryker\Shared\Kernel\AbstractBundleConfig
- Make use of new Store parameter when getting a value
$this->getByStore(ExampleConstants::EXAMPLE_CONFIG_KEY, storeName: 'DE');
- Example Usage:
Install
composer require valantic-spryker/config
HowTos Cli
PHP Container: docker run -it --rm --name my-running-script -v "$PWD":/data spryker/php:latest bash
Run Tests: codecept run --env standalone
Fixer: vendor/bin/phpcbf --standard=phpcs.xml --report=full src/ValanticSpryker/
Disable opcache: mv /usr/local/etc/php/conf.d/docker-php-ext-opcache.ini /usr/local/etc/php/conf.d/docker-php-ext-opcache.iniold
XDEBUG:
ip addr | grep '192.'
$docker-php-ext-enable xdebug
- configure phpstorm (add 127.0.0.1 phpstorm server with name valantic)
-
$PHP_IDE_CONFIG=serverName=valantic php -dxdebug.mode=debug -dxdebug.client_host=192.168.87.39 -dxdebug.start_with_request=yes ./vendor/bin/codecept run --env standalone
- Run Tests with coverage:
XDEBUG_MODE=coverage vendor/bin/codecept run --env standalone --coverage --coverage-xml --coverage-html
HowTo Setup new Repo
- create new project (https://gitlab.nxs360.com/projects/new?namespace_id=461#blank_project)
- visibility -> Internal
- push in repo boilerplate copied of example-package (https://gitlab.nxs360.com/packages/php/spryker/example-package)
- search for string
example-package
and add your descriptions - add your custom code / copy in your code / rename namespace to ValanticSpryker
use nodejs
- docker run -it --rm --name my-running-script -v "$PWD":/data node:18 bash