Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages