PHPackages                             rishadblack/i-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. rishadblack/i-reports

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

rishadblack/i-reports
=====================

:Reusable and extensible Laravel reporting package featuring dynamic report loading, Livewire-driven filters, export to PDF and Excel using blade views, and support for modular applications.

0.1.6(3mo ago)1181MITPHPPHP ^8.1|^8.2|^8.3|^8.4

Since Aug 3Pushed 3mo agoCompare

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

READMEChangelog (2)Dependencies (11)Versions (10)Used By (0)

Rishadblack/Ireports
====================

[](#rishadblackireports)

A reusable, extensible Laravel reporting package with Livewire integration for dynamic filters, PDF and Excel export, and iframe report viewing.

---

Features
--------

[](#features)

- **Dynamic Report Loading:** Single route handles all reports dynamically by report name.
- **Modular Support:** Automatically detects report controllers from `App\Reports` or `Modules\\Reports` (compatible with nWidart Laravel Modules).
- **Livewire Filters:** Easily build interactive filters with Livewire; updates iframe view dynamically.
- **Export Options:** Export reports as PDF (using DomPDF) or Excel (using Maatwebsite Excel) using the same blade views.
- **Customizable Views:** Reports are fully customizable with blade templates.
- **Pagination Support:** Supports pagination with query parameter handling.
- **Reusable BaseReportController:** Extend the base controller to create new reports quickly.
- **Configurable Namespace &amp; Suffix:** Customize report namespace and controller suffix in config.

---

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

[](#installation)

```
composer require rishadblack/i-reports
```

Publish config file (optional):

```
php artisan vendor:publish --tag=i-reports.config
```

---

Usage
-----

[](#usage)

### 1. Define Report Controller

[](#1-define-report-controller)

Create your report class extending the base controller:

```
namespace App\Reports;

use Rishadblack\IReports\BaseReportController;
use Illuminate\Http\Request;
use Illuminate\Database\Eloquent\Builder;

class UserReport extends BaseReportController
{
    public function builder(Request $request): Builder
    {
        return \App\Models\User::query();
    }
}
```

### 2. Create Blade View

[](#2-create-blade-view)

Create `resources/views/reports/user-report.blade.php`:

```

        ID
        Name
        Email
        Status

    @foreach ($data as $user)

        {{ $user->id }}
        {{ $user->name }}
        {{ $user->email }}
        {{ $user->status }}

    @endforeach

@if (!$export)
{{ $data->links() }}
@endif
```

### 3. Access Report

[](#3-access-report)

Visit:

```
/ireports/view/user-report

```

You can add export parameters for PDF or Excel:

```
/ireports/view/user-report?export=pdf
/ireports/view/user-report?export=excel

```

---

Configuration
-------------

[](#configuration)

Publish and edit `config/i-reports.php` to customize:

- Report namespace (`App\Reports` by default)
- Controller suffix (`Report` by default)
- Route prefix

---

Modules Support
---------------

[](#modules-support)

If using `nWidart/laravel-modules`, your report controllers can live inside modules:

```
Modules/
└── YourModule/
    └── Reports/
        └── UserReport.php

```

---

Livewire Integration
--------------------

[](#livewire-integration)

Use the provided Livewire component to build filter UIs and update the report iframe dynamically.

---

License
-------

[](#license)

MIT License. See [LICENSE](LICENSE) for details.

---

Contributions
-------------

[](#contributions)

Feel free to open issues or submit pull requests!

---

If you want, I can also generate a full example Livewire component README or more detailed docs. Just let me know!

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance79

Regular maintenance activity

Popularity16

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity50

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 ~27 days

Recently: every ~54 days

Total

9

Last Release

112d ago

PHP version history (3 changes)0.0.3PHP ^8.1|^8.2

0.1.3PHP ^8.1|^8.2|^8.3

0.1.6PHP ^8.1|^8.2|^8.3|^8.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/50762398?v=4)[S M Rishad](/maintainers/rishadblack)[@rishadblack](https://github.com/rishadblack)

---

Top Contributors

[![rishadblack](https://avatars.githubusercontent.com/u/50762398?v=4)](https://github.com/rishadblack "rishadblack (19 commits)")

---

Tags

laraveliReports

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[livewire/flux

The official UI component library for Livewire.

9527.8M128](/packages/livewire-flux)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M345](/packages/psalm-plugin-laravel)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.4k](/packages/tomshaw-electricgrid)[tallstackui/tallstackui

TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.

725173.0k14](/packages/tallstackui-tallstackui)[venturedrake/laravel-crm

A free open source CRM built as a package for laravel projects

43311.2k](/packages/venturedrake-laravel-crm)[arm092/livewire-datatables

Advanced datatables using Laravel, Livewire, Tailwind CSS and Alpine JS

3059.5k](/packages/arm092-livewire-datatables)

PHPackages © 2026

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