承接 tipoff/vouchers 相关项目开发

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

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

tipoff/vouchers

最新稳定版本:2.4.0

Composer 安装命令:

composer require tipoff/vouchers

包简介

Laravel Package for Vouchers :package_description Gift Certificates

README 文档

README

Latest Version on Packagist Tests Total Downloads

Installation

You can install the package via composer:

composer require tipoff/vouchers

The migrations will run from the package. You can extend the Models from the package if you need additional classes or functions added to them.

You can publish the config file with:

php artisan vendor:publish --provider="Tipoff\Vouchers\VouchersServiceProvider" --tag="vouchers-config"

This is the contents of the published config file:

return [
    'default_redeemable_hours' => 24,
    'default_expiration_days' => 365,
];

Registering the Nova resources

If you would like to use the Nova resources included with this package, you need to register it manually in your NovaServiceProvider in the boot method.

Nova::resources([
    \Tipoff\Vouchers\Nova\Voucher::class,
    \Tipoff\Vouchers\Nova\VoucherType::class,
]);

Models

We include the following models:

List of Models

  • Voucher
  • Voucher Type

For each of these models, this package implements an authorization policy that extends the roles and permissions approach of the tipoff/authorization package. The policies for each model in this package are registered through the package and do not need to be registered manually.

The models also have Laravel Nova resources in this package and they are also registered through the package and do not need to be registered manually.

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-02-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固