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 <package-name>
+$ composer require rapsys/packbundle dev-master
```
Applications that don't use Symfony Flex
following command to download the latest stable version of this bundle:
```console
-$ composer require <package-name>
+$ composer require rapsys/packbundle dev-master
```
This command requires you to have Composer installed globally, as explained
{
$bundles = array(
// ...
- new <vendor>\<bundle-name>\<bundle-long-name>(),
+ new Rapsys\PackBundle\RapsysPackBundle(),
);
// ...