attogram / currency-exchange-rates
货币汇率网站,数据来源于:欧洲央行,瑞士国家银行,以色列银行,俄罗斯联邦中央银行,以及澳大利亚储备银行。PHP7/SQLite
v1.1.1
2019-04-19 08:08 UTC
Requires
- php: ^7.0
- ext-mbstring: *
- ext-pdo: *
- ext-simplexml: *
- attogram/database: dev-master
- attogram/router: ^4.0
- guzzlehttp/guzzle: ^6.3
README
货币汇率网站,数据来源于
- 欧洲央行
- 瑞士国家银行
- 以色列银行
- 俄罗斯联邦中央银行
- 澳大利亚储备银行
实时演示: https://getitdaily.com/rates/
信息
- 栈:PHP 7, SQLite
- Git: https://github.com/attogram/currency-exchange-rates
- Composer: https://packagist.org.cn/packages/attogram/currency-exchange-rates
安装
使用Composer安装
composer create-project attogram/currency-exchange-rates your-install-directory
使用Git安装
git clone https://github.com/attogram/currency-exchange-rates.git your-install-directory
cd your-install-directory
composer install
手动安装
- 在 https://github.com/attogram/currency-exchange-rates/archive/master.zip 下载源代码
- 解压到 your-install-directory
cd your-install-directory
composer install
配置
- 创建自定义配置:
cp custom/config.example.php custom/config.php
- 修改:网站标题和管理员IP
- 使目录可写:
db/
- 将Web服务器指向
public/
目录
管理员
通过Web更新
/admin/
页面有一个订阅列表。点击订阅来更新数据。
通过命令行更新
- CLI脚本
cli/update.php
- 用法:
php update.php FeedCode
开源
Attogram货币汇率 是由 Attogram项目 提供的开源项目。