2017 © Pedro Peláez
 

symfony-bundle document-management-bundle

Symfony bundle to handle document management features like storage, pdf generation

image

idci/document-management-bundle

Symfony bundle to handle document management features like storage, pdf generation

  • Friday, May 25, 2018
  • by idciconsulting
  • Repository
  • 2 Watchers
  • 1 Stars
  • 45 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 9 Versions
  • 55 % Grown

The README.md

DocumentManagementBundle

DocumentManagementBundle is a Symfony bundle to manage documents like pdf generation, storage, DMS., (*1)

Installation

Add dependencies in your composer.json file:, (*2)

"require": {
    ...
    "idci/document-management-bundle": "~1.0"
},

Install these new dependencies in your application using composer:, (*3)

$ make composer-update

Register needed bundles in your application kernel:, (*4)

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new FOS\RestBundle\FOSRestBundle(),
        new JMS\SerializerBundle\JMSSerializerBundle(),
        new Knp\Bundle\SnappyBundle\KnpSnappyBundle(),
        new IDCI\Bundle\DocumentManagementBundle\IDCIDocumentManagementBundle(),
    );
}

Import the bundle configuration:, (*5)

# app/config/config.yml

imports:
    - { resource: @IDCIDocumentManagementBundle/Resources/config/config.yml }

Import the bundle routing:, (*6)

# app/config/routing.yml

idci_document_api:
    resource: "@IDCIDocumentManagementBundle/Resources/config/routing.yml"
    prefix: /api

Define the binary path for wkhtmltopdf:, (*7)

# app/config/parameters.yml
parameters:
    document_management_snappy_pdf_binary_path: '%kernel.root_dir%/../bin/wkhtmltopdf'

That's it, you are ready to use it., (*8)

Tests

Install bundle dependencies:, (*9)

$ make composer-update

To execute unit tests:, (*10)

$ make phpunit

To execute functional tests:, (*11)

$ make phpunit-functional

The Versions

10/02 2018

dev-feature/generator

dev-feature/generator

Symfony bundle to handle document management features like storage, pdf generation

  Sources   Download

MIT

The Requires

 

The Development Requires

document dms document management ged document generation