PHPackages                             masugadesign/labreports - 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. masugadesign/labreports

ActiveCraft-plugin

masugadesign/labreports
=======================

Custom content/data reporting for Craft CMS.

5.0.1(1y ago)23.3k↓100%1[1 issues](https://github.com/masugadesign/lab-reports-craft-cms/issues)PHP

Since Sep 28Pushed 1y ago2 watchersCompare

[ Source](https://github.com/masugadesign/lab-reports-craft-cms)[ Packagist](https://packagist.org/packages/masugadesign/labreports)[ RSS](/packages/masugadesign-labreports/feed)WikiDiscussions v5 Synced 1mo ago

READMEChangelogDependencies (1)Versions (17)Used By (0)

Lab Reports for Craft CMS
=========================

[](#lab-reports-for-craft-cms)

Table of Contents
-----------------

[](#table-of-contents)

- [Requirements](#requirements)
- [Installation](#installation)
- [Configuration](#configuration)
- [Basic Reports](#basic-reports)
- [Advanced Reports](#advanced-reports)
- [Running Reports](#running-reports)
    - [From the Control Panel](#from-the-control-panel)
    - [Console Command](#console-command)
    - [Cron Job](#cron-job)
- [Template Variables](#template-variables)
- [Element Properties &amp; Methods](#element-properties-methods)
    - [ConfiguredReport Properties/Methods](#configuredreport)
    - [Report Properties/Methods](#report)
- [Planned Features](#planned-features)

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

[](#requirements)

- Craft CMS v5.0.0+
- PHP 8.2+

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

[](#installation)

Add the following to your composer.json requirements. Be sure to adjust the version number to match the version you wish to install.

```
"masugadesign/labreports": "5.0.1",

```

Configuration
-------------

[](#configuration)

To customize your Lab Reports configuration, create a `labreports.php` file in your Craft `config` folder. To start, you may copy the contents of the`config.php` file included in the plugin's `src` folder.

Lab Reports has the following config options:

### debug

[](#debug)

Set debug to `true` to enable some advanced plugin logging. This can assist in diagnosing issues with configuring/running reports.

### fileStorageFolder

[](#filestoragefolder)

Specify a full system path to a *writable* folder without a trailing slash. Lab Reports will store the generated report files there. Do not include this item in the plugin config file if you do not wish to override the default location which is a "labreports" subfolder in the Craft storage folder.

### functions

[](#functions)

This is the array of PHP formatting functions used by the advanced reports.

```
