user

CakePHP 3 and FPDF

Introduction

David Fava

David Fava


LATEST POSTS

Run containers with docker-compose and view logs 14th August, 2018

How to issue ACMEv2 Wildcard with Certbot on Ubuntu 18.04 14th July, 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

  • This site uses Akismet to reduce spam. Learn how your comment data is processed.

    View Comments (1) ...
    Navigation