dev-master
9999999-dev https://github.com/ChubV/MercurialManagerPHP class to get info about mercurial (hg) repository
The Requires
- php >=5.3.3
- symfony/process *
hg repository mercurial php
Wallogit.com
2017 © Pedro Peláez
PHP class to get info about mercurial (hg) repository
PHP class to get info about mercurial (hg) repository., (*1)
Add "chub/mercurial-manager": "dev-master" to require section of your composer.json and run php composer.phar update, (*2)
``` php <?php require_once 'vendor/autoload.php'; use ChubProduction\MercurialManager\MercurialManager;, (*3)
// Current directory $m = new MercurialManager(); // Tip revision node $node = $m->getNode();, (*4)
echo $node->getDate()->format('d.m.Y H:i:s'), "\n"; echo $node->getAuthor(); // Get modified files var_dump($node->getFiles('M')); ```, (*5)
PHP class to get info about mercurial (hg) repository
hg repository mercurial php