psr7-sessions / session-encode-decode

:lock_with_ink_pen: Utility classes for encode/decode PHP's default session data
MIT License
22 stars 7 forks source link

Fixed composer package name preventing installation. #2

Closed Caffe1neAdd1ct closed 7 years ago

Ocramius commented 7 years ago

@malukenho this project isn't yet tagged, no?

malukenho commented 7 years ago

@Ocramius Yep. No tag yet. But I'm not sure if it still valid.

ojhaujjwal commented 7 years ago

I am working on this psr7-session library which depends on this library. A tag would be great. but, still, I don't understand one thing. Can't I just use serialize() and deserialize()? How is it better?

Another thing, that library is probably better under this organization if it's good enough for you guys. I was just trying to do some session stuff on a reactphp/http and ended up writing this. It still is a work in progress though.

Ocramius commented 7 years ago

@ojhaujjwal the encoding/decoding is something unclear to us for now: please don't rely on this library.

As for what you linked, it doesn't seem to be related to PSR-7 at all?

Ocramius commented 7 years ago

Closing here meanwhile: library is not stable yet.

ojhaujjwal commented 7 years ago

I apologize if this is not the right place to discuss this. It only depends on ServerRequest::getHeaders and ResponseInterface::withHeader. Maybe, I can just make it PSR-7 independent. In any case, my motive is to create something which doesn't depend on PHP native session so that I can work with environments like reactphp/http