cors-psr7 icon indicating copy to clipboard operation
cors-psr7 copied to clipboard

Framework agnostic (PSR-7) CORS implementation (www.w3.org/TR/cors)

Results 8 cors-psr7 issues
Sort by recently updated
recently updated
newest added

It's quite important, because modern packages rely on psr/log of at least 2.0 vesrion, so adding neomerx/cors-psr7 raises confilct.

Trying to setup package in PHP-DI container and seems like I've found small mistake in `init` method. https://github.com/neomerx/cors-psr7/blob/0f968523b0b8215540915464aed08c5c4a4bf8b5/src/Strategies/Settings.php#L158-L159 Second `setAllowedOrigins([])` overwrites `areAllOriginsAllowed` to `false` value, then `enableAllOriginsAllowed()` makes no sense...

Hi Thanks for an awesome library Due to the use of `static::` in https://github.com/neomerx/cors-psr7/blob/0f968523b0b8215540915464aed08c5c4a4bf8b5/src/Analyzer.php#L277 Because the class constants are private they can't be accessed from the child class. And when...

Or does anyone know what happened to @neomerx? There has been no account activity since early 2020.

Is there a reason for only supporting `psr/log:^3.0`? This library doesn't seem to utilize the changes that went into `3.0` specifically and should have no trouble supporting `^2.0 || ^3.0`,...

Hi @neomerx, do you have any plans with this repository? I see you are no longer active on Github and there are a year old issue and PR. Just asking...