Download the PHP package buse974/dms without Composer
On this page you can find all versions of the php package buse974/dms. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package dms
Short Description Document management system for ZF2
License MIT
Homepage https://github.com/buse974/Dms
Informations about the package dms
DMS
Document management system for ZF2
Description
The DMS lets you manage your documents for Zend Framework 2.
Installation
Prequisites :
Before installing DMS module, please be sure the following PHP depencies are installed on your apache server:
- libreoffice-headers
- uniconv
With composer (recommended) :
Composer helps to manage dependencies in PHP projects. Find more info here: http://getcomposer.org
Add this package (buse974/dms
) to your composer.json
file, or just run the following at the
command line:
By cloning project :
Install the [DMS] (https://github.com/buse974/Dms.git) module by cloning it into ./vendor/
directory.
Post-installation
This package follows the PSR-0 autoloading standard. If you are using composer to install, you just require the generated autoloader:
Install daemon unoconv
Execute the script vendor/buse974/dms/bin/unoconv.sh
like a deamon.
examples
vendor/buse974/dms/bin/unoconv.sh start
vendor/buse974/dms/bin/unoconv.sh stop
Application config file
Enabling it in your application.config.php
file.
Local file config
Copy and paste the following configuration in your config/autoloader/local.php
. You can find this configuration in <application_path>/vendor/buse974/dms/config/local.php.dist
HTTP adapter (if it does not exist yet)
Usage
By DMS service
Add a document
To access this file use this url http://\<dns>/data/\<token> .
Resize a document
Following the previous example
To access this file use this url http://\<dns>/data/\<new_token> .
By DMS manager
Add and get a document
Access by url
Document can be accessed by URL.
Urls are formated like this :
http://mondomaine.com/<KEY>/<TOKEN>-<SIZE>[<NUM-PAGE>].<FORMAT>
Documents are automatically converted and created if they do not exist.
KEY can be
data
size
description
format
encoding
Examples
Basic document
http://mondomaine.com/data/2b5c466bf06d665b479e85c48ec733d235d138
This url displays document with token 2b5c466bf06d665b479e85c48ec733d235d138
Document with size convertion
http://mondomaine.com/data/2b5c466bf06d665b479e85c48ec733d235d138-300x300
This url displays document with token 2b5c466bf06d665b479e85c48ec733d235d138 and converts it in 300x300 pixel
Document with format convertion
http://mondomaine.com/data/2b5c466bf06d665b479e85c48ec733d235d138.pdf
This url displays document with token 2b5c466bf06d665b479e85c48ec733d235d138 and converts it in pdf
All versions of dms with dependencies
php Version >=5.4
zendframework/zend-file Version 2.4.9
zendframework/zend-servicemanager Version *
zendframework/zend-mvc Version *
zendframework/zend-modulemanager Version *
zendframework/zend-loader Version *
zendframework/zend-config Version *
zendframework/zend-view Version *
zendframework/zend-serializer Version *
zendframework/zend-log Version *
zendframework/zend-i18n Version *