Download the PHP package dev-pirate/lara-report-craft without Composer
On this page you can find all versions of the php package dev-pirate/lara-report-craft. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dev-pirate/lara-report-craft
More information about dev-pirate/lara-report-craft
Files in dev-pirate/lara-report-craft
Package lara-report-craft
Short Description Laravel package to create and manage reports easily
License MIT
Informations about the package lara-report-craft
LaraReportCraft
LaraReportCraft is a Laravel library for managing and creating the reports easily with nice single page table view and printing ability, also the package give you the ability to customize the header, the footer, the title, the column and data rows of the report and .
Install via composer
Run the following command to pull in the latest version:
Publish the config
Run the following command to publish the package config file:
You should now have a config/lara-report-craft.php file that allows you to configure the basics of this package.
Add Routes
Add this code inside your route file:
Create Custom Report Class
Before continuing, make sure you have installed the package as per the installation instructions for Laravel.
Create your Class
Firstly you need to extend the DevPirate\LaraReportCraft\Facades\GeneralReport class on your report class, which require a custom data and functions logic
The example below should give you an idea of how this could look. Obviously you should make any changes, as necessary, to suit your own needs.
Config File
Let's review some of the options in the config/lara-report-craft.php file that we published earlier.
First up is:
.
License
All versions of lara-report-craft with dependencies
ext-json Version *