Download the PHP package jimmyjs/pdf-report-generators without Composer

On this page you can find all versions of the php package jimmyjs/pdf-report-generators. 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 pdf-report-generators

This package is deprecated!

Please go to https://github.com/Jimmy-JS/laravel-report-generator instead!

Laravel - Pdf Report Generators

Rapidly Generate Simple Pdf Report on Laravel (Using barryvdh/laravel-dompdf)

This package provides a simple pdf generators to speed up your workflow

Installation

Add package to your composer:

composer require jimmyjs/pdf-report-generators

Then, add the ServiceProvider to the providers array in config/app.php

Jimmyjs\PdfReportGenerators\ServiceProvider::class,

Usage

This package is make use of chunk method (Eloquent / Query Builder) so it can handle big data without memory exhausted.

Also, You can use PdfReportGenerator facade for shorter code that already registered as an alias for Jimmyjs\PdfReportGenerators\Facade class.

Example Code

Note

Will produce a same result with:

So you can do some eager loading like:

Output Report

Output Report with Grand Total

Example Code With Group By

Or, you can total all records by group using groupBy method

PLEASE TAKE NOTE TO SORT GROUPBY COLUMN VIA QUERY FIRST TO USE THIS GROUP BY METHOD.

Output Report With Group By

Output Report with Group By Grand Total

Other Method

1. setPaper($paper = 'a4')

Description: Set Paper Size

Params:

Usage:

2. setCss(Array $styles)

Description: Set a new custom styles with given selector and style to apply

Params:

Usage:

3. setOrientation($orientation = 'portrait')

Description: Set Orientation to Landscape or Portrait

Params:

Usage:


All versions of pdf-report-generators with dependencies

PHP Build Version
Package Version
Requires php Version >=5.5.9
illuminate/support Version ~5
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 jimmyjs/pdf-report-generators contains the following files

Loading the files please wait ....