Download the PHP package uthando-cms/uthando-dompdf without Composer
On this page you can find all versions of the php package uthando-cms/uthando-dompdf. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download uthando-cms/uthando-dompdf
More information about uthando-cms/uthando-dompdf
Files in uthando-cms/uthando-dompdf
Package uthando-dompdf
Short Description A Zend Framework 2 module for incorporating DOMPDF support.
License MIT
Homepage http://shaunfreeman.name
Informations about the package uthando-dompdf
UthandoDomPdf
This project is based on https://github.com/raykolbe/DOMPDFModule. I have adapted it for Uthando CMS but it can be used independently. The UthandoDomPdf module integrates the DOMPDF library with Zend Framework 2 with minimal effort on the consumer's end.
Requirements
Installation
Installation of UthandoDomPdf uses PHP Composer. For more information about PHP Composer, please visit the official PHP Composer site.
Installation steps
cd my/project/directory
-
create a
composer.json
file with following contents: - install PHP Composer via
curl -s http://getcomposer.org/installer | php
(on windows, download http://getcomposer.org/installer and execute it with PHP) - run
php composer.phar install
- open
my/project/directory/config/application.config.php
and add the following key to yourmodules
:
Configuration options
You can override options via the uthando_dompdf
key in your local or global config files. See UthandoDomPdf/config/module.config.php.dist for config options.
Usage
Admin Settings and Configuration
There is an admin setting page. It's not enabled by default. If you are using UthandoAdmin you can enable the routes, navigation and acl rules by adding
to you global config in config/autoload/global.php
and add
to your composer.json file then do and php composer.phar update
to update your dependencies.
If you are not using the UthandoAdmin module you can still use the settings page but must configure the routes, navigation and acl rules manually, please not that if you do not have any authentication checks then the settings page will be available to the public. You can use the files in config folder as a basis to set up the admin page.
The Admin settings page also requires that you have Twitter Bootstrap 3 and JQuery enabled in your layout template.
You can also manually setup the options by copying config/module.config.php.dist
to your config\autoload
folder and renaming it to uthando-dompdf.local.php
.
Contributing
If you like to help improve this module please clone the repository and send me a pull request, please also include unit tests for the changes/additions you make.
To-do
- Add command line support.
All versions of uthando-dompdf with dependencies
zendframework/zend-config Version 2.*
zendframework/zend-eventmanager Version 2.*
zendframework/zend-http Version 2.*
zendframework/zend-loader Version 2.*
zendframework/zend-modulemanager Version 2.*
zendframework/zend-mvc Version 2.*
zendframework/zend-servicemanager Version 2.*
zendframework/zend-stdlib Version 2.*
zendframework/zend-view Version 2.*
uthando-cms/uthando-common Version 2.*
dompdf/dompdf Version 0.*
neilime/zf2-twb-bundle Version 2.*@stable