Download the PHP package spiral/snapshotter without Composer
On this page you can find all versions of the php package spiral/snapshotter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download spiral/snapshotter
More information about spiral/snapshotter
Files in spiral/snapshotter
Package snapshotter
Short Description Snapshot component with ability to view, delete and aggregate snapshots.
License MIT
Informations about the package snapshotter
Snapshotter
Snapshots management module. Can store snapshot in database or in files, allows to view and easily manipulate them via vault panel.
Installation
Include snapshots controller link into navigation menu like below (optional):
Include SnapshotterBootloader
Select one of provided handlers
Currently there are two supported handlers: FileHandler
and AggregationHandler
, choose onf of them and bind it:
Then you can remove standard SnapshotInterface
binding (if included):
File Handler
File handler stores snapshot files in runtime directory.
Aggregation Handler
Aggregation handler stores snapshots in database. Exception body is gzencoded
Suppression
Aggregation handler aggregates similar snapshot incidents groping them by snapshot teaser message, it allows you to easily manage snapshots if some of them occurred more than once. Aggregation handler supports suppression feature: it allows you to save space because new snapshot incidents will be stored with empty exception source. You will see all incidents, no reason to store all sources if you can find it in the last incident. If you want to store sources - just disable suppression.
After suppression is enabled, only new incidents will be involved, old ones will be kept untouched. Same for disabled suppression.
Define database connection.
Aggregation handler uses database, by default it is set as an alias to the default
database
TODO-list
- Add charts/widgets
- Add listing dependency
All versions of snapshotter with dependencies
spiral/framework Version ^1.0.0
nesbot/carbon Version ^1.38
spiral/vault Version ^0.9.7
vvval/spiral-array-paginable Version ^0.1.0