承接 brendi211/currency_laravel 相关项目开发

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

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

brendi211/currency_laravel

最新稳定版本:1.0

Composer 安装命令:

composer require brendi211/currency_laravel

包简介

This provides Laravel with currency functions such as currency formatting and conversion using up-to-date exchange rates.

README 文档

README

Composer From the command line run:

composer require brendi211/currency

Manual Setup Once installed you need to register the service provider with the application. Open up config/app.php and find the providers key.

'providers' => [
    \Brendi211\Currency\CurrencyServiceProvider::class,
]

This package also comes with a facade, which provides an easy way to call the the class. Open up config/app.php and find the aliases key.

'aliases' => [
    'Currency' => \Brendi211\Currency\Facades\Currency::class,
];

next

php artisan vendor:publish --provider="Brendi211\Currency\CurrencyServiceProvider" --tag=config

A configuration file will be published to config/currency.php.

Migration

php artisan vendor:publish --provider="Brendi211\Currency\CurrencyServiceProvider" --tag=migrations

Run this on the command line from the root of your project to generate the table for storing currencies:

php artisan migrate

Middleware

protected $middleware = [
    \Illuminate\Session\Middleware\StartSession::class
    \Brendi211\Currency\Middleware\CurrencyMiddleware::class,

]

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-2-Clause
  • 更新时间: 2022-08-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固