没有合适的资源?快使用搜索试试~ 我知道了~
currency-converter-php:汇率用于PHP的货币转换器库
共39个文件
php:26个
md:4个
gitignore:3个
需积分: 10 0 下载量 68 浏览量
2021-05-08
06:27:01
上传
评论
收藏 25KB ZIP 举报
温馨提示
currency-converter-php 汇率/货币转换器库,具有从国家/地区代码缓存和识别货币的功能。 入门 <?php require 'vendor/autoload.php' ; $ converter = new CurrencyConverter \ CurrencyConverter ; echo $ converter -> convert ( 'USD' , 'NPR' ); // will print something like 97.44 // caching currency $ cacheAdapter = new CurrencyConverter \ Cache \ Adapter \ FileSystem (__DIR__ . '/cache/' ); $ cacheAdapter -> setCacheTimeout ( DateInterval
资源推荐
资源详情
资源评论
收起资源包目录
currency-converter-php-master.zip (39个子文件)
currency-converter-php-master
.gitignore 29B
src
CountryToCurrency.php 6KB
Exception
RuntimeException.php 129B
ExceptionInterface.php 79B
UnsupportedCurrencyException.php 149B
InvalidArgumentException.php 146B
CurrencyConverterInterface.php 334B
CurrencyConverter.php 4KB
Provider
ExchangeRatesIo.php 1KB
ProviderInterface.php 285B
FixerApi.php 2KB
Cache
Adapter
AbstractAdapter.php 2KB
Exception
ExceptionInterface.php 153B
CachePathNotFoundException.php 157B
FileSystem.php 2KB
CacheAdapterInterface.php 760B
ZendAdapter.php 1KB
.travis.yml 330B
LICENSE 1KB
composer.json 966B
CHANGELOG.md 515B
examples
cache
.gitignore 14B
.cache 6B
zend-cache-adapter.php 485B
simple.php 248B
filesystem-cache.php 356B
README.md 2KB
phpunit.xml 675B
tests
resources
cache
.gitignore 14B
CurrencyConverterTest
CurrencyConverterTest.php 2KB
CountryToCurrencyTest.php 496B
Provider
ExchangeRatesIoTest.php 2KB
FixerApiTest.php 3KB
Cache
Adapter
ZendAdapterTest.php 2KB
FileSystemTest.php 2KB
Bootstrap.php 400B
.scrutinizer.yml 95B
docs
cache-adapter.md 3KB
rate-provider.md 31B
共 39 条
- 1
资源评论
茶了不几
- 粉丝: 30
- 资源: 4772
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功