chub / mercurial-manager
PHP class to get info about mercurial (hg) repository
Installs: 731
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 2
Forks: 1
Open Issues: 0
pkg:composer/chub/mercurial-manager
Requires
- php: >=5.3.3
- symfony/process: *
This package is not auto-updated.
Last update: 2025-10-20 15:46:49 UTC
README
PHP class to get info about mercurial (hg) repository.
Installation
Add "chub/mercurial-manager": "dev-master" to require section of your composer.json and run php composer.phar update
Usage
<?php require_once 'vendor/autoload.php'; use ChubProduction\MercurialManager\MercurialManager; // Current directory $m = new MercurialManager(); // Tip revision node $node = $m->getNode(); echo $node->getDate()->format('d.m.Y H:i:s'), "\n"; echo $node->getAuthor(); // Get modified files var_dump($node->getFiles('M'));