From 5853cd9e3c57e2b532dfb4160b24fb43a3e9ebe1 Mon Sep 17 00:00:00 2001 From: Jesus Vieira Date: Fri, 5 Oct 2018 11:11:21 -0400 Subject: [PATCH] Setting ZF Name in Readme.md --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 46ca935..e89e937 100644 --- a/README.md +++ b/README.md @@ -3,10 +3,10 @@ DOMPDFModule [![Build Status](https://secure.travis-ci.org/raykolbe/DOMPDFModule.png?branch=master)](http://travis-ci.org/raykolbe/DOMPDFModule) [![Code Climate](https://codeclimate.com/github/raykolbe/DOMPDFModule/badges/gpa.svg)](https://codeclimate.com/github/raykolbe/DOMPDFModule) [![Test Coverage](https://codeclimate.com/github/raykolbe/DOMPDFModule/badges/coverage.svg)](https://codeclimate.com/github/raykolbe/DOMPDFModule/coverage) [![Total Downloads](https://poser.pugx.org/dino/dompdf-module/downloads)](https://packagist.org/packages/dino/dompdf-module) [![License](https://poser.pugx.org/dino/dompdf-module/license)](https://packagist.org/packages/dino/dompdf-module) -The DOMPDF module integrates the DOMPDF library with Zend Framework 2 with minimal effort on the consumer's end. +The DOMPDF module integrates the DOMPDF library with Zend Framework with minimal effort on the consumer's end. ## Requirements - - [Zend Framework 2](http://www.github.com/zendframework/zf2) + - [Zend Framework](https://github.com/zendframework/zendframework) ## Installation Installation of DOMPDFModule uses PHP Composer. For more information about @@ -27,7 +27,7 @@ PHP Composer, please visit the official [PHP Composer site](http://getcomposer.o 3. install PHP Composer via `curl -s http://getcomposer.org/installer | php` (on windows, download http://getcomposer.org/installer and execute it with PHP) 4. run `php composer.phar install` - 5. open `my/project/directory/config/application.config.php` and add the following key to your `modules`: + 5. open `my/project/directory/config/application.config.php` and add the following key to your `modules`: ```php 'DOMPDFModule', @@ -54,12 +54,12 @@ class ReportController extends AbstractActionController $pdf->setOption('display', PdfModel::DISPLAY_ATTACHMENT); // Triggers browser to prompt "save as" dialog $pdf->setOption('paperSize', 'a4'); // Defaults to "8x11" $pdf->setOption('paperOrientation', 'landscape'); // Defaults to "portrait" - + // To set view variables $pdf->setVariables(array( 'message' => 'Hello' )); - + return $pdf; } } @@ -75,7 +75,7 @@ So you want to contribute? Fantastic! Don't worry, it's easy. Local builds, test docker build -t dino/dompdf-module . docker run -v composer-cache:/var/lib/composer -v ${PWD}:/opt/app dino/dompdf-module ``` - + Super easy, right? Here's a quick walk through as to what's going on. * `docker build -t dino/dompdf-module .` builds a docker image that will be used for each run (i.e. each time `docker run` is executed) and tags it with the name `dino/dompdf-module`.