Open ipranjal opened 2 months ago
WIP on #3029 cc : @mediaformat
This concludes minimum integration of httpFoundation , ill continue working on changing all our superglobals with ->request() All feedback and review are welcome @mediaformat @benwerd
What's holding this up?
My only comment is that we could go all-in on Symfony and just use that instead of wrapping Request/Response?
https://symfony.com/doc/current/setup.html
That could replace a lot of the CLI and dev server/testing infra that is currently unmaintained...
@lindner currently there needs to be little bit of work done on the current session class of know to replace $_SESSSION super globals that's the only thing that is holding back this pull request. Currently I have successfully
The last bit remaining is Removing all $_SESSION variables that needs a little bit of work as I need to integrate symfony session with current IDNO/Session .
Also while doing this I am finding few small bugs/improper way of handling things which I need to patch as part of this transition.
@lindner I agree ill remove the wrapper and directly use Symfony Request/Response , thanks for suggestion.
While I am finishing up Session integration, I would love to know thoughts of @benwerd on this PR
PS: I am a full time college student and work part time as freelance programmer , had a busy week did not get time to pach $_SESSSION yet, will finish this by tommrow most probably
@lindner @benwerd PR ready to be reviewed and merged
Here's what I fixed or added:
Here's why I did it:
So that non can be compatible with non apache environment like Swoole etc , and also integrate SymphonyResponse compatible package (like required for ActivityPub Integration)
Checklist: (
[x]
to check/tick the boxes)