Download the PHP package tatter/reports without Composer

On this page you can find all versions of the php package tatter/reports. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package reports

Tatter\Reports

Report management framework for CodeIgniter 4

Quick Start

  1. Install with Composer: > composer require tatter/reports
  2. Create your reports in App/Reports/
  3. Generate contents from CLI: > php spark reports:generate
  4. Access report content: $reports = new \App\Reports\MyReport(); $results = $reports->get();

Features

Provides a concise, non-intrusive framework for writing database reports for CodeIgniter 4

Installation

Install easily via Composer to take advantage of CodeIgniter 4's autoloading capabilities and always be up-to-date:

Or, install manually by downloading the source files and adding the directory to app/Config/Autoload.php.

Create reports

Once the library is included all the resources are ready to go and you are ready to start making your report classes. Reports are detected across any namespace so can come from your App\Reports namespace or any module under Reports. See ReportInterface for requirements when writing a report class.

Generate results

Once all the report classes are written, use the command-line interface to generate report results:

> php spark reports:generate

Each report class handles checking for missing report values so this command can be run routinely (e.g. by a daily cron).

Access results

Load the report class of choice and then pull whatever contents you need using its get() method. Called without parameters get() will return all contents straight from the database. Optionally you may specify criteria to the database query, e.g.:

Other parameters to get() allow recursive result grouping (e.g. $results[user_id][date] => contents) and ordering of returned content.


All versions of reports with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2
tatter/handlers Version ^2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package tatter/reports contains the following files

Loading the files please wait ....