From e42fa9d2ae5dd660dbd0fb573d94c61e5a0dbb02 Mon Sep 17 00:00:00 2001 From: Matthieu Napoli Date: Sun, 9 Oct 2016 23:43:05 +0200 Subject: [PATCH] Move installation instructions at the top of the README --- README.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 8bcb42e..2677360 100755 --- a/README.md +++ b/README.md @@ -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 @@ -115,9 +120,3 @@ class Action extends Enum const EDIT = 'edit'; } ``` - -## Installation - -``` -composer require myclabs/php-enum -```