loevgaard/dandomain-consignment-bundle

Symfony bundle to handle consignment manufacturers in Dandomain

v1.0.2 2018-06-08 11:34 UTC

This package is auto-updated.

Last update: 2024-04-06 08:41:01 UTC


README

Latest Version on Packagist Software License Build Status Coverage Status Quality Score

Symfony bundle to handle consigment manufacturers in Dandomain.

Installation

Step 1: Install dependencies

This bundle depends on the Doctrine2 Behaviors Bundle by KNP Labs.

Install that bundle first, and then return to this page.

Step 2: Download the bundle

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

$ composer require loevgaard/dandomain-consignment-bundle

This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.

Step 3: Enable the Bundle

Then, enable the bundle by adding it to the list of registered bundles in the app/AppKernel.php file of your project:

<?php
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = [
            // ...
            new Loevgaard\DandomainConsignmentBundle\LoevgaardDandomainConsignmentBundle(),
        ];

        // ...
    }

    // ...
}

Step 4: Configure the bundle

# app/config/config.yml

loevgaard_dandomain_consignment:
    report_dir: "insert directory"

Step 5: Update your database schema

$ php bin/console doctrine:schema:update --force

or use Doctrine Migrations.