定制 pratiksh/payable 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

pratiksh/payable

最新稳定版本:v1.1.0

Composer 安装命令:

composer require pratiksh/payable

包简介

Storing payment made simple.

README 文档

README

Laravel Payable

Latest Version on Packagist Stars Downloads StyleCI CodeFactor License

Storing payment made simple.

For detailed documentation visit Payable Documentation

Installation

You can install the package via composer:

composer require pratiksh/payable

Publish Migrations

Packages Contains 3 table

  • fiscals
  • payments
  • payment_histories
php artisan vendor:publish --tag=payable-migrations

Publish Config file

Install payable

php artisan vendor:publish --tag=payable-config

Migrate Database

php artisan migrate

Setup

Payment is polymorphic, hence with the use of trait HasPayable can be used with any model.

use Pratiksh\Payable\Traits\HasPayable;

class Product extends Model
{
    use  HasPayable;
}

Usages

$product = Product::first();
$product->pay(100)

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email pratikdai404@gmail.com instead of using the issue tracker.

Credits

License

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

Laravel Package Boilerplate

This package was generated using the Laravel Package Boilerplate.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-04-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固