Skip to content

affinity4/git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Git

PHP Git wrapper with Promise/A API

Usage


require __DIR__ . './vendor/autoload.php';

Affinity4\Git\Git::initBare('./test/test_repo')->then(
    // Succeeded
    function ($value) {
        echo $value; // Created bare git repo at ./test/test_repo.git
    },
    // Failed
    function ($value) {
        echo $value; // An error...most likely from the underlying Affinity4\Process\Process command
    }
);


Licence

MIT

© 2018

About

PHP Git wrapper with Promise/A API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages