mattapril/laravel-responsable-reports

Library for easily converting reports into various HTTP responses

Installs: 829

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/mattapril/laravel-responsable-reports

v1.4.2 2025-10-10 13:52 UTC

This package is auto-updated.

Last update: 2025-10-10 13:53:40 UTC


README

composer require mattapril/laravel-responsable-reports

For Lumen Projects

$this->app->singleton('Illuminate\Contracts\Routing\ResponseFactory', function ($app) {
    return new \Illuminate\Routing\ResponseFactory(
        $app['Illuminate\Contracts\View\Factory'],
        $app['Illuminate\Routing\Redirector']
    );
});

Configuration

optional .env configuration:

REPORT_PER_PAGE_KEY=per_page # define the input key that can be used to dynamically set the results per page for paginated responses
REPORT_PER_PAGE_MAX=100 # sets the maximum number of results per page when using REPORT_PER_PAGE_KEY (default is 100)