PHPackages                             prooph/snapshot-doctrine-adapter - 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/snapshot-doctrine-adapter

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

prooph/snapshot-doctrine-adapter
================================

Snapshot Doctrine Adapter for ProophEventStore

v1.1.0(10y ago)620.7k8[1 issues](https://github.com/prooph/snapshot-doctrine-adapter/issues)[1 PRs](https://github.com/prooph/snapshot-doctrine-adapter/pulls)1BSD-3-ClausePHPPHP ~5.5|~7.0

Since Oct 20Pushed 8y ago4 watchersCompare

[ Source](https://github.com/prooph/snapshot-doctrine-adapter)[ Packagist](https://packagist.org/packages/prooph/snapshot-doctrine-adapter)[ Docs](http://getprooph.org/)[ RSS](/packages/prooph-snapshot-doctrine-adapter/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (6)Dependencies (8)Versions (8)Used By (1)

snapshot-doctrine-adapter
=========================

[](#snapshot-doctrine-adapter)

Doctrine Adapter for the Snapshot Store

\#CAUTION: Support for the package will end at 31 December 2017. Use  instead!

[![Build Status](https://camo.githubusercontent.com/8f14119a5d3f8089844a1e9488b6449e1875c410dfafe3f170f44e1db4f5e181/68747470733a2f2f7472617669732d63692e6f72672f70726f6f70682f736e617073686f742d646f637472696e652d616461707465722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/prooph/snapshot-doctrine-adapter)[![Coverage Status](https://camo.githubusercontent.com/e193270c7bc33e7fc97b8da5377ff04978a3e09009ffa1abb77d9633862d2ae2/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f70726f6f70682f736e617073686f742d646f637472696e652d616461707465722f62616467652e7376673f6272616e63683d6d617374657226736572766963653d676974687562)](https://coveralls.io/github/prooph/snapshot-doctrine-adapter?branch=master)[![Gitter](https://camo.githubusercontent.com/abe08b740a4156153736f791393ec4da6619c4be73212e75769f52edacc0e2b5/68747470733a2f2f6261646765732e6769747465722e696d2f4a6f696e253230436861742e737667)](https://gitter.im/prooph/improoph)

Set Up
------

[](#set-up)

How to use the adapter is explained in the [prooph/event-store docs](https://github.com/prooph/event-store/blob/master/docs/snapshots.md). To help you with setting up the snapshot tables we ship a [SnapshotStoreSchema](src/Schema/SnapshotStoreSchema.php) helper with the package. You can use it in a doctrine migrations script or manually by passing in a `Doctrine\DBAL\Schema\Schema` and executing the generated SQL afterwards.

Interop Factory
---------------

[](#interop-factory)

Some general notes about how to use interop factories shipped with prooph components can be found in the [event store docs](https://github.com/prooph/event-store/blob/master/docs/interop_factories.md). Use the [doctrine snapshot adapter factory](src/Container/DoctrineSnapshotAdapterFactory.php) to set up the adapter. If your IoC container supports callable factories you can register the factory under a service id of your choice and configure this service id as `$config['prooph']['snapshot_store']['adpater']['type'] = `.

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.

Dependencies
============

[](#dependencies)

Please refer to the project [composer.json](composer.json) for the list of dependencies.

License
=======

[](#license)

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

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 89.3% 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 ~40 days

Recently: every ~50 days

Total

6

Last Release

3709d ago

PHP version history (2 changes)v1.0-beta.1PHP &gt;=5.5

v1.0PHP ~5.5|~7.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 (25 commits)")[![guiwoda](https://avatars.githubusercontent.com/u/1625545?v=4)](https://github.com/guiwoda "guiwoda (2 commits)")[![sandrokeil](https://avatars.githubusercontent.com/u/3597436?v=4)](https://github.com/sandrokeil "sandrokeil (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/prooph-snapshot-doctrine-adapter/health.svg)

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

###  Alternatives

[martin-georgiev/postgresql-for-doctrine

Extends Doctrine with native PostgreSQL support for arrays, JSONB, ranges, PostGIS geometries, text search, ltree, uuid, and 100+ PostgreSQL-specific functions.

4585.8M4](/packages/martin-georgiev-postgresql-for-doctrine)[flow-php/doctrine-dbal-bulk

Bulk inserts and updates for Doctrine DBAL

14385.8k4](/packages/flow-php-doctrine-dbal-bulk)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k14](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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