user

CakePHP 3 and FPDF

Introduction

David Fava

David Fava


LATEST POSTS

Converting an Array of Objects to an Object. 19th May, 2018

Installing Wok and Kimchi on CentOS 7.x 24th March, 2018

CakePHP 3

CakePHP 3 and FPDF

Posted on .

FPDF is a PHP class which allows to generate PDF files with pure PHP. which can be easily integrated in our CakePHP 3 app.

Install FPDF via composer:

Add this at the top of our controller file:

Create a test PDF in one of your actions:
David Fava

David Fava

Comments
  • user

    AUTHOR clarel

    Posted on 2:08 am October 17, 2017.
    Reply

    Hello!
    I’m new on Cakephp, and i’m trying to import this library.
    I did exactly what u said in your steps, and still doesnt work:
    “Error: Class ‘Setasign\Fpdf’ not found ”

    is there anyway u can help me?
    i already tryig to import tecknickcom/tcpf and i’m unable to do!

    I’m working with A1 certificate and i need to open a pdf file and add a signature with my private_key!

    CYA

  • View Comments (1) ...
    Navigation