承接 senemoglu/currency 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

senemoglu/currency

Composer 安装命令:

composer require senemoglu/currency

包简介

README 文档

README

Small Api for currency converting jobs in Laravel 5

Installation

  • Going your project directory on shell and run this command:
composer require senemoglu/currency:dev-master
  • Add this line in your service provider's array (config/app.php) =>
Senemoglu\Currency\CurrencyServiceProvider::class,
  • Add this line in your aliases =>
'Currency' => Senemoglu\Currency\Facades\Converter::class,

Usage

On Business Side:

Example

Currency::convert('USD', 'TRY', 20);

On Presentation Side:

Example

@currency(USD => TRY, 20)

I have been working about this since 3 hours. Any advice you give, im open.

统计信息

  • 总下载量: 1.15k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 9
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 9
  • Watchers: 3
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-03-25