A Yii wrapper for the git command line executable. Allows access to git commands via a simple object oriented interface.
$repository = new AGitRepository; $repository->path = "path/to/your/git/repo"; $repository->add("somefile.txt"); $repository->add("somedirectory"); $repository->commit("Added some files");
More examples available on the github page
Total 5 comments
Hi guys,
have a look here https://github.com/phundament/app for a Package Management PoC with composer.
Best regards, schmunk
I think composer is a better choice for package management, so I abandoned the Yii Package Manager project, code is on github though: https://github.com/phpnode/Yii-Package-Manager
Did you make any progress with the Yii Package Manager? Even if you just have a skeleton I would like to contribute. I feel this is something Yii could really use.
Originally I wrote it as part of Yii Package Manager, but here's a few other use cases:
Time tracking / invoicing based on git commits Open source github or dropbox replacement Git backed wikis for versioning Versioning for uploaded files
I am just curious, what was/is your use case?
Leave a comment
Please login to leave your comment.