PHPackages                             ajtarragona/reports - 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. ajtarragona/reports

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

ajtarragona/reports
===================

Package per fer reports PDF

v0.0.27(4mo ago)1345MITCSSPHP &gt;=7.0.0

Since Feb 20Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/ajtarragona/reports)[ Packagist](https://packagist.org/packages/ajtarragona/reports)[ RSS](/packages/ajtarragona-reports/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (5)Versions (28)Used By (0)

Reports
=======

[](#reports)

Package per fer reports en PDF

[![Latest Stable Version](https://camo.githubusercontent.com/8470b4c694edd13c815f1c67fad604f1a00cda18e0d197b4aa9ffd61c60901c7/687474703a2f2f706f7365722e707567782e6f72672f616a7461727261676f6e612f7265706f7274732f76)](https://packagist.org/packages/ajtarragona/reports) [![Total Downloads](https://camo.githubusercontent.com/f0f1b5ab909eb69e8314392e159e5d0caa54535f86945cf61c1f3457dfd0d76f/687474703a2f2f706f7365722e707567782e6f72672f616a7461727261676f6e612f7265706f7274732f646f776e6c6f616473)](https://packagist.org/packages/ajtarragona/reports) [![Latest Unstable Version](https://camo.githubusercontent.com/37782cb5f589374e31a0d6e6d31e9888c3a0d7dc9b3d05454f433bffb93830c0/687474703a2f2f706f7365722e707567782e6f72672f616a7461727261676f6e612f7265706f7274732f762f756e737461626c65)](https://packagist.org/packages/ajtarragona/reports) [![License](https://camo.githubusercontent.com/39a15d66296f9436da476bf2cd3001cba03d2bd645f234260a54afed7bcbf3db/687474703a2f2f706f7365722e707567782e6f72672f616a7461727261676f6e612f7265706f7274732f6c6963656e7365)](https://packagist.org/packages/ajtarragona/reports) [![PHP Version Require](https://camo.githubusercontent.com/c61faeacbc456cc1d8083fbbc92a069446fe61ca2ab5dc592da66cd5ea056296/687474703a2f2f706f7365722e707567782e6f72672f616a7461727261676f6e612f7265706f7274732f726571756972652f706870)](https://packagist.org/packages/ajtarragona/reports)

Requirements
------------

[](#requirements)

```
Laravel >= 6.0
PHP >= 7.1

```

Installation
------------

[](#installation)

```
composer require ajtarragona/reports --dev

```

Afegir classloading a `composer.json`

```
"autoload" : {
    "psr-4": {
        "Reports\\": "storage/app/report-templates/"

```

Publicar estils del backend i dels reports PDF.

```
php artisan ajtarragona:reports:prepare

```

Publicar config dompdf

```
php artisan vendor:publish --provider="Barryvdh\DomPDF\ServiceProvider"

```

activar `enable_php` a l'arxiu `config/dompdf.php`

Create a new report
-------------------

[](#create-a-new-report)

Disposem de la comanda:

```
php artisan make:tgn-report {report_name}

```

Això ens crearà un nou report amb el nom `report_name` a la carpeta `storage/app/report-templates`. Es crearan 3 arxius:

- config.php
- NomReportReport.php
- template.blade.php

Backend
-------

[](#backend)

Podem activar el backend afegint la variable `REPORTS_BACKEND = true` a l'arxiu `.env`

###  Health Score

36

—

LowBetter than 83% of packages

Maintenance75

Regular maintenance activity

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

###  Release Activity

Cadence

Every ~38 days

Recently: every ~103 days

Total

27

Last Release

135d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/eae0bc56bebf7416d9c7ad9f0c8a7aa91e8911c8f8a8a34207d90a201df3deff?d=identicon)[ajtarragona](/maintainers/ajtarragona)

---

Top Contributors

[![ajtarragona](https://avatars.githubusercontent.com/u/45968689?v=4)](https://github.com/ajtarragona "ajtarragona (57 commits)")

---

Tags

laravelpdflaravel5reports

### Embed Badge

![Health badge](/badges/ajtarragona-reports/health.svg)

```
[![Health](https://phpackages.com/badges/ajtarragona-reports/health.svg)](https://phpackages.com/packages/ajtarragona-reports)
```

###  Alternatives

[barryvdh/laravel-dompdf

A DOMPDF Wrapper for Laravel

7.3k84.4M229](/packages/barryvdh-laravel-dompdf)[lucasromanojf/laravel5-pdf

Provides the HTML2PDF functionality using the wkhtmltopdf library (Laravel 5)

1271.7k](/packages/lucasromanojf-laravel5-pdf)[wemersonjanuario/laravelpdf

Another HTML to PDF Converter for Laravel

2812.9k1](/packages/wemersonjanuario-laravelpdf)[renatio/dynamicpdf-plugin

October HTML to PDF converter using dompdf library.

3113.4k3](/packages/renatio-dynamicpdf-plugin)[initred/laravel-tabula

laravel-tabula is a tool for liberating data tables trapped inside PDF files for the Laravel framework.

1418.6k](/packages/initred-laravel-tabula)[nilgems/laravel-textract

A Laravel package to extract text from files like DOC, XL, Image, Pdf and more. I've developed this package by inspiring "npm textract".

195.0k](/packages/nilgems-laravel-textract)

PHPackages © 2026

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