This repository was archived by the owner on Apr 1, 2026. It is now read-only.
v1.2.0
In this release I added the cors-enabled service. It is now the preferred way to enable CORS support, but the old way still works like it used to. The main benefit is that it works properly for controller collections and controllers. If you enable CORS support for the entire application (the typical case) then nothing has changed.
This release also includes a refactoring of the way OPTIONS support is implemented. The new implementation should be more efficient because it creates far fewer routes. It also fixes an issue where the silex-cors-provider has to be registered after an other providers that might create routes such as the silex-annotation-provider. Now the providers can be added in any order.