Skip to content

charley-geoffroy/PDFGenarator

Repository files navigation

Composer INIT

If you are not using #Laravel as the example above or any framwork you can download composer with this command

sudo apt install composer

and init new composer.json file to your project

composer init
WARNING: Only if your ne not using FrameWork !

When file is set up if you re not using framework add autoload composant to your composer.json

here an example how you can add it to your composer file :

    "autoload": {
        "psr-4": {
            "App\\": "app/",
        }
    },

Install Laravel

you can install Laravel by using this command or Clone the code Above

composer require laravel/laravel

Install PDFTK server

sudo apt install pdftk

Or by downloading on official website https://www.pdflabs.com/tools/pdftk-server/

Install library to interact with PDFTK server

composer require mikehaertl/php-pdftk

next you can check to vendor/mikehaertl if the folder exist

Feel free to get more informations about the library here : https://github.com/mikehaertl/php-pdftk

Install library to fill image into existing PDF

next you can check to vendor/codedge if the folder exist

composer require codedge/laravel-fpdf

Feel free to get more informations about the library here : https://github.com/codedge/laravel-fpdf

Create PDF form using Adobe ACROBATE

Here an example how to edit form inside PDF using ADOBE acrobate and how to edit field name

alt text

Example of basic usage of both library link together

Find an example of basic usage here

About

Générateur de PDF

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages