malukenho/psygit

Installs: 227

Dependents: 0

Suggesters: 0

Security: 0

Stars: 182

Watchers: 10

Forks: 9

Open Issues: 2

Type:git

dev-master 2016-02-01 19:54 UTC

This package is auto-updated.

Last update: 2024-04-20 22:24:54 UTC


README

PsyGit - git for PHPsychopaths

If you're doing something miraculous with php and git. Here's a good interface to work with.

PsyGit provides an easy way to work with git commands and manipulate your local repository, without leaving your code so horrible.

Installation Standalone CQRS Fluent Interface Commands

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);

Standalone

CQRS

Fluent Interface

Commands