From 9e19c315433b39a81f048cdea95164a3adffcf66 Mon Sep 17 00:00:00 2001 From: Dominique FOURNIER Date: Wed, 20 Jul 2022 13:32:16 +0200 Subject: [PATCH] README : add composer.json content to install DomFramework from Git repository --- README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 95f4fb7..1de761a 100644 --- a/README.md +++ b/README.md @@ -4,4 +4,20 @@ This library is small : one feature in one file. Well tested, developped from 2005 without interruption. -# Install from Composer ! +# Install from Composer +Create a composer.json file with content : +``` +{ + "name": "mynamespace/my-project-that-uses-composer", + "repositories": [ + { + "name": "dominique.fournier/domframework", + "type": "vcs", + "url": "https://git.fournier38.fr/Dominique.Fournier/DomFramework.git" + } + ], + "require": { + "dominique.fournier/domframework": "dev-master" + } +} +```