Skip to content

Initial developmental release!

Latest
Compare
Choose a tag to compare
@bjori bjori released this 22 Apr 22:34
· 19 commits to master since this release

No-frills (So-far) ODM!

In vast majority of cases I have absolutely no need for big ORM type things.
I do - however - want to persist my object.

The MongoDB Transistor will do just that -- it will serialize the POPO (Plain Old PHP Object) to BSON -- and from BSON to POPO -- keeping all embedded objects intact.

It uses the pecl/mongodb extension for the actual work -- the transistor is nothing but a simple trait that implements the built-in Persistable interface.

Try it out and let let me know what you think -- I'm sure features/plugins will be added later.