Skip to content

Latest commit

 

History

History
40 lines (23 loc) · 1.06 KB

README.md

File metadata and controls

40 lines (23 loc) · 1.06 KB

BKubicki Magento money-php library adapter

Overview

Library is small adapter for money-php library. Provides two implementations of BKubicki\Magento2MoneyAdapter\CurrencyAwareMoneyFactoryInterface.

  • BaseCurrencyAwareMoneyFactory gives you money object with base currency (either global or website)
  • CurrentCurrencyAwareMoneyFactory gives you money object with current currency (base or displayed if differs)

Prerequisites

  • PHP 7.2 / 7.3 / 7.4

Installation

To install the extension use the following commands:

 composer require bkubicki/magento2-money-adapter

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Changelog

See changelog here.

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details.

TODO

  • add integration tests for factories