Skip to content

Commit

Permalink
Move installation instructions at the top of the README
Browse files Browse the repository at this point in the history
  • Loading branch information
mnapoli authored Oct 9, 2016
1 parent 9e7ddd7 commit e42fa9d
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ Using an enum instead of class constants provides the following advantages:

This Enum class is not intended to replace class constants, but only to be used when it makes sense.

## Installation

```
composer require myclabs/php-enum
```

## Declaration

Expand Down Expand Up @@ -115,9 +120,3 @@ class Action extends Enum
const EDIT = 'edit';
}
```

## Installation

```
composer require myclabs/php-enum
```

0 comments on commit e42fa9d

Please sign in to comment.