PHPackages                             md0/backpack-regenerator - 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. [Framework](/categories/framework)
4. /
5. md0/backpack-regenerator

AbandonedArchivedLibrary[Framework](/categories/framework)

md0/backpack-regenerator
========================

Laravel ReGenerator for Backpack

324PHP

Since Apr 8Pushed 4y ago1 watchersCompare

[ Source](https://github.com/md0-code/backpack-regenerator)[ Packagist](https://packagist.org/packages/md0/backpack-regenerator)[ RSS](/packages/md0-backpack-regenerator/feed)WikiDiscussions main Synced 6d ago

READMEChangelogDependenciesVersions (1)Used By (0)

ReGenerator for Laravel Backpack
================================

[](#regenerator-for-laravel-backpack)

**A CRUD interface for the ReGenerator report generator built using [Laravel Backpack](https://github.com/Laravel-Backpack).**

This is meant to complement ReGenerator's features and not replace them. Use this interface sparingly, as it gives direct write access to your database. Never allow your end users to create or update reports!

Should work on any version of Laravel above 5.6, but was only tested on v8.

- [ReGenerator for Laravel Backpack](#regenerator-for-laravel-backpack)
    - [Screenshots](#screenshots)
    - [Installation](#installation)
        - [Optional](#optional)
    - [Usage](#usage)
    - [Setting permissions](#setting-permissions)
    - [Overwriting](#overwriting)
        - [Changinng the default URL route](#changinng-the-default-url-route)
        - [Changing the report preview button and / or HTML modal](#changing-the-report-preview-button-and--or-html-modal)
    - [Errors &amp; Suggestions](#errors--suggestions)
    - [License](#license)

Screenshots
-----------

[](#screenshots)

[![screenshot1](https://user-images.githubusercontent.com/17587578/122626018-bc7c0d00-d0b0-11eb-933a-ded154ac07f0.png)](https://user-images.githubusercontent.com/17587578/122626018-bc7c0d00-d0b0-11eb-933a-ded154ac07f0.png)

[![screenshot2](https://user-images.githubusercontent.com/17587578/122625981-99e9f400-d0b0-11eb-85ac-b78477801c18.png)](https://user-images.githubusercontent.com/17587578/122625981-99e9f400-d0b0-11eb-85ac-b78477801c18.png)

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

[](#installation)

Require the package via Composer:

```
composer require md0/backpack-reportgenerator
```

Run the database migrations if you haven't already done so when installing ReGenerator:

```
php artisan migrate
```

Publish ReGenerator's assets to enable the chart output. This will place Chart.js in your public folder:

```
php artisan vendor:publish --provider="MD0\ReGenerator\ReGeneratorServiceProvider" --tag="assets"
```

### Optional

[](#optional)

Add a menu entry for the new *Reports* page inside *resources/views/vendor/backpack/base/inc/sidebar\_content.blade.php*:

```
{{ __('Reports') }}
```

Publish the language files, if you need to translate the intarface. You'll find the JSON files inside the *resources/lang/vendor/backpack-regenerator* folder. Feel free to contribute additional tanslations if you find this package useful.

```
provider="MD0\BackpackReGenerator\BackpackReGeneratorServiceProvider" --tag="lang"
```

Usage
-----

[](#usage)

Point your browser to *\[backpack\_url\]/reports* and manage your reports using Backpack CRUD controls.

Setting permissions
-------------------

[](#setting-permissions)

To limit user access to certain CRUD operations and / or certain report groups you may set the persmissions dynamically by overwriting the config values in a middleware (this example assumes you're using the [Laravel Permission](https://github.com/spatie/laravel-permission) package):

```
if (auth()->user()->hasRole('accounting')) {
	config()->set('md0.backpack-regenerator.allow_update', false);
	config()->set('md0.backpack-regenerator.restrict_by_tag', 'accounting');
}
```

Overwriting
-----------

[](#overwriting)

### Changinng the default URL route

[](#changinng-the-default-url-route)

To change the default */reports* URL, you'll have to:

1. Publish the routes file and change the route path:

```
php artisan vendor:publish --provider="MD0\BackpackReGenerator\BackpackReGeneratorServiceProvider" --tag="routes"
```

Replace all occurences of *reports* inside *routes/backpack-regenerator.php* with your chosen alternative.

2. Publish the config file and update Backpack's route:

```
php artisan vendor:publish --provider="MD0\BackpackReGenerator\BackpackReGeneratorServiceProvider" --tag="config"
```

Replace the value for *route\_name* inside config/md0/backpack-regenerator.php.

### Changing the report preview button and / or HTML modal

[](#changing-the-report-preview-button-and--or-html-modal)

Publish the views and edit the files inside *resources/views/vendor/md0/backpack-regenerator*. The view files ar stored in folders following the Backpack structure (buttons, columns).

```
php artisan vendor:publish --provider="MD0\BackpackReGenerator\BackpackReGeneratorServiceProvider" --tag="views"
```

Errors &amp; Suggestions
------------------------

[](#errors--suggestions)

Please submit your improvement suggestions or report bugs / errors in the `Issues` section.

License
-------

[](#license)

Distributed under the GPL-3.0 License. See `LICENSE` for more information.

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity26

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

[![md0-code](https://avatars.githubusercontent.com/u/17587578?v=4)](https://github.com/md0-code "md0-code (1 commits)")

### Embed Badge

![Health badge](/badges/md0-backpack-regenerator/health.svg)

```
[![Health](https://phpackages.com/badges/md0-backpack-regenerator/health.svg)](https://phpackages.com/packages/md0-backpack-regenerator)
```

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

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