Skip to content

Commit ff05167

Browse files
committed
doc: readme
1 parent 2235a36 commit ff05167

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

readme.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
## adhocore/underscore
2+
3+
[![Latest Version](https://img.shields.io/github/release/adhocore/underscore.svg?style=flat-square)](https://github.com/adhocore/underscore/releases)
4+
[![Travis Build](https://img.shields.io/travis/adhocore/underscore/master.svg?style=flat-square)](https://travis-ci.org/adhocore/underscore?branch=master)
5+
[![Scrutinizer CI](https://img.shields.io/scrutinizer/g/adhocore/underscore.svg?style=flat-square)](https://scrutinizer-ci.com/g/adhocore/underscore/?branch=master)
6+
[![Codecov branch](https://img.shields.io/codecov/c/github/adhocore/underscore/master.svg?style=flat-square)](https://codecov.io/gh/adhocore/underscore)
7+
[![StyleCI](https://styleci.io/repos/108437038/shield)](https://styleci.io/repos/108437038)
8+
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE)
9+
10+
11+
## Installation
12+
13+
Requires PHP5.4 or later.
14+
15+
```bash
16+
composer require adhocore/underscore
17+
18+
```
19+
20+
## Usage
21+
```php
22+
use Ahc\Underscore\Underscore;
23+
24+
$u = new Underscore([1, 2, 3]);
25+
26+
$u->contains(1); // true
27+
$u->contains(4); // false
28+
```

0 commit comments

Comments
 (0)