PHPackages                             bharatbkj/filament-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. [Admin Panels](/categories/admin)
4. /
5. bharatbkj/filament-report-builder

ActiveLibrary[Admin Panels](/categories/admin)

bharatbkj/filament-report-builder
=================================

Filament panel integration for the Laravel natural-language Report Builder.

v1.0.0(2w ago)00MITBladePHP ^8.2

Since May 23Pushed 2w agoCompare

[ Source](https://github.com/bharatbkj/filament-report-builder)[ Packagist](https://packagist.org/packages/bharatbkj/filament-report-builder)[ RSS](/packages/bharatbkj-filament-report-builder/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

Filament Report Builder
=======================

[](#filament-report-builder)

Filament panel plugin for `bharatbkj/laravel-report-builder`. It adds a Report Builder page where authorized panel users can submit plain-English questions and view safe report results from configured application data.

Features
--------

[](#features)

- Filament panel navigation page.
- Uses the shared Laravel Report Builder query engine.
- Compact query composer with execution animation.
- Responsive report table with visible-row filtering.
- CSV, JSON, and Print PDF actions.
- Optional authorization ability.
- No SQL query displayed in the panel.

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

[](#requirements)

- PHP 8.2 or newer.
- Laravel supported by `bharatbkj/laravel-report-builder` (currently Laravel 11 or Laravel 12).
- Filament `^3.2`, `^4.0`, or `^5.0`, as resolved for the host Laravel application.

The plugin uses the panel-plugin and custom-page APIs shared by Filament 3, 4, and 5. It does not depend on version-specific table or form schema APIs.

Install
-------

[](#install)

After both packages are available through Packagist:

```
composer require bharatbkj/filament-report-builder
php artisan vendor:publish --tag=report-builder-config
php artisan vendor:publish --tag=report-builder-migrations
php artisan migrate
```

The core Report Builder package is installed automatically as a dependency.

Optionally publish the Filament plugin configuration or view:

```
php artisan vendor:publish --tag=filament-report-builder-config
php artisan vendor:publish --tag=filament-report-builder-views
```

Register The Plugin
-------------------

[](#register-the-plugin)

In the relevant Filament panel provider:

```
use Bharatbkj\FilamentReportBuilder\ReportBuilderPlugin;
use Filament\Panel;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugin(ReportBuilderPlugin::make());
}
```

A **Report Builder** page is added to that panel.

Configure Report Data
---------------------

[](#configure-report-data)

The plugin reads the core package configuration from `config/report-builder.php`. No tables are accessible until explicitly allowed:

```
'allowed_tables' => [
    'students' => [
        'label' => 'Students',
        'aliases' => ['student', 'learners'],
    ],
    'student_attendances' => [
        'label' => 'Attendance',
        'aliases' => ['attendance', 'attendances'],
    ],
],

'column_aliases' => [
    'student_attendances' => [
        'attendance_percent' => ['attendance', 'attendance percentage'],
    ],
],

'relationships' => [
    [
        'left_table' => 'students',
        'left_key' => 'id',
        'right_table' => 'student_attendances',
        'right_key' => 'student_id',
        'aliases' => ['attendance', 'attendances'],
    ],
],

'value_lookup_columns' => [
    'students' => ['name', 'course'],
],
```

The core package remains responsible for protected-column filtering, query parsing, safe joins, maximum rows, and audit logging.

Restrict Page Access
--------------------

[](#restrict-page-access)

By default, any authenticated user who can access the configured Filament panel can access Report Builder. To require an application permission, publish the plugin config and set an ability:

```
// config/filament-report-builder.php
'authorization' => [
    'ability' => 'use-report-builder',
],
```

The authenticated panel user must pass `can('use-report-builder')`.

Local Package Development
-------------------------

[](#local-package-development)

When developing both packages from local folders, add both repositories to a host application's `composer.json`:

```
{
    "repositories": [
        {
            "type": "path",
            "url": "packages/report-builder"
        },
        {
            "type": "path",
            "url": "packages/filament-report-builder"
        }
    ]
}
```

Then install:

```
composer require bharatbkj/filament-report-builder:@dev
```

Package Boundary
----------------

[](#package-boundary)

`bharatbkj/laravel-report-builder` contains the report engine and database safety controls. `bharatbkj/filament-report-builder` contains only the Filament page integration and panel user experience. This separation keeps parsing and authorization behavior consistent for normal Laravel screens, APIs, and Filament panels.

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance96

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

17d ago

### Community

Maintainers

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

### Embed Badge

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

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

###  Alternatives

[filament/spatie-laravel-settings-plugin

Filament support for `spatie/laravel-settings`.

1142.7M93](/packages/filament-spatie-laravel-settings-plugin)[awcodes/filament-quick-create

Plugin for Filament Admin that adds a dropdown menu to the header to quickly create new items.

249203.6k11](/packages/awcodes-filament-quick-create)[guava/filament-knowledge-base

A filament plugin that adds a knowledge base and help to your filament panel(s).

207140.2k1](/packages/guava-filament-knowledge-base)[mradder/filament-logger

Audit logging, activity tracking, exports, alerts, and dashboards for Filament admin panels.

2210.5k](/packages/mradder-filament-logger)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3913.7k](/packages/rawilk-profile-filament-plugin)[caresome/filament-neobrutalism-theme

A neobrutalism theme for FilamentPHP admin panels

324.9k1](/packages/caresome-filament-neobrutalism-theme)

PHPackages © 2026

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