YiiGit ¶
A Yii wrapper for the git command line executable. Allows access to git commands via a simple object oriented interface.
Usage ¶
$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
Looks interesting
I am just curious, what was/is your use case?
lots of use cases
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
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.
I abandoned it because composer is better
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
Yii Package Manager Proof-of-concept
Hi guys,
have a look here https://github.com/phundament/app for a Package Management PoC with composer.
Best regards,
schmunk
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.