chadha / mlm-unilevel-plugin
Plugin enables the Unilevel MLM Network plan for Sylius
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:sylius-plugin
pkg:composer/chadha/mlm-unilevel-plugin
Requires
- php: ^7.1
- sylius/sylius: ^1.0
Requires (Dev)
- behat/behat: ^3.3
- behat/mink: ^1.7
- behat/mink-browserkit-driver: ^1.3
- behat/mink-extension: ^2.2
- behat/mink-selenium2-driver: ^1.3
- friends-of-behat/context-service-extension: ^1.0
- friends-of-behat/cross-container-extension: ^1.0
- friends-of-behat/service-container-extension: ^1.0
- friends-of-behat/symfony-extension: ^1.0
- friends-of-behat/variadic-extension: ^1.0
- lakion/mink-debug-extension: ^1.2.3
- phpspec/phpspec: ^3.2
- phpunit/phpunit: ^5.6
- se/selenium-server-standalone: ^2.52
- sylius-labs/coding-standard: ^1.0
- symplify/easy-coding-standard: ^2.4
This package is auto-updated.
Last update: 2025-10-29 02:08:46 UTC
README
Plugin Skeleton
Installation
- 
Run composer create-project sylius/plugin-skeleton ProjectName.
- 
From the plugin skeleton root directory, run the following commands: $ (cd tests/Application && yarn install) $ (cd tests/Application && yarn run gulp) $ (cd tests/Application && bin/console assets:install web -e test) $ (cd tests/Application && bin/console doctrine:database:create -e test) $ (cd tests/Application && bin/console doctrine:schema:create -e test) 
Usage
Running plugin tests
- 
PHPUnit $ bin/phpunit 
- 
PHPSpec $ bin/phpspec run 
- 
Behat (non-JS scenarios) $ bin/behat --tags="~@javascript"
- 
Behat (JS scenarios) - 
Download Chromedriver 
- 
Run Selenium server with previously downloaded Chromedriver: $ bin/selenium-server-standalone -Dwebdriver.chrome.driver=chromedriver 
- 
Run test application's webserver on localhost:8080:$ (cd tests/Application && bin/console server:run 127.0.0.1:8080 -d web -e test)
- 
Run Behat: $ bin/behat --tags="@javascript"
 
- 
Opening Sylius with your plugin
- 
Using testenvironment:$ (cd tests/Application && bin/console sylius:fixtures:load -e test) $ (cd tests/Application && bin/console server:run -d web -e test) 
- 
Using devenvironment:$ (cd tests/Application && bin/console sylius:fixtures:load -e dev) $ (cd tests/Application && bin/console server:run -d web -e dev)