Ross ROSS = Recommend OSS · open-source software intelligence for agents

fruitcake/laravel-cors

Adds CORS (Cross-Origin Resource Sharing) headers support in your Laravel application observed · 2026-08-28

github.com/fruitcake/laravel-cors · PHP · MIT (permissive) · archived observed · 2026-08-28

Health v2 · maintenance only

10/100

  • Activity 0
  • Release rhythm 8
  • Longevity 100

Flags: archived

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 4704
  • days_rel: n/a
  • days_push: 1294
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

6235 stars · 604 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

A Laravel package that adds Cross-Origin Resource Sharing (CORS) headers support via middleware, handling pre-flight OPTIONS requests and configurable per-route CORS. It is now deprecated because CORS middleware is included in Laravel framework core since Laravel 9.2.

Use cases

  • enable CORS headers in a Laravel API
  • handle CORS pre-flight OPTIONS requests in Laravel
  • allow cross-origin requests from a frontend to a Laravel backend
  • restrict CORS to specific routes in Laravel
  • configure allowed origins and headers for a Laravel app

When to choose

  • you are on Laravel 8 or earlier and need CORS support
  • you maintain a legacy Laravel app still using this package

When to avoid

  • you are on Laravel 9.2 or later - use the built-in Illuminate\Http\Middleware\HandleCors instead
  • you need CORS for a non-Laravel PHP project - use fruitcake/php-cors directly

Facets

library · maturity maintenance

middleware http-server security web-development backend apis security php cors laravel-package deprecated-in-favor-of-core http-headers laravel

1 source

Member repositories

RepositoryRoleHealth v2
fruitcake/laravel-corsmain10

For agents

markdown · JSON · MCP: product_card(name="fruitcake/laravel-cors")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem