Download the PHP package synoptik-labs/magento2-pdf-generator2 without Composer

On this page you can find all versions of the php package synoptik-labs/magento2-pdf-generator2. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package magento2-pdf-generator2

Magento Invoice PDF Generator

Fork from https://github.com/EaDesgin/magento2-pdf-generator2 to allow Magento 2.4 and up.

Maintainability

Magento 2 Invoice PDF Generator - helps you to customize the pdf templates for Magento 2. If you have an enabled template and a default template for the store you need your template the system will print the pdf template.

How to use the module

Add a new template from the "Add new template" button. This will prompt you with a set of fields.

The extension will allow you to harness all the power of the email template system and more. You can add phtml files to your template for very advanced configurations ({Error in template processing} and {Error in template processing}). You can add your own item processing layout so you can output taxes item prices as you want ({{layout area="frontend" handle="sales_email_order_invoice_items" invoice=$invoice order=$order}}).

You can also localize your template using the trans directive.

Using the extension you are able to change the invoice PDF as you desire. The PDF Generator has multiple features as follows:

For the variable system you can read the Magento domentation here. We use the exact same system to generate the variables.

Supported Versions

Installation

You can install the module via composer or manually by adding it to the app/code directory. The module is available on packagist.org

Via composer:

Requirements


All versions of magento2-pdf-generator2 with dependencies

PHP Build Version
Package Version
Requires php Version ~7.4.0|~8.1.0|~8.2.0
magento/module-backend Version ~102.0
magento/module-sales Version ~103.0
magento/framework Version ~103.0
eadesignro/module-eacore Version ^0.3.1
mpdf/mpdf Version ~8.2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package synoptik-labs/magento2-pdf-generator2 contains the following files

Collapse All

i18l

  en_US.csv

etc

   adminhtml

    di.xml
    menu.xml
    routes.xml
    system.xml
  acl.xml
  config.xml
  di.xml
  module.xml

Ui

   Component

     Listing

Test

   Php

     _files
       phpcs
       phpmd
       phpunit

   Unit

     Helper
     Model

Setup

  InstallData.php
  InstallSchema.php

view

   adminhtml

     layout
     ui_component

Model

   Email

    Message.php
    SenderBuilder.php
    TransportBuilder.php
    VariablesFacrory.php

   Plugin

    Config.php
    Printinvoice.php

   ResourceModel

     Pdfgenerator
    Pdfgenerator.php

   Source

    AbstractSource.php
    TemplateActive.php
    TemplatePaperForm.php
    TemplatePaperOrientation.php
    TemplateType.php

   Template

    DataProvider.php
    Processor.php
  FactoryInterface.php
  MpdfFactory.php
  Pdfgenerator.php
  PdfgeneratorFactory.php
  PdfgeneratorRepository.php

Helper

  Data.php
  Pdf.php

Controller

   Adminhtml

     Order
     Templates
     Variable
    Templates.php

Block

   Adminhtml

     Pdfgenerator

Api

   Data

    TemplatesInterface.php
  TemplatesRepositoryInterface.php
LICENSE
composer.json
.gitignore
registration.php
README.md