Alexander Makarov

Results 1745 comments of Alexander Makarov

In a similar way i.e. create another entry point etc. but there's almost no need for it in Yii 3 since it's way more flexible about directory structure.

@jasonkovacs-tim eventually.

Yes, you need PSR HTTP factory. I recommend using nyholm/psr7.

I think it's interesting enough use case to be part of the guide.

Oh, you want to do it? Great! Then https://www.yiiframework.com/doc/guide/2.0/en/tutorial-yii-as-micro-framework is a good start. Document should be placed into tutorial/yii-as-micro-framework.md

Right. How would you solve it?

@ayiangio what are headers that are sent?

OK but what headers are actually sent after you configure CSRF middleware and make a request?