Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 605 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 605 Bytes

CORS Middleware for CodeIgniter 4

MIT License

Inspired on https://github.com/fruitcake/laravel-cors and https://github.com/asm89/stack-cors

About

The CodeIgniterCORS library allows you to send CORS [Cross-Origin Resource Sharing] headers with CodeIgniter 4 (https://github.com/codeigniter4/CodeIgniter4).

More info about Cross-Origin Resource Sharing:
http://enable-cors.org
https://developer.mozilla.org/en/docs/Web/HTTP/CORS

Important

I only tested this in a simple case.
Let me know if you notice any issue.