PHPackages                             danielmarschall/glip - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. danielmarschall/glip

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

danielmarschall/glip
====================

Git library for PHP

0191PHP

Since Apr 10Pushed 3y agoCompare

[ Source](https://github.com/danielmarschall/glip)[ Packagist](https://packagist.org/packages/danielmarschall/glip)[ RSS](/packages/danielmarschall-glip/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

glip (Git Library In PHP)
=========================

[](#glip-git-library-in-php)

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](http://fimml.at/glip), it was forked slightly updated by Daniel Marschall in 2023.

Changes in the fork
-------------------

[](#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
-----

[](#usage)

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

Include the autoload file, as shown below:

```
