tmtfactory/printing-oms-bundle

Printing Order Management System bundle for Symfony

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Language:JavaScript

Type:symfony-bundle

v1.0.2 2019-02-04 10:21 UTC

This package is auto-updated.

Last update: 2022-05-04 17:51:20 UTC


README

Build Status Latest Stable Version Total Downloads Latest Unstable Version License

Installation

Applications that use Symfony Flex

Open a command console, enter your project directory and execute:

$ composer require tmtfactory/printing-oms-bundle

Applications that don't use Symfony Flex

Step 1: 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 tmtfactgory/printing-oms-bundle

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

Step 2: 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 Tmtfactory\PrintingOmsBundle\TmtfactoryPrintingOmsBundle(),
        ];

        // ...
    }

    // ...
}

Usage

Models

This bundle provides two interfaces to model Orders and OrderLines. So they must be implemented in order to build up a functional OMS.

Repositories

As seen in Models, this bundle provides two interfaces to model Order and OrderLine repositories.

Controllers

This bundle provides two controllers:

  • A controller that serves the React front
  • A controller that exposes an API Rest

Front

Frontend has been developed with React and uses Webpack encore in order to build it up.

To build up or extend the front, please import or require these files in your actual front:

  • require('../../vendor/tmtfactory/printing-oms-bundle/src/Resources/public/js/app.js');
  • @import '../../vendor/tmtfactory/printing-oms-bundle/src/Resources/public/scss/global';