tmtfactory / printing-oms-bundle
Printing Order Management System bundle for Symfony
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Language:JavaScript
Type:symfony-bundle
Requires
- php: ^7.1.3
- friendsofsymfony/rest-bundle: ^2.3
- jms/serializer: ^1.12
- jms/serializer-bundle: ^2.4
- league/tactician-bundle: ^1.1
- sensio/framework-extra-bundle: ^5.1
- symfony/twig-bundle: ^3.4 || ^4.1
- symfony/validator: ^3.4 || ^4.1
- symfony/webpack-encore-bundle: ^1.1
- symfony/webpack-encore-pack: ^1.0
- symfony/yaml: ^3.4 || ^4.1
Requires (Dev)
- symfony/phpunit-bridge: ^4.1
This package is auto-updated.
Last update: 2024-12-04 22:57:24 UTC
README
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';