EventStore HTTP client for PHP

Dear all,

Nicolò and me are developing a PHP client for Event Store HTTP API.

Of course you can find it on GitHub https://github.com/dbellettini/php-eventstore-client

Any feedback or pull request would be much appreciated.

Cheers

Davide @SbiellONE https://github.com/dbellettini

Nicolò @nicolopigna https://github.com/nicolopignatelli

Was looking through your implementation…

return sprintf(’/streams/%s/%d/%s/%d’, $stream, $start, ‘backward’, $count);

While not horrible generally streams should be read by using the rel links available on the feed itself (prev/next/first/last)

Hi Greg,

thank for your feedback. Seems like that trying to keep PHP client
consistent with the .NET one wasn't probably a good idea.
I think I will change API a little bit.

Davide

Its not awful if its there but the http api is a bit different in terms of officially supported operations (though it works very well for subscriptions!)

Hi,

we completely redesigned the API to better reflect its HTTP nature and the Atom format of the streams.

Currently, the API can read from streams, navigate streams, read single events, write events to stream and delete streams.

We hope to add examples and documentation asap.

I think that, except for a few minor changes, we will now stick with the current public API, so any test, feedback or contribution would be really appreciated :slight_smile:

Bye!

Will look in the next few days.

Hi everybody, after a busy summer we released the first RC of new redesigned library.
https://github.com/dbellettini/php-eventstore-client/releases/tag/v0.2.0-rc1
http://blog.bellettini.me/2014/09/event-store-php-0-2-0-rc1-released/
As usual any test, feedback or contribution would be really appreciated :slight_smile:

Bye!
Davide