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(2mo ago)175MITPHPPHP ^8.1|^8.2|^8.3|^8.4

Since Aug 3Pushed 2mo 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 1mo ago

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

41

—

FairBetter than 89% of packages

Maintenance86

Actively maintained with recent releases

Popularity14

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity49

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

66d 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://www.gravatar.com/avatar/6774a853b82e3460374fa933fecb393e8f59a915ff24548c71cf9ebf770e64e1?d=identicon)[rishadblack](/maintainers/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.

9475.0M86](/packages/livewire-flux)[spatie/laravel-livewire-wizard

Build wizards using Livewire

4061.0M4](/packages/spatie-laravel-livewire-wizard)[mediconesystems/livewire-datatables

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

1.2k711.3k8](/packages/mediconesystems-livewire-datatables)[konnco/filament-import

241243.2k2](/packages/konnco-filament-import)[tomshaw/electricgrid

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

116.6k](/packages/tomshaw-electricgrid)[arm092/livewire-datatables

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

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

PHPackages © 2026

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