Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mazanax committed Apr 20, 2021
1 parent 78aa1ae commit be413be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%207.4-8892BF.svg?style=flat-square)](https://php.net/)
[![Latest Stable Version](https://poser.pugx.org/mazanax/composer-project-version/v/stable)](https://packagist.org/packages/mazanax/composer-project-versionpaginator)
[![Latest Stable Version](https://poser.pugx.org/mazanax/composer-project-version/v/stable)](https://packagist.org/packages/mazanax/composer-project-version)
[![Build Status](https://travis-ci.com/mazanax/composer-package-version.svg?branch=master&status=started)](https://travis-ci.com/github/mazanax/composer-package-version)
[![codecov](https://codecov.io/gh/mazanax/composer-package-version/branch/master/graph/badge.svg?token=dZRpIiX3kg)](https://codecov.io/gh/mazanax/composer-package-version)

# Composer Package Version
Helper function to get a current version from `composer.json` file in your project

If you want to get separate values of major/minor/patch version, you can try [mazanax/composer-version-semver](https://packagist.org/packages/mazanax/composer-version-semver)

## Installation
`composer require mazanax/composer-project-version`

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "mazanax/composer-project-version",
"description": "Small helper to get current composer project version",
"type": "library",
"version": "1.0.0",
"version": "1.0.1",
"license": "MIT",
"authors": [
{
Expand Down

0 comments on commit be413be

Please sign in to comment.