Skip to main content


LmcCors is a simple Laminas MVC module that helps you to deal with Cross-Origin Resource Sharing (CORS).

It allows to easily configure your Laminas MVC application so that it automatically builds HTTP responses that follow the CORS documentation.

What is CORS ?

CORS is a mechanism that allows to perform cross-origin requests from your browser.

For instance, let's say that your website is hosted in the domain By default, user agents won't be allowed to perform AJAX requests to another domain for security reasons (for instance

With CORS, you can allow your server to reply to such requests.

You can find better documentation on how CORS works on the web: