From 544676cffffc26fd371821e9fef895f14c62b0d3 Mon Sep 17 00:00:00 2001 From: Lesnykh Ilia Date: Mon, 6 Feb 2017 11:43:40 +0300 Subject: [PATCH] Update README: add a few lines about library. --- README.md | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 935b51f..2665606 100644 --- a/README.md +++ b/README.md @@ -6,19 +6,20 @@ Simple bitmask implementation [![Build Status](https://travis-ci.org/Aliance/Bitmask.svg?branch=master)](https://travis-ci.org/Aliance/Bitmask) [![Code Coverage](https://scrutinizer-ci.com/g/Aliance/Bitmask/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/Aliance/Bitmask/?branch=master) -Installation +About --- -For install library you need to modify your composer configuration file +Bitmask is a simple PHP implementation of bitwise operations for creating masks. +Can be used for some flags implementation. +Currently supported PHP version: >= 5.5 -``` - "aliance/bitmask": "*" -``` +Installation +--- -And just run installation command +Install the latest version with composer: -``` - $ composer.phar install +```bash +$ composer require aliance/bitmask ``` Usage @@ -49,13 +50,13 @@ For completely tests running just call `phpunit` command from `./vendor/bin` ``` Aliance/Bitmask $ ./vendor/bin/phpunit -PHPUnit 4.8.27 by Sebastian Bergmann and contributors. +PHPUnit 4.8.35 by Sebastian Bergmann and contributors. -........ +........... -Time: 85 ms, Memory: 4.00MB +Time: 68 ms, Memory: 4.25MB -OK (8 tests, 92 assertions) +OK (11 tests, 100 assertions) ``` License