2017 © Pedro PelĂĄez
 

symfony-bundle dandomain-stock-bundle

Symfony bundle to handle stock i Dandomain, especially stock movements

image

loevgaard/dandomain-stock-bundle

Symfony bundle to handle stock i Dandomain, especially stock movements

  • Wednesday, March 14, 2018
  • by loevgaard
  • Repository
  • 1 Watchers
  • 0 Stars
  • 32 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 14 % Grown

The README.md

Dandomain Stock Bundle

Latest Version on Packagist ![Software License][ico-license] Build Status ![Coverage Status][ico-scrutinizer] Quality Score, (*1)

Symfony bundle to handle stock i Dandomain, especially stock movements, (*2)

Installation

Step 1: Install dependencies

This bundle depends on the Doctrine2 Behaviors Bundle by KNP Labs., (*3)

Install that bundle first, and then return to this page., (*4)

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:, (*5)

$ composer require loevgaard/dandomain-stock-bundle

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

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:, (*7)

<?php
// app/AppKernel.php

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

        // ...
    }

    // ...
}

Step 4: Configure the bundle

# app/config/config.yml
loevgaard_dandomain_stock:
    dandomain_order_state_ids: [3]

Step 5: Update your database schema

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

or use Doctrine Migrations., (*8)

The Versions