PHPackages                             ptlis/vcs - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. ptlis/vcs

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ptlis/vcs
=========

Tools for working with version control systems.

3118PHP

Since Aug 24Pushed 10y ago1 watchersCompare

[ Source](https://github.com/ptlis/vcs)[ Packagist](https://packagist.org/packages/ptlis/vcs)[ RSS](/packages/ptlis-vcs/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

ptlis/vcs
=========

[](#ptlisvcs)

A simple VCS wrapper for PHP attempting to offer a consistent API across VCS tools.

[![Build Status](https://camo.githubusercontent.com/56f1b5ab2bcf22904ad14b14b2154060316c1c202e5bdd20ca509e96fef4082a/68747470733a2f2f7472617669732d63692e6f72672f70746c69732f7663732e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/ptlis/vcs) [![Code Coverage](https://camo.githubusercontent.com/cd78eba30ed579096f7a9e3e1521f314ff15e41deede039c1fbc739b33a288fd/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f70746c69732f7663732f6261646765732f636f7665726167652e706e673f733d36633330613332653738363732616530643763666633656366303063656261393530343938373961)](https://scrutinizer-ci.com/g/ptlis/vcs/) [![Scrutinizer Quality Score](https://camo.githubusercontent.com/7cad6d25a844fb03ba68e85e12a620d2ec17d5db186695714e840bf12e8fe0f1/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f70746c69732f7663732f6261646765732f7175616c6974792d73636f72652e706e673f733d62386132363262333364643461356465303264366639326633653331386562623331396639366330)](https://scrutinizer-ci.com/g/ptlis/vcs/) [![Latest Stable Version](https://camo.githubusercontent.com/8c54e1de79528b96f1ce5b16fd994134e2641049bad6f7d03bcd46fbf1c8e16b/68747470733a2f2f706f7365722e707567782e6f72672f70746c69732f7663732f762f737461626c652e706e67)](https://packagist.org/packages/ptlis/vcs)

Cautions
--------

[](#cautions)

- None of this is utf-8 safe - there's a bunch of manual string manipulation done in a really unsafe way - investigate feasbility of requiring mbstring (or similar).

TODO
----

[](#todo)

- XML all the (svn) things!
    - Add wrapper to safely parse - see  for example
- Split tests - integration &amp; unit tests
    - Integration svn tests require access to svnserve &amp; co.
- Check for presence of git &amp; svn binaries (try to autodetect?)
- Validate repository paths.

Known limitations
-----------------

[](#known-limitations)

- Information about adding or removing an empty file is not handled (Unified Diff doesn't seem have a representation for this, SVN disallows this).

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/7ff8b14a43509e32a3892de4a8907b3b7764a6f7910454ae3f0f03e2541eea5c?d=identicon)[ptlis](/maintainers/ptlis)

---

Top Contributors

[![ptlis](https://avatars.githubusercontent.com/u/508422?v=4)](https://github.com/ptlis "ptlis (106 commits)")

### Embed Badge

![Health badge](/badges/ptlis-vcs/health.svg)

```
[![Health](https://phpackages.com/badges/ptlis-vcs/health.svg)](https://phpackages.com/packages/ptlis-vcs)
```

###  Alternatives

[symfony/polyfill-php83

Symfony polyfill backporting some PHP 8.3+ features to lower PHP versions

431292.0M168](/packages/symfony-polyfill-php83)[wp-sync-db/wp-sync-db-cli

WP Sync DB CLI Addon

9252.8k](/packages/wp-sync-db-wp-sync-db-cli)[sylvrs/libmarshal

A library used for marshalling/unmarshalling data into objects

161.1k](/packages/sylvrs-libmarshal)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
