Web Security PhpStorm 6 min read

PhpStorm security linting for Nginx, Docker, headers, and secrets

Production PHP breaches rarely come from syntax errors. They come from exposed `.env` files, permissive Nginx location blocks, wildcard CORS headers, or unhardened MySQL and Redis containers. Audit the entire stack locally inside PhpStorm.

Engineering context

Why local IDE checks beat late CI failures

Applies to IntelliJ Platform 2025.2+ through 2026.3+.

PhpStorm already catches PHP type and static analysis issues. Adding local-first Zovo plugins covers the infrastructure, proxy, and browser-security layer sitting right next to your Laravel or Symfony code.

Upgrade PhpStorm seats through native JetBrains Marketplace billing ($29/yr Personal, $59/yr Org) or commission custom internal security rules starting at $4,999.

Implementation walkthrough

Four-step production setup

Tested against JetBrains Plugin Verifier and offline enterprise policies.

1

Block leaked secrets and .env drift

Run Env Secret Guard and Dotenv Parity Checker to verify API keys aren't committed and `.env.example` matches every variable your app expects.

2

Audit Nginx, Caddy, and Docker Compose configs

Use Nginx Config Auditor, Caddyfile Route Auditor, and Docker Compose Auditor to flag exposed PHP-FPM ports, missing TLS settings, and root containers.

3

Validate CSP, CORS, and JWT token handling

Pair CSP Header Validator, CORS Policy Auditor, and JWT OAuth Inspector to tighten browser policies and check token claims offline.

4

Verify license compliance across dependencies

Run Package License Audit before enterprise client handoffs to flag incompatible third-party licenses without uploading lockfiles to external scanners.

nginx.conf (blocking dotfile and .env exposure)
location ~ /\.(?!well-known).* {
  deny all;
  return 404;
}

add_header X-Content-Type-Options nosniff always;
add_header X-Frame-Options DENY always;

Plugins referenced in this guide

More PhpStorm plugins

Nginx Config Auditor icon

Nginx Config Auditor

com.notemods.nginx-config-auditor
Queued Proxy and Dev Tools

Parse nginx.conf server blocks, inspect proxy upstreams, and catch TLS and header security gaps inside your JetBrains IDE.

CSP Header Validator icon

CSP Header Validator

com.notemods.csp-header-validator
Live ID 36726 Security and CI

Parse Content-Security-Policy headers, catch XSS bypass risks, and grade CSP strength inside your JetBrains IDE.

CORS Policy Auditor icon

CORS Policy Auditor

com.notemods.cors-policy-auditor
Live ID 36724 Security and CI

Parse HTTP CORS response headers, catch wildcard credential leaks and null origin bypasses, and grade CORS posture inside your JetBrains IDE.

Env & Secret Leak Guard icon

Env & Secret Leak Guard

com.notemods.env-secret-guard
Live ID 36762 Security and CI

Catch .env schema drift and hardcoded API keys, tokens, and private keys before they leave your JetBrains IDE.

FREEMIUM Native JetBrains Marketplace licensing

$29/yr Personal · $59/yr Org (30-day free trial, zero telemetry)

Core parsers and sidebar inspectors stay free forever with no account required. Upgrade inside JetBrains Marketplace for deep security audits, secret leak scanners, breaking-change guards, and JSON or Markdown report exports. Need a private air-gapped plugin or custom PSI inspection engine for your company?

Related JetBrains engineering guides

View all 65 guides