From 48e9fd9477c9d93fed099e41af05bbc0a3aa33da Mon Sep 17 00:00:00 2001 From: Alex Nikitin Date: Fri, 30 Mar 2018 11:52:11 -0700 Subject: [PATCH 1/2] updated readme to have single-line installation command via composer --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index b8fb37a..84a64be 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,19 @@ API documentation can be found at https://www.semantics3.com/docs/ semantics3-php can be installed through composer: +```bash +php composer.phar --dev require "semantics3/semantics3-php @dev" +``` + +or alter your `composer.json` file +```json + ... + "require-dev": { + "semantics3/semantics3-php": "@dev" + } + ... +``` +and do the following command: ```bash php composer.phar install ``` From 84181a0e072c2bb55ef8743e0ff7afe7ebb8910f Mon Sep 17 00:00:00 2001 From: Alex Nikitin Date: Fri, 30 Mar 2018 11:55:01 -0700 Subject: [PATCH 2/2] minor update --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 84a64be..eee4664 100644 --- a/README.md +++ b/README.md @@ -10,16 +10,16 @@ API documentation can be found at https://www.semantics3.com/docs/ semantics3-php can be installed through composer: ```bash -php composer.phar --dev require "semantics3/semantics3-php @dev" +php composer.phar require "semantics3/semantics3-php @dev" ``` or alter your `composer.json` file ```json - ... - "require-dev": { + "require": { + ... "semantics3/semantics3-php": "@dev" + ... } - ... ``` and do the following command: ```bash