2017 © Pedro Peláez
 

library snapshotter

Snapshot component with ability to view, delete and aggregate snapshots.

image

spiral/snapshotter

Snapshot component with ability to view, delete and aggregate snapshots.

  • Thursday, November 30, 2017
  • by wolfy-j
  • Repository
  • 3 Watchers
  • 1 Stars
  • 601 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 26 Versions
  • 2 % Grown

The README.md

Snapshotter

Snapshots management module. Can store snapshot in database or in files, allows to view and easily manipulate them via vault panel., (*1)

Latest Stable Version Total Downloads Scrutinizer Code Quality Coverage Status Build Status, (*2)

Installation

composer require spiral/snapshotter
spiral register spiral/snapshotter
'snapshots' => [
    'title' => 'Snapshots',
    'requires' => 'vault.snapshots'
],

Include SnapshotterBootloader

$this->getBootloader()->bootload([
    \Spiral\Snapshotter\Bootloaders\SnapshotterBootloader::class
]);

Select one of provided handlers

Currently there are two supported handlers: FileHandler and AggregationHandler, choose onf of them and bind it:, (*3)

$this->getBootloader()->bootload([
    \Spiral\Snapshotter\Bootloaders\FileHandlerBootloader::class
]);
//OR:
$this->getBootloader()->bootload([
    \Spiral\Snapshotter\Bootloaders\AggregationHandlerBootloader::class
]);

Then you can remove standard SnapshotInterface binding (if included):, (*4)

//$this->container->bind(SnapshotInterface::class, Snapshotter\Debug\AggregatedSnapshot::class);

File Handler

File handler stores snapshot files in runtime directory., (*5)

Aggregation Handler

Aggregation handler stores snapshots in database. Exception body is gzencoded, (*6)

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., (*7)

After suppression is enabled, only new incidents will be involved, old ones will be kept untouched. Same for disabled suppression., (*8)

Define database connection.

Aggregation handler uses database, by default it is set as an alias to the default database, (*9)


TODO-list

  1. Add charts/widgets
  2. Add listing dependency

The Versions

30/11 2017

dev-master

9999999-dev

Snapshot component with ability to view, delete and aggregate snapshots.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Valentin V / vvval

30/11 2017

v2.0.3

2.0.3.0

Snapshot component with ability to view, delete and aggregate snapshots.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Valentin V / vvval

29/11 2017

v2.0.2

2.0.2.0

Snapshot component with ability to view, delete and aggregate snapshots.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Valentin V / vvval

04/10 2017

v2.0.1

2.0.1.0

Snapshot component with ability to view, delete and aggregate snapshots.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Valentin V / vvval

04/10 2017

2.0.0

2.0.0.0

Snapshot component with ability to view, delete and aggregate snapshots.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Valentin V / vvval

20/06 2017

v1.1.7

1.1.7.0

Snapshot component with ability to view, delete and aggregate snapshots.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Valentin V / vvval

08/06 2017

v1.1.6

1.1.6.0

Snapshot component with ability to view, delete and aggregate snapshots.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Valentin V / vvval

05/06 2017

v1.1.5

1.1.5.0

Snapshot component with ability to view, delete and aggregate snapshots.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Valentin V / vvval

20/04 2017

v1.1.4

1.1.4.0

Snapshot component with ability to view, delete and aggregate snapshots.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Valentin V / vvval

19/04 2017

v1.1.3

1.1.3.0

Snapshot component with ability to view, delete and aggregate snapshots.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Valentin V / vvval

11/04 2017

v1.1.2

1.1.2.0

Snapshot component with ability to view, delete and aggregate snapshots.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Valentin V / vvval

16/03 2017

dev-feature/array_source

dev-feature/array_source

Snapshot component with ability to view, delete and aggregate snapshots.

  Sources   Download

The Requires

 

The Development Requires

by Valentin V / vvval

13/03 2017

dev-feature/1.1.0-charts

dev-feature/1.1.0-charts

Snapshot component with ability to view, delete and aggregate snapshots.

  Sources   Download

The Requires

 

The Development Requires

by Valentin V / vvval

02/03 2017

v1.0.0

1.0.0.0

Snapshot component with ability to view, delete and aggregate snapshots.

  Sources   Download

The Requires

 

The Development Requires

by Valentin V / vvval

16/02 2017

0.0.12

0.0.12.0

Snapshot component with ability to view, delete and aggregate snapshots.

  Sources   Download

The Requires

 

by Valentin V / vvval

20/12 2016

0.0.11

0.0.11.0

Snapshot component with ability to view, delete and aggregate snapshots.

  Sources   Download

The Requires

 

by Valentin V / vvval

08/12 2016

0.0.10

0.0.10.0

Snapshot component with ability to view, delete and aggregate snapshots.

  Sources   Download

The Requires

 

by Valentin V / vvval

06/12 2016

0.0.9

0.0.9.0

Snapshot component with ability to view, delete and aggregate snapshots.

  Sources   Download

The Requires

 

by Valentin V / vvval

01/03 2016

0.0.8

0.0.8.0

Snapshot component with ability to view, delete and aggregate snapshots.

  Sources   Download

The Requires

 

by Valentin V / vvval

29/02 2016

0.0.7

0.0.7.0

Snapshot component with ability to view, delete and aggregate snapshots.

  Sources   Download

The Requires

 

by Valentin V / vvval

23/02 2016

0.0.6

0.0.6.0

Snapshot component with ability to view, delete and aggregate snapshots.

  Sources   Download

The Requires

 

by Valentin V / vvval

22/02 2016

0.0.5

0.0.5.0

Snapshot component with ability to view, delete and aggregate snapshots.

  Sources   Download

The Requires

 

by Valentin V / vvval

22/02 2016

0.0.4

0.0.4.0

Snapshot component with ability to view, delete and aggregate snapshots.

  Sources   Download

The Requires

 

by Valentin V / vvval

16/02 2016

0.0.3

0.0.3.0

Snapshot component with ability to view, delete and aggregate snapshots.

  Sources   Download

The Requires

 

by Valentin V / vvval

16/02 2016

0.0.2

0.0.2.0

Snapshot component with ability to view, delete and aggregate snapshots.

  Sources   Download

The Requires

 

by Valentin V / vvval

15/02 2016

0.0.1

0.0.1.0

Snapshot component with ability to view, delete and aggregate snapshots.

  Sources   Download

The Requires

 

by Valentin V / vvval