2017 © Pedro Peláez
 

library vcs

PHP interface for version control systems

image

webcreate/vcs

PHP interface for version control systems

  • Friday, June 15, 2018
  • by fieg
  • Repository
  • 4 Watchers
  • 57 Stars
  • 37,187 Installations
  • PHP
  • 3 Dependents
  • 0 Suggesters
  • 8 Forks
  • 0 Open issues
  • 20 Versions
  • 11 % Grown

The README.md

PHP interface for version control systems

Webcreate\Vcs is an interface for PHP for working with various version control systems, like SVN, GIT, etc., (*1)

This library was created as part of Conveyor., (*2)

Build Status, (*3)

Installation / Usage

  1. Download the composer.phar executable or use the installer., (*4)

    sh $ curl -s https://getcomposer.org/installer | php, (*5)

  2. Create a composer.json defining your dependencies., (*6)

    json { "require": { "webcreate/vcs": "dev-master" } }, (*7)

  3. Run Composer: php composer.phar install, (*8)

Getting started

Webcreate\Vcs is build around a single interface, the VcsInterface. This interface contains methods to work with a version control system., (*9)

This libary currently contains two implementations of the interface: Svn and Git., (*10)

Lets say you want to get the latest commits from git. Here is an example:, (*11)

``` php // Example R1 use Webcreate\Vcs\Git;, (*12)

$git = new Git('https://someserver/somerepo.git');, (*13)

// Retrieve the 20 latest commits for master $result = $git->log('.', null, 20); foreach($result as $commit) { $date = $commit->getDate(); // returns \DateTime instance $author = $commit->getAuthor(); // returns "John Doe" $revision = $commit->getRevision(); // returns "1a410efbd13591db07496601ebc7a059dd55cfe9" $message = $commit->getMessage(); // returns "commit message" } ```, (*14)

Full documentation is available in docs/., (*15)

The Versions

15/06 2018

dev-master

9999999-dev https://github.com/webcreate/vcs

PHP interface for version control systems

  Sources   Download

MIT

The Requires

 

The Development Requires

git svn vcs subversion versioncontrol

15/06 2018
28/11 2016

1.2.3

1.2.3.0 https://github.com/webcreate/vcs

PHP interface for version control systems

  Sources   Download

MIT

The Requires

 

git svn vcs subversion versioncontrol

21/11 2016

1.2.2

1.2.2.0 https://github.com/webcreate/vcs

PHP interface for version control systems

  Sources   Download

MIT

The Requires

 

git svn vcs subversion versioncontrol

13/01 2014

1.2.1

1.2.1.0 https://github.com/webcreate/vcs

PHP interface for version control systems

  Sources   Download

MIT

The Requires

 

git svn vcs subversion versioncontrol

14/11 2013

1.2.0

1.2.0.0 https://github.com/webcreate/vcs

PHP interface for version control systems

  Sources   Download

MIT

The Requires

 

git svn vcs subversion versioncontrol

31/10 2013

1.1.12

1.1.12.0 https://github.com/webcreate/vcs

PHP interface for version control systems

  Sources   Download

MIT

The Requires

 

git svn vcs subversion versioncontrol

29/10 2013

1.1.11

1.1.11.0 https://github.com/webcreate/vcs

PHP interface for version control systems

  Sources   Download

MIT

The Requires

 

git svn vcs subversion versioncontrol

14/09 2013

1.1.10

1.1.10.0 https://github.com/webcreate/vcs

PHP interface for version control systems

  Sources   Download

MIT

The Requires

 

git svn vcs subversion versioncontrol

31/07 2013

1.1.9

1.1.9.0 https://github.com/webcreate/vcs

PHP interface for version control systems

  Sources   Download

MIT

The Requires

 

git svn vcs subversion versioncontrol

10/04 2013

1.1.8

1.1.8.0 https://github.com/webcreate/vcs

PHP interface for version control systems

  Sources   Download

MIT

The Requires

 

git svn vcs subversion versioncontrol

09/04 2013

1.1.7

1.1.7.0 https://github.com/webcreate/vcs

PHP interface for version control systems

  Sources   Download

MIT

The Requires

 

git svn vcs subversion versioncontrol

18/03 2013

1.1.6

1.1.6.0 https://github.com/webcreate/vcs

PHP interface for version control systems

  Sources   Download

MIT

The Requires

 

git svn vcs subversion versioncontrol

10/03 2013

1.1.5

1.1.5.0 https://github.com/webcreate/vcs

PHP interface for version control systems

  Sources   Download

MIT

The Requires

 

git svn vcs subversion versioncontrol

05/03 2013

1.1.4

1.1.4.0 https://github.com/webcreate/vcs

PHP interface for version control systems

  Sources   Download

MIT

The Requires

 

git svn vcs subversion versioncontrol

03/03 2013

1.1.3

1.1.3.0 https://github.com/webcreate/vcs

PHP interface for version control systems

  Sources   Download

MIT

The Requires

 

git svn vcs subversion versioncontrol

19/02 2013

1.1.2

1.1.2.0 https://github.com/webcreate/vcs

PHP interface for version control systems

  Sources   Download

MIT

The Requires

 

git svn vcs subversion versioncontrol

12/02 2013

1.1.1

1.1.1.0 https://github.com/webcreate/vcs

PHP interface for version control systems

  Sources   Download

MIT

The Requires

 

git svn vcs subversion versioncontrol

08/02 2013

1.1

1.1.0.0 https://github.com/webcreate/vcs

PHP interface for version control systems

  Sources   Download

MIT

The Requires

 

git svn vcs subversion versioncontrol