Enable CORS in laminas MVC

Hello friends,

I’ve been trying to enable Cross in my MVC application for a few days now.

I’ve seen some instructions for API-TOOLS and MIDDLEWARE.

Can someone help me to solve this.


Hello and welcome to our forums! :smiley:

What do you mean with “Cross”? Or do mean “CORS” (Cross-Origin Resource Sharing)?

Hello froschdesign, thank you so much :smiley:!

That’s right. I wrote wrong. I would like to know how to use CORS in Laminas MVC

Please check:

Maybe @visto9259 can say something more here.

1 Like

Hello @froschdesign

Thanks for the answer.

I used the package and it worked correctly.

I am checking the use of session / cookies with CORS :smiley:

Thank you very much