PHPackages                             wearerequired/rest-api-same-origin - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. wearerequired/rest-api-same-origin

ActiveWordpress-plugin[Security](/categories/security)

wearerequired/rest-api-same-origin
==================================

WordPress plugin to limit the Access-Control-Allow-Origin header to only allowed origins.

0.1.0(7y ago)13.4kGPL-2.0-or-laterPHP &gt;=7.1

Since May 18Compare

[ Source](https://github.com/wearerequired/rest-api-same-origin)[ Packagist](https://packagist.org/packages/wearerequired/rest-api-same-origin)[ Docs](https://github.com/wearerequired/rest-api-same-origin)[ RSS](/packages/wearerequired-rest-api-same-origin/feed)WikiDiscussions Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/wearerequired/rest-api-same-origin).

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2557d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1446895?v=4)[required](/maintainers/wearerequired)[@wearerequired](https://github.com/wearerequired)

---

Tags

wordpresscorsREST APIorigin

### Embed Badge

![Health badge](/badges/wearerequired-rest-api-same-origin/health.svg)

```
[![Health](https://phpackages.com/badges/wearerequired-rest-api-same-origin/health.svg)](https://phpackages.com/packages/wearerequired-rest-api-same-origin)
```

###  Alternatives

[mikemclin/laravel-wp-password

Laravel package that checks and creates WordPress password hashes

863.4M2](/packages/mikemclin-laravel-wp-password)[brain/nonces

OOP package for WordPress to deal with nonces.

26227.1k1](/packages/brain-nonces)[wp-privacy/wp-api-privacy

Strips potentially identifying information from outbound requests to the WordPress.org API

1632.0k](/packages/wp-privacy-wp-api-privacy)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
