Download the PHP package szunisoft/laravel-mnb without Composer
On this page you can find all versions of the php package szunisoft/laravel-mnb. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package laravel-mnb
Laravel-MNB
Requirements
Package requires Soap and version 7.1 of PHP or higher.
Know-how
This package was built on top of this MNB package. Please check out for corresponding documentations.
Install
Configuration
Export
config/mnb-exchange.php
Usage
Access via facade
Resolve by application container
Access refresh date by reference
You can check the feed date by passing a $date variable to some methods. These methods will make variable to be a Carbon instance.
Available methods
Won't use cache
These methods won't use and update cache.
- currentExchangeRate($code, &$date = null): Currency
- currentExchangeRates(&$date = null): array of Currency
Will use cache
These methods will use cache.
- exchangeRate($code, &$date = null): single Currency
- exchangeRates(&$date = null): array of currencies
- currencies(): array of strings (each is currency code)
- hasCurrency($code): bool
All versions of laravel-mnb with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.1.3
szunisoft/mnb Version ^1.0.1
illuminate/support Version 5.* | 6.* | 7.*
illuminate/cache Version 5.* | 6.* | 7.*
szunisoft/mnb Version ^1.0.1
illuminate/support Version 5.* | 6.* | 7.*
illuminate/cache Version 5.* | 6.* | 7.*
The package szunisoft/laravel-mnb contains the following files
Loading the files please wait ....