PHPackages                             prooph/pdo-snapshot-store - 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. [Database &amp; ORM](/categories/database)
4. /
5. prooph/pdo-snapshot-store

ActiveLibrary[Database &amp; ORM](/categories/database)

prooph/pdo-snapshot-store
=========================

PDO Snapshot Store Implementation

v1.6.0(3y ago)25166.2k—1.3%11[1 issues](https://github.com/prooph/pdo-snapshot-store/issues)3BSD-3-ClausePHPPHP ^7.4 || ^8.0

Since Dec 13Pushed 3y ago5 watchersCompare

[ Source](https://github.com/prooph/pdo-snapshot-store)[ Packagist](https://packagist.org/packages/prooph/pdo-snapshot-store)[ Docs](http://getprooph.org/)[ RSS](/packages/prooph-pdo-snapshot-store/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (9)Versions (14)Used By (3)

Prooph PDO Snapshot Store
=========================

[](#prooph-pdo-snapshot-store)

[![Continuous Integration](https://github.com/prooph/pdo-snapshot-store/actions/workflows/continuous-integration.yml/badge.svg)](https://github.com/prooph/pdo-snapshot-store/actions/workflows/continuous-integration.yml)[![Coverage Status](https://camo.githubusercontent.com/c959b9189355395e422d5e2802d09879db5c567fec33b9492e9709112fa60b19/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f70726f6f70682f70646f2d736e617073686f742d73746f72652f62616467652e7376673f6272616e63683d6d617374657226736572766963653d676974687562)](https://coveralls.io/github/prooph/pdo-snapshot-store?branch=master)[![Gitter](https://camo.githubusercontent.com/abe08b740a4156153736f791393ec4da6619c4be73212e75769f52edacc0e2b5/68747470733a2f2f6261646765732e6769747465722e696d2f4a6f696e253230436861742e737667)](https://gitter.im/prooph/improoph)

Important
---------

[](#important)

This library will receive support until December 31, 2019 and will then be deprecated.

For further information see the official announcement here:

Overview
--------

[](#overview)

PDO implementation of snapshot store

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

[](#installation)

You can install prooph/pdo-snapshot-store via composer by adding `"prooph/pdo-snapshot-store": "^1.0"` as requirement to your composer.json.

Upgrade
-------

[](#upgrade)

If you come from version 1.4.0 you are advised to manually update the table schema to fix an omitted primary key. You can issue the following statements or drop the snapshot table, recreate them from the provided scripts and restart projections.

MySql

```
ALTER TABLE `snapshots` DROP INDEX `ix_aggregate_id`, ADD PRIMARY KEY(`aggregate_id`);
```

Postgres

```
ALTER TABLE "snapshots" DROP CONSTRAINT "snapshots_aggregate_id_key", ADD PRIMARY KEY ("aggregate_id");
```

Support
-------

[](#support)

- Ask questions on Stack Overflow tagged with [\#prooph](https://stackoverflow.com/questions/tagged/prooph).
- File issues at .
- Say hello in the [prooph gitter](https://gitter.im/prooph/improoph) chat.

Contribute
----------

[](#contribute)

Please feel free to fork and extend existing or add new plugins and send a pull request with your changes! To establish a consistent code quality, please provide unit tests for all your changes and may adapt the documentation.

License
-------

[](#license)

Released under the [New BSD License](LICENSE).

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity44

Moderate usage in the ecosystem

Community24

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 60.8% 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 ~176 days

Recently: every ~437 days

Total

13

Last Release

1323d ago

PHP version history (2 changes)v1.0.0-beta1PHP ^7.1

v1.6.0PHP ^7.4 || ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7341005?v=4)[prooph](/maintainers/prooph)[@prooph](https://github.com/prooph)

---

Top Contributors

[![prolic](https://avatars.githubusercontent.com/u/394428?v=4)](https://github.com/prolic "prolic (62 commits)")[![basz](https://avatars.githubusercontent.com/u/143068?v=4)](https://github.com/basz "basz (31 commits)")[![fritz-gerneth](https://avatars.githubusercontent.com/u/1294731?v=4)](https://github.com/fritz-gerneth "fritz-gerneth (3 commits)")[![ghettovoice](https://avatars.githubusercontent.com/u/4323000?v=4)](https://github.com/ghettovoice "ghettovoice (3 commits)")[![dragosprotung](https://avatars.githubusercontent.com/u/1081073?v=4)](https://github.com/dragosprotung "dragosprotung (2 commits)")[![sandrokeil](https://avatars.githubusercontent.com/u/3597436?v=4)](https://github.com/sandrokeil "sandrokeil (1 commits)")

---

Tags

cqrsdddeventsourcingphpproophsnapshot-storesnapshotsdddproophEventSourcingEventStore

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/prooph-pdo-snapshot-store/health.svg)

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

###  Alternatives

[prooph/event-store

Event Store v8

5471.5M40](/packages/prooph-event-store)[prooph/event-store-symfony-bundle

109253.5k8](/packages/prooph-event-store-symfony-bundle)[prooph/event-store-client

Event Store Client for async TCP connections

115134.6k2](/packages/prooph-event-store-client)[prooph/event-sourcing

PHP EventSourcing library

267808.5k18](/packages/prooph-event-sourcing)[prooph/snapshot-store

Prooph Snapshot Store

19238.6k7](/packages/prooph-snapshot-store)[jpkleemans/attribute-events

🔥 Fire events on attribute changes of your Eloquent model

332484.7k1](/packages/jpkleemans-attribute-events)

PHPackages © 2026

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