Skip to content

Commit

Permalink
Update instructions for different versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
EAB Development Team committed Jun 5, 2017
1 parent f917fc8 commit f677055
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions README.md
Expand Up @@ -31,16 +31,20 @@ Licensed under [GNU General Public License 2.0](http://www.gnu.org/licenses/gpl-

Requirements
------------
Requires eZ Publish 5.
Requires eZ Publish 5 or [eZ Platform](https://ezplatform.com).

Installation
------------

1. You can use composer to install the bundle:
1. You can use composer to install the bundle. If you have eZ Platform, use version 2:

composer require --update-no-dev --prefer-dist eab/unique-datatypes-bundle
composer require --update-no-dev --prefer-dist "eab/unique-datatypes-bundle":"~2.0"

Otherwise, clone the bundle using git:
If you have eZ Publish 5, use version 1:

composer require --update-no-dev --prefer-dist "eab/unique-datatypes-bundle":"~1.0"

Or clone the bundle using git:

cd src
git clone https://github.com/eab-dev/UniqueDatatypesBundle.git Eab/UniqueDatatypesBundle
Expand Down

0 comments on commit f677055

Please sign in to comment.