PHPackages                             sebrave/snapshot - 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. sebrave/snapshot

ActiveLibrary

sebrave/snapshot
================

A package to render DB table snapshots to HTML

v1.10.0(5y ago)029MITPHP

Since Nov 19Pushed 5y ago1 watchersCompare

[ Source](https://github.com/sebrave/snapshot)[ Packagist](https://packagist.org/packages/sebrave/snapshot)[ RSS](/packages/sebrave-snapshot/feed)WikiDiscussions main Synced today

READMEChangelog (3)Dependencies (1)Versions (11)Used By (0)

snapshot
========

[](#snapshot)

Laravel DB table snapshot package

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

[](#installation)

> composer require sebrave/snapshot

> composer update

> php artisan vendor:publish --provider="SebRave\\Snapshot\\SnapshotServiceProvider"

Setup
-----

[](#setup)

Adjust settings in config/snapshot.php

Usage
-----

[](#usage)

> app('snapshot')-&gt;show(MyClass::class);

> app('snapshot')-&gt;show(\[MyClass::class, AnotherClass::class\]);

Where MyClass::class is an Eloquent model

> app('snapshot')-&gt;show('mytable');

Where mytable is a table in your SQL database

A snapshot of the table is output in the root directory:

snapshot\_myclass.html

Quick chart:

> app('snapshot')-&gt;draw('mytable', 'column\_x\_name', 'column\_y\_name');

Example output
--------------

[](#example-output)

Here is an example of a database snapshot showing a 'courses' table:

[![Example snapshot](./docs/images/snapshot-example.png)](./docs/images/snapshot-example.png)

Here is an example of a quick chart comparing two columns of the 'courses' table:

[![Example chart](./docs/images/chart-example.png)](./docs/images/chart-example.png)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~19 days

Recently: every ~39 days

Total

10

Last Release

1828d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f7814fb527334c462c7f997b0254f7230956c3a87e9b750e3ae522578778f921?d=identicon)[sebrave](/maintainers/sebrave)

---

Top Contributors

[![sebrave](https://avatars.githubusercontent.com/u/15705705?v=4)](https://github.com/sebrave "sebrave (19 commits)")

### Embed Badge

![Health badge](/badges/sebrave-snapshot/health.svg)

```
[![Health](https://phpackages.com/badges/sebrave-snapshot/health.svg)](https://phpackages.com/packages/sebrave-snapshot)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
