danielmarschall/glip 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

danielmarschall/glip

Composer 安装命令:

composer require danielmarschall/glip

包简介

Git library for PHP

关键字:

README 文档

README

glip is a Git Library In PHP. It allows you to access bare git repositories from PHP scripts, even without having git installed.

Initially written by Patrik Fimml, it was forked slightly updated by Daniel Marschall in 2023.

Changes in the fork

  • Added composer.json
  • Added README.md
  • Removed Doxygen
  • Made compatible with PHP 8
  • Fixed assertion error in GitCommitStamp
  • Added namespace and renamed files to their classname
  • Misc fixes to make PHPstan tests pass

Usage

Add dependency in composer using the command git require danielmarschall/glip.

Include the autoload file, as shown below:

<?php

use ViaThinkSoft\Glip\Git;

require_once '/path/to/vendor/autoload.php';

$repo = new Git('project/.git');

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 112
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2023-04-09