exchangehunter / rates-export-php
Library helps build export file for exchangers monitoring
Installs: 2 008
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: ^8.0
- league/flysystem: ^3.0
Requires (Dev)
- phpunit/phpunit: ^10.1
README
This library helps you to generate rates export file for exchangers monitors.
Installation
composer require exchangehunter/rates-export-php
Usage:
// Create exporter instance with export file path $filePath = 'path/export.xml'; $exporter = new \Exchangehunter\RatesExportPhp\Exporter($filePath); // Add some rates for export $exporter->add('BTC', 'USDT', 1, 25000, 10, 0.01, 1); // Save file $exporter->save();