artesanik / sylius-extended-checkout-plugin
Sylius Extended Checkout Plugin.
Installs: 11
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Type:sylius-plugin
Requires
- php: ^7.3
- sylius/sylius: ^1.8
Requires (Dev)
- behat/behat: ^3.6.1
- behat/mink-selenium2-driver: ^1.4
- dmore/behat-chrome-extension: ^1.3
- dmore/chrome-mink-driver: ^2.7
- friends-of-behat/mink: ^1.8
- friends-of-behat/mink-browserkit-driver: ^1.4
- friends-of-behat/mink-extension: ^2.4
- friends-of-behat/page-object-extension: ^0.3
- friends-of-behat/suite-settings-extension: ^1.0
- friends-of-behat/symfony-extension: ^2.1
- friends-of-behat/variadic-extension: ^1.3
- lakion/mink-debug-extension: ^1.2.3
- phpspec/phpspec: ^6.1
- phpstan/extension-installer: ^1.0
- phpstan/phpstan: 0.12.25
- phpstan/phpstan-doctrine: 0.12.13
- phpstan/phpstan-strict-rules: ^0.12.0
- phpstan/phpstan-webmozart-assert: 0.12.4
- phpunit/phpunit: ^8.5
- sensiolabs/security-checker: ^6.0
- sylius-labs/coding-standard: ^3.1
- symfony/browser-kit: ^4.4
- symfony/debug-bundle: ^4.4|^5.0
- symfony/dotenv: ^4.4|^5.0
- symfony/intl: ^4.4|^5.0
- symfony/web-profiler-bundle: ^4.4|^5.0
- symfony/web-server-bundle: ^4.4|^5.0
- vimeo/psalm: 3.11.4
README
Sylius Extended Checkout Plugin
Documentation
This Sylius plugin enables the phoneNumber required in the Addressing Checkout Form.
It do three verifications
- NotBlank
- Range between 10 and 11 phone numbers
- Pattern to only allow numbers
Quickstart Installation
- Install using composer
composer require artesanik/sylius-extended-checkout-plugin
- Clear cache
bin/console cache:clear
TODO Tasks
- Add a config file to load phone variables from config.yaml or env vars
- Add envvars for the phone pattern regex
- Add envvars for the phone min/max lenght
- Enable other phone patterns