From 74728125f4c1dbae4c513d01bc83724c18c4108f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Tue, 3 Apr 2018 07:07:40 +0200 Subject: [PATCH] Fix readme --- README.md | 36 ++++++++++++++++++++++++++++++++---- 1 file changed, 32 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ebc9136..ee7b0bb 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,38 @@ Installation Applications that use Symfony Flex ---------------------------------- -Open a command console, enter your project directory and execute: +Add bundle custom repository to your project's `composer.json` file: + +```json +{ + ..., + "repositories": [ + { + "type": "package", + "package": { + "name": "rapsys/packbundle", + "version": "dev-master", + "source": { + "type": "git", + "url": "https://git.rapsys.eu/packbundle", + "reference": "master" + }, + "autoload": { + "psr-4": { + "Rapsys\\PackBundle\\": "" + } + } + } + } + ], + ... +} +``` + +Then open a command console, enter your project directory and execute: ```console -$ composer require +$ composer require rapsys/packbundle dev-master ``` Applications that don't use Symfony Flex @@ -19,7 +47,7 @@ Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle: ```console -$ composer require +$ composer require rapsys/packbundle dev-master ``` This command requires you to have Composer installed globally, as explained @@ -42,7 +70,7 @@ class AppKernel extends Kernel { $bundles = array( // ... - new \\(), + new Rapsys\PackBundle\RapsysPackBundle(), ); // ... -- 2.41.1