bkubicki / magento2-money-adapter
Adapter for money-php library for Magento 2
Installs: 16 122
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
Requires
- php: ~7.2.0||~7.3.0||~7.4.0||~8.0.0||~8.1.0||~8.2.0
- magento/framework: *
- magento/module-store: *
This package is auto-updated.
Last update: 2024-12-12 17:01:17 UTC
README
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