Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shtikov/currency-parser
Currency parser and save data.
https://github.com/shtikov/currency-parser
Last synced: about 2 months ago
JSON representation
Currency parser and save data.
- Host: GitHub
- URL: https://github.com/shtikov/currency-parser
- Owner: SHTIKOV
- License: unlicense
- Created: 2021-02-08T06:04:55.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-02-15T05:08:19.000Z (almost 4 years ago)
- Last Synced: 2023-03-02T23:41:22.537Z (almost 2 years ago)
- Language: PHP
- Size: 43.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Currency parcer engine
## Requipments
#### Dev:
```json
{
"phpunit/phpunit": "^9.3",
"symfony/var-dumper": "^5.2",
"phpstan/phpstan": "^0.12.73",
"friendsofphp/php-cs-fixer": "^2.18"
}
```
#### Main:
```json
{
"curl/curl": "2.3.1",
"monolog/monolog": "^2.2"
}
```## How to install
To install, run the following some command:
In first time you need clone repository and then install vendors in project.
```
composer install
```## Examples
For examples you has two commands: `download` and `print`.
##### Download:
```bash
$ php examples/download.php EUR
```
##### Print:
```bash
$ php examples/print.php EUR
```
##### Test command:
```bash
$ make example-download
```
```bash
$ make example-print
```
For more see **Makefile**.## How to use
```php
execute($currencies);
```