pennyblack / magento-app
Provides integration with Penny Black for Magento2
Installs: 1 444
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- php: >=7.4.0
- guzzlehttp/guzzle: >=6.5 || <8
- http-interop/http-factory-guzzle: ^1.2
- magento/framework: ^103.0
- magento/module-backend: ^102.0
- magento/module-customer: ^103.0
- magento/module-gift-message: ^100.4
- magento/module-newsletter: ^100.4
- magento/module-sales: ^103.0
- magento/module-store: ^101.1
- pennyblack/php-sdk: ^1.4.2
Requires (Dev)
- phpmd/phpmd: ^2.13
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^9.6
- squizlabs/php_codesniffer: ^3.7
Suggests
- guzzlehttp/psr7: Needed if you are using Guzzle 6.x in your Magento setup.
- php-http/guzzle6-adapter: Needed if you are using Guzzle 6.x in your Magento setup.
README
This app has been developed against the 2.4.x version of Magento Open Source.
Prerequisites
- PHP >=7.4
- Composer
Installation
Module development
- Create an
auth.json
file in the root and configure it with the keys found in theMagento Account
Lastpass entry. composer install
- If you are using Guzzle 6.x then you will need some additional packages.
- You can check your version of Guzzle using
composer info guzzlehttp/guzzle | grep version
- If this version is 6.x then run
composer require php-http/guzzle6-adapter guzzlehttp/psr7
- You can check your version of Guzzle using
Magento
If you are installing this module into your Magento shop, then you can install via composer.
composer require pennyblack/magento-app
Development
Tests & Linting
We use PHPUnit for our unit tests and PHPStan, PHP CodeSniffer and PHP Mess Detector for quality checks.
- Run
composer unit-test
to run the unit test suite. - Run
composer quality-check
to run the quality check tools.