Package Health

oihana/php-middleware

Composable PHP middleware helpers — security headers (HSTS, CSP, X-Frame-Options, Referrer-Policy, X-Content-Type-Options), CORS with preflight, CSRF, request-id, maintenance mode, rate limiting. PSR-7 compatible, zero magic strings.

Latest 0.7.1PackagistPackagistMPL-2.0
Declared in package metadata.

76%

Total Score

healthy

Healthy overall, supported by recent repository activity and organization backing despite limited contributors and unpinned workflow actions.

Health Score Breakdown

Repo toolingcaution

Composer build tooling is present, but no security scanning tools were detected. For middleware handling security-related concerns, that is a modest maintenance and assurance gap.

Security policycaution

The repository has no security policy. This weakens disclosure transparency for a package that includes CSRF, webhook, and security-header helpers.

Version stabilitycaution

Version 0.7.1 is not a stable major release, so the API may still change, but it is not a prerelease and recent releases contain no prerelease share.

Workflow auditcaution

The only workflow was fully analyzed with no dangerous triggers, untrusted checkouts, or audit findings. However, all 3 action references are unpinned, leaving them exposed to upstream changes; the absence of a top-level permissions block is acceptable on its own.

Vulnerabilities

We didn't find any vulnerabilities for this package.

Package versions

VersionPublishedVulnerabilities
0.7.113 Jun 2026
0
0 critical, 0 total
0
0 high, 0 total
0
0 medium, 0 total
0
0 low, 0 total
0.7.031 May 2026
0
0 critical, 0 total
0
0 high, 0 total
0
0 medium, 0 total
0
0 low, 0 total
0.6.028 May 2026
0
0 critical, 0 total
0
0 high, 0 total
0
0 medium, 0 total
0
0 low, 0 total
0.5.028 May 2026
0
0 critical, 0 total
0
0 high, 0 total
0
0 medium, 0 total
0
0 low, 0 total
0.4.027 May 2026
0
0 critical, 0 total
0
0 high, 0 total
0
0 medium, 0 total
0
0 low, 0 total
0.3.027 May 2026
0
0 critical, 0 total
0
0 high, 0 total
0
0 medium, 0 total
0
0 low, 0 total
0.2.027 May 2026
0
0 critical, 0 total
0
0 high, 0 total
0
0 medium, 0 total
0
0 low, 0 total
0.1.027 May 2026
0
0 critical, 0 total
0
0 high, 0 total
0
0 medium, 0 total
0
0 low, 0 total

Maintainers

Marc Alcaraz

Direct Dependencies

DependencyLast ReleaseScore
oihana/php-http
Version dev-main
—
—
oihana/php-enums
Version dev-main
—
—
psr/http-message
Version ^2.0
—
—

Weekly Downloads

Info

Last Published
5 months ago
Created
5 months ago

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea