malukenho / psygit
Installs: 227
Dependents: 0
Suggesters: 0
Security: 0
Stars: 182
Watchers: 10
Forks: 9
Open Issues: 2
Type:git
Requires
- php: ~7.0
- symfony/process: ^3.0
Requires (Dev)
- phpunit/phpunit: ^5.1
This package is auto-updated.
Last update: 2024-12-20 23:53:38 UTC
README
Installation
It's can simply be installed by composer.
$ composer require malukenho/psygit
Now you can use the repository manager and start interact with your Repository.
(PsyGit\RepositoryManager::fromDirectory('project-repository')) ->trackFile('changelog.txt') ->commit('Changelog updated automatically 8 A.M.') ->push('origin', 'master', \PsyGit\Command\Push::PUSH_FORCE);