PHPackages                             snono/report-builder - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [PDF &amp; Document Generation](/categories/documents)
4. /
5. snono/report-builder

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

snono/report-builder
====================

Generate PDF Report for laravel design by snono systems

01PHP

Since Nov 19Pushed 7y ago1 watchersCompare

[ Source](https://github.com/yasergh/report-builder)[ Packagist](https://packagist.org/packages/snono/report-builder)[ RSS](/packages/snono-report-builder/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Report Builder
==============

[](#report-builder)

Generate PDF report like (invoice, receipt ) for laravel

Requirement
-----------

[](#requirement)

```
* "php >= 5.4.0
* ext-gd
* ext-dom
* ext-mbstring
* phenx/php-font-lib
* phenx/php-svg-lib
* ext-bcmath
* illuminate/support
* illuminate/view
* nesbot/carbon

```

---

Install with composer
---------------------

[](#install-with-composer)

```
composer require snono/report-builder
```

Publish the Configration
------------------------

[](#publish-the-configration)

```
php artisan vendor:publish --tag=report-bulder
```

Example Usage: First you need add import class ReportBuilder

```
use Snono\ReportBuilder\Builder\Classes\ReportBuilder;
```

see example code blow

```
$invoice = ReportBuilder::make()
            ->template('default')
            ->language('ar')
            ->currency('IQD')
            ->orientation('portrait')
            ->isRTL(false)
            ->addItem('ماتزال تداعيات التقييم الذي أصدرته وكالة ', 10.25, 2, 1412)
            ->addItem('Test Item 2', 5, 2, 923)
            ->addItem('Test Item 3', 15.55, 5, 42)
            ->addItem('Test Item 4', 1.25, 1, 923)
            ->addItem('Test Item 4', 1.25, 1, 923)
            ->addItem('Test Item 4', 1.25, 1, 923)
            ->addItem('Test Item 4', 1.25, 1, 923)
            ->addItem('Test Item 4', 1.25, 1, 923)
            ->number(4021)
            ->tax(21)
            ->notes('Lrem ipsum dolor sit amet, consectetur adipiscing elit.')
            ->customer([
                        'name' => 'Èrik Campobadal Forés',
            'id' => '12345678A',
            'phone' => '+34 123 456 789',
            'location' => 'C / Unknown Street 1st',
            'zip' => '08241',
            'city' => 'Manresa',
            'country' => 'Spain',
            ])
            ->download('demo');
```

##### Notes

[](#notes)

The PHP extension bcmath is required so check you php version by command

```
php -v

```

```
sudo apt install php7.2-bcmath

```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 50% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3448788?v=4)[Yaser](/maintainers/yasergh)[@yasergh](https://github.com/yasergh)

---

Top Contributors

[![snonosystems-old](https://avatars.githubusercontent.com/u/31889306?v=4)](https://github.com/snonosystems-old "snonosystems-old (1 commits)")[![yasergh](https://avatars.githubusercontent.com/u/3448788?v=4)](https://github.com/yasergh "yasergh (1 commits)")

### Embed Badge

![Health badge](/badges/snono-report-builder/health.svg)

```
[![Health](https://phpackages.com/badges/snono-report-builder/health.svg)](https://phpackages.com/packages/snono-report-builder)
```

###  Alternatives

[phpoffice/phpspreadsheet

PHPSpreadsheet - Read, Create and Write Spreadsheet documents in PHP - Spreadsheet engine

13.9k293.5M1.3k](/packages/phpoffice-phpspreadsheet)[spatie/browsershot

Convert a webpage to an image or pdf using headless Chrome

5.2k32.1M102](/packages/spatie-browsershot)[smalot/pdfparser

Pdf parser library. Can read and extract information from pdf file.

2.7k34.5M216](/packages/smalot-pdfparser)[barryvdh/laravel-snappy

Snappy PDF/Image for Laravel

2.8k24.8M48](/packages/barryvdh-laravel-snappy)[openspout/openspout

PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

1.1k57.6M131](/packages/openspout-openspout)[keboola/csv

Keboola CSV reader and writer

1451.8M21](/packages/keboola-csv)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
