Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/eiriksm/semver-to-drupal-tag

Convert a semver (as used for composer) to a Drupal tag
https://github.com/eiriksm/semver-to-drupal-tag

composer drupal php

Last synced: about 2 months ago
JSON representation

Convert a semver (as used for composer) to a Drupal tag

Awesome Lists containing this project

README

        

# semver-to-drupal-tag

[![Build Status](https://travis-ci.org/eiriksm/semver-to-drupal-tag.svg?branch=master)](https://travis-ci.org/eiriksm/semver-to-drupal-tag)
[![Coverage Status](https://coveralls.io/repos/github/eiriksm/semver-to-drupal-tag/badge.svg?branch=master)](https://coveralls.io/github/eiriksm/semver-to-drupal-tag?branch=master)

## What is it?

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

## 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

```
composer require semver-to-drupal
```

## Usage

```php