Download the PHP package technoly/neoseventstore-cycleadapter without Composer
On this page you can find all versions of the php package technoly/neoseventstore-cycleadapter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download technoly/neoseventstore-cycleadapter
More information about technoly/neoseventstore-cycleadapter
Files in technoly/neoseventstore-cycleadapter
Package neoseventstore-cycleadapter
Short Description Cycle ORM based implementation for the neos/event-store
License MIT
Informations about the package neoseventstore-cycleadapter
Cycle ORM adapter for the neos/eventstore
package
Database Adapter implementation for the neos/eventstore package. It is essentially an adaption of the Doctrine adapter for Cycle ORM / the Spiral framework.
Note Currently this package supports MySQL (including MariaDB) and PostgreSQL.
Usage
Install via composer:
Create an instance
To create a CycleEventStore
, an instance of \Cycle\Database\DatabaseInterface
is required. It can be
obtained via the DatabaseManager or configured in your Spiral bootloader if you are using the Spiral framework.
See Cycle documentation for more details.
With that, an Event Store instance can be created:
See README of the neos/eventstore
package for details on how to write and read events.
Known limitations
The CycleEventStore->status() method returns OK even if setup is required due to false positives for MariaDB (JSON column stored as longtext).
Contribution
Contributions in the form of issues or pull requests are highly appreciated.
License
See LICENSE
All versions of neoseventstore-cycleadapter with dependencies
neos/eventstore Version ^1
cycle/database Version ^2.3
webmozart/assert Version ^1.10
psr/clock Version ^1