Adds CORS (Cross-Origin Resource Sharing) headers support in your Laravel application. The Laravel-cors package allows you to send Cross-Origin Resource Sharing headers with Laravel middleware configuration.

Features

  • Handles CORS pre-flight OPTIONS requests
  • Adds CORS headers to your responses
  • Match routes to only add CORS to certain Requests
  • Global usage for Lumen
  • Authorization headers / Credentials
  • Disable CSRF protection for your API
  • Documentation available

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

MIT License

Follow CORS Middleware for Laravel

CORS Middleware for Laravel Web Site

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of CORS Middleware for Laravel!

Additional Project Details

Programming Language

PHP

Related Categories

PHP Frameworks

Registered

2024-04-03