Download the PHP package tatter/agents without Composer
On this page you can find all versions of the php package tatter/agents. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tatter/agents
More information about tatter/agents
Files in tatter/agents
Package agents
Short Description Service analysis and assessment for CodeIgniter 4
License MIT
Homepage https://github.com/tattersoftware/codeigniter4-agents
Informations about the package agents
Tatter\Agents
Service analysis and assessment for CodeIgniter 4
Quick Start
- Install with Composer:
> composer require tatter/agents
- Check all agent statuses:
> php spark agents:check
Features
The Agents library defines a number of individual Agents that gather status information from the server, framework, and various services and modules into a streamlined data store.
Installation
Install easily via Composer to take advantage of CodeIgniter 4's autoloading capabilities and always be up-to-date:
> composer require tatter/agents
Or, install manually by downloading the source files and adding the directory to
app/Config/Autoload.php
.
Configuration (optional)
The library's default behavior can be altered by extending its config file. Copy examples/Agents.php to app/Config/ and follow the instructions in the comments. If no config file is found in app/Config the library will use its own.
Usage
After installing Agents can be loaded individually from the model, or run centrally with
the provided CLI command: php spark agents:check
. Most likely you will want to create a
cron job to run this at periodic intervals.
Agent results are stored in the agents_results
table with its corresponding model
Tatter\Agents\Models\ResultModel
. Large data objects are serialized and hashed into a
separate table that checks for duplicate data to cut down on storage sizes.