diff --git a/README.md b/README.md index ebdeafd..88fb326 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ A few simple functions to format any kind of PHP value or type as human-readable [![PHP Version](https://img.shields.io/badge/php-8.0%2B-blue.svg)](https://packagist.org/packages/mindplay/readable) [![Build Status](https://github.com/mindplay-dk/readable/actions/workflows/ci.yml/badge.svg)](https://github.com/mindplay-dk/readable/actions/workflows/ci.yml) [![Code Coverage](https://scrutinizer-ci.com/g/mindplay-dk/readable/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/mindplay-dk/readable/?branch=master) +[![License](https://img.shields.io/badge/license-MPL--2.0-green)](https://opensource.org/license/mpl-2-0) Mainly, this is intended to help you produce better error-messages: diff --git a/composer.json b/composer.json index 9cc06bd..dd143af 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "mindplay/readable", "type": "library", "description": "Formats PHP values as human-readable strings", - "license": "MIT", + "license": "MPL-2.0", "require": { "php": "^8.0" },