From 4fa74ab5f52c1e41edabe1b2e9a75f2c4472424f Mon Sep 17 00:00:00 2001 From: Wilmer Arambula Date: Sun, 19 Nov 2023 12:22:12 -0300 Subject: [PATCH] Add instalation `README.md`. --- README.md | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e718617..4f8528c 100644 --- a/README.md +++ b/README.md @@ -21,11 +21,23 @@

-## Requirements +## Installation -The minimun version of `PHP` required by this package is `PHP 8.1`. +The preferred way to install this extension is through [composer](https://getcomposer.org/download/). -For install this package, you need [composer](https://getcomposer.org/). +Either run + +``` +composer require --dev --prefer-dist yii2-extensions/nested-sets-behavior +``` + +or add + +``` +"yii2-extensions/nested-sets-behavior": "dev-main" +``` + +to the require-dev section of your `composer.json` file. ## Quality code