PHPackages                             eiriksm/semver-to-drupal - 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. eiriksm/semver-to-drupal

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

eiriksm/semver-to-drupal
========================

Convert semver versions to Drupal git tags.

06PHP

Since Jul 23Pushed 8y ago1 watchersCompare

[ Source](https://github.com/eiriksm/semver-to-drupal-tag)[ Packagist](https://packagist.org/packages/eiriksm/semver-to-drupal)[ RSS](/packages/eiriksm-semver-to-drupal/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

semver-to-drupal-tag
====================

[](#semver-to-drupal-tag)

[![Build Status](https://camo.githubusercontent.com/11f0eff79ef0e343243ec0fbe7e0ede4c2f95dbce3fb5ba68f5482677ccbdd88/68747470733a2f2f7472617669732d63692e6f72672f656972696b736d2f73656d7665722d746f2d64727570616c2d7461672e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/eiriksm/semver-to-drupal-tag)[![Coverage Status](https://camo.githubusercontent.com/6778b14c7225872b88a086cd2d5207607741f25cc1a4ee81b93db6bf7171afcf/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f656972696b736d2f73656d7665722d746f2d64727570616c2d7461672f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/eiriksm/semver-to-drupal-tag?branch=master)

What is it?
-----------

[](#what-is-it)

A super small library to convert semver versions to Drupal git tags.

Why is it?
----------

[](#why-is-it)

On [Violinist.io](https://violinist.io), the continuous automatic composer updater, we retrieve the changelog between versions when we create pull requests to your projects. So to retrieve these based on your composer files, we need to convert between these formats.

Installation
------------

[](#installation)

```
composer require semver-to-drupal

```

Usage
-----

[](#usage)

```
