jlorente/yii2-billing

一个用于处理项目中计费功能的 Yii2 扩展。它包括一个流畅的编程接口来创建发票,以及一个可视化界面来创建、编辑和导出 html 或 pdf 格式的发票。

安装: 16

依赖: 0

建议: 0

安全: 0

星标: 3

关注者: 2

分支: 3

开放问题: 0

类型:yii2-extension

dev-master 2018-12-19 10:07 UTC

This package is auto-updated.

Last update: 2024-09-20 01:01:30 UTC


README

一个用于处理计费的 Yii2 扩展。

安装

在 composer.json 文件中将此包作为依赖项包含。

要安装,请运行

$ php composer.phar require jlorente/yii2-billing "*"

或将以下内容添加到 require 部分

...
    "require": {
        // ... other configurations ...
        "jlorente/yii2-billing": "*"
    }

到您的 composer.json 文件中,并从您的项目目录运行以下命令。

$ composer update

迁移

应用包迁移

$ ./yii migrate --migrationPath=@vendor/jlorente/yii2-billing/src/migrations

或在您的项目中扩展此迁移并按常规应用。

###模块设置 您必须将此模块添加到应用程序配置文件中的模块部分和引导部分,以便使其工作。

../your_app/config/main.php

return [
    //Other configurations
    'modules' => [
        //Other modules
        'billing' => 'jlorente\billing\Module'
    ],
    'bootstrap' => [
        //Other bootstrapped modules
        , 'billing'
    ]
]

使用

在开发中...

许可证

版权所有 © 2017 José Lorente Martín jose.lorente.martin@gmail.com

在 MIT 许可证下发布。有关详细信息,请参阅 LICENSE.txt。