Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Latest commit

 

History

History
63 lines (46 loc) · 2.29 KB

README.md

File metadata and controls

63 lines (46 loc) · 2.29 KB

yii2-git

Módulo que permitirá visualizar repositorios GIT utilizando Yii Framework.

En desarrollo...

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

Instalación

Requiere

Git Yii2 php funcion exec

Composer

La mejor forma de instalar esta extensión es a través de Composer.

Ejecuta

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

o agrega

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

en la sección de requeridos en tu composer.json

Uso

Configura este módulo en la configuracion de tu aplicación Yii

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