Download the PHP package anklimsk/cakephp2-tcpdf without Composer
On this page you can find all versions of the php package anklimsk/cakephp2-tcpdf. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download anklimsk/cakephp2-tcpdf
More information about anklimsk/cakephp2-tcpdf
Files in anklimsk/cakephp2-tcpdf
Download anklimsk/cakephp2-tcpdf
More information about anklimsk/cakephp2-tcpdf
Files in anklimsk/cakephp2-tcpdf
Vendor anklimsk
Package cakephp2-tcpdf
Short Description Generate PDF files with the CakePHP 2.x
License MIT
Homepage https://github.com/anklimsk/cakephp-tcpdf
Package cakephp2-tcpdf
Short Description Generate PDF files with the CakePHP 2.x
License MIT
Homepage https://github.com/anklimsk/cakephp-tcpdf
Please rate this library. Is it a good library?
Informations about the package cakephp2-tcpdf
CakePHP 2.x Generate PDF files plugin
Generate PDF files with the CakePHP
This plugin provides next features:
- Generate PDF files
Installation
- Install the Plugin using composer:
composer require anklimsk/cakephp2-tcpdf
- Add the next line to the end of the file
app/Config/bootstrap.php
:
Using this plugin
-
In your
Model
:- Create the following methods:
-
In your
Controller
:-
Add the
RequestHandler
component toAppController
, and mappdf
to the CakeTCPDF plugin, e.g.: - Add to your controller action:
-
-
In your
View
:-
Create a link to the a action with the extension
.pdf
, e.g.: - Place the View templates in the subdirectory
Pdf
, e.g.:app/View/Invoices/Pdf/index.ctp
-
Use the
CakeTCPDF.exportPdfTable
element in your View file, e.g.: - Use the
CakeTCPDF.exportPdfTableContent
element in your View file, e.g.:
-
All versions of cakephp2-tcpdf with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4
composer/installers Version ^1.5.0
anklimsk/cakephp-extended-test Version ^1.0.0
composer/installers Version ^1.5.0
anklimsk/cakephp-extended-test Version ^1.0.0
The package anklimsk/cakephp2-tcpdf contains the following files
Loading the files please wait ....