idci/document-management-bundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

idci/document-management-bundle

Composer 安装命令:

composer require idci/document-management-bundle

包简介

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

README 文档

README

DocumentManagementBundle is a Symfony bundle to manage documents like pdf generation, storage, DMS.

Installation

Add dependencies in your composer.json file:

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

Install these new dependencies in your application using composer:

$ make composer-update

Register needed bundles in your application kernel:

<?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:

# app/config/config.yml

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

Import the bundle routing:

# app/config/routing.yml

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

Define the binary path for wkhtmltopdf:

# 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.

Tests

Install bundle dependencies:

$ make composer-update

To execute unit tests:

$ make phpunit

To execute functional tests:

$ make phpunit-functional

统计信息

  • 总下载量: 333
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-02-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固