From ebc5b3c48fa44dbcbf1ccb7ffc32baca0960efcc Mon Sep 17 00:00:00 2001 From: Jan Pecha Date: Sun, 24 Jun 2018 13:45:20 +0200 Subject: [PATCH] Readme: updated --- readme.md | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/readme.md b/readme.md index 9c8d0ff..7634c93 100644 --- a/readme.md +++ b/readme.md @@ -4,6 +4,25 @@ Git-PHP Library for work with Git repository in PHP. Become a Patron! +Buy me a coffee + + +Installation +------------ + +[Download a latest package](https://github.com/czproject/git-php/releases) or use [Composer](http://getcomposer.org/): + +``` +composer require czproject/git-php +``` + +Library requires PHP 5.4 or later and `git` client (path to Git must be in system variable `PATH`). + +Git installers: + +* for Linux - https://git-scm.com/download/linux +* for Windows - https://git-scm.com/download/win +* for others - https://git-scm.com/downloads Usage @@ -232,24 +251,6 @@ $repo->setRemoteBranches('origin', array( )); ``` - -Installation ------------- - -[Download a latest package](https://github.com/czproject/git-php/releases) or use [Composer](http://getcomposer.org/): - -``` -composer require czproject/git-php -``` - -Library requires PHP 5.4 or later and `git` client (path to Git must be in system variable `PATH`). - -Git installers: - -* for Linux - https://git-scm.com/download/linux -* for Windows - https://git-scm.com/download/win -* for others - https://git-scm.com/downloads - ------------------------------ License: [New BSD License](license.md)