Download the PHP package medz/cors without Composer
On this page you can find all versions of the php package medz/cors. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
All versions of cors with dependencies
Informations about the package cors
CORS
PHP CORS (Cross-origin resource sharing) middleware.
Support
- [x] Array, Coding in Native PHP
- [x] Using PSR-7
- [x] PSR-15 Support
- [ ] Symfony Support
- [x] Laravel Support
- [x] Lumen Support
- [ ] Yii2 Support
- [x] Swoft Framework
- [x] Slim Framework
- [x] ThinkPHP Support
Using
Example:
Both $requestType
and $responseType
are of any type that is individually set to support, but if used in a framework, these two values are usually the same. Because you can set it up individually, you can deliver different values depending on your needs to achieve your goals.
Configure
The config example:
Array
PSR-7
Other
Because of the interface features provided by this package, you can implement it in a small amount of code in any other framework.
Excellent Repositories
- ThinkSNS+ A strong community system
License
The component is open-sourced software licensed under the MIT license.