markmarco16/yii2-git

此包已被废弃,不再维护。未建议替代包。

可视化仓库GIT

安装: 47

依赖者: 0

建议者: 0

安全: 0

星标: 2

关注者: 2

分支: 3

类型:yii2-extension

dev-master 2017-04-15 18:02 UTC

This package is not auto-updated.

Last update: 2024-08-03 16:08:57 UTC


README

模块,允许使用 Yii 框架来可视化 Git 仓库。

开发中...

Latest Stable Version Latest Unstable Version Total Downloads License Scrutinizer Code Quality Code Coverage Build Status Dependency Status Code Climate Yii2

安装

需求

Git Yii2 php 函数 exec

Composer

安装此扩展的最佳方式是通过 Composer

执行

php composer.phar require markmarco16/yii2-git "dev-master"

"markmarco16/yii2-git": "dev-master"

在你的 composer.json 需求部分添加

使用

在 Yii 应用程序的配置中配置此模块

<?php
    ......
    'modules' => [
        'git' => [
            'class' => 'markmarco16\git\Module',
            'gitDir' => '/var/git/', //Ruta Adsoluta
            'datetimeFormat' => '%Y-%m-%d %H:%M:%S', //Opcional
            'subjectMaxLength' => 80, //Opcional
        ],
    ],
    ......