Sebastien Rousseau php-config Logo php-config

@sebastienrousseau/php-config

Shareable PHP configuration providing standardized PHP-CS-Fixer, PHPStan, and Psalm rules adhering to modern 2026 standards.

Get Started Usage Guide GitHub npm

Start with one command

Install with your favourite package manager and extend in seconds.

Install @sebastienrousseau/php-config

npm install --save-dev @sebastienrousseau/php-config

Key capabilities

Engineered for modern PHP 8.2+ enterprise applications.

  • PER-CS 2.0 Standards

    Standardized .php-cs-fixer.php enforcing strict typing, short array syntax, and PSR guidelines.

  • Level 8 PHPStan Analysis

    Configured phpstan.neon enforcing strong static typing and eliminating runtime type bugs.

  • Dual Module Exports

    Full support for modern ECMAScript Modules (ESM) and CommonJS (CJS) environments.

  • Zero Runtime Dependencies

    Pure configuration with no bloated runtime dependency trees, keeping builds fast and secure.

What is @sebastienrousseau/php-config?

@sebastienrousseau/php-config is an enterprise-grade, shareable configuration for PHP development. Designed to deliver vetted, deterministic defaults, this package eliminates manual setup boilerplate and establishes rigorous code quality standards across modern software development pipelines.

By adopting this configuration, engineering teams ensure unified consistency across local development, continuous integration, and automated deployments. The package adheres strictly to the OpenSSF Best Practices badge program (ID: 14508) and achieves top-tier security ratings via Scorecard audits.

Explore the complete Installation Guide, review the comprehensive Usage Documentation, inspect the API Reference, or discover AI integrations via the Model Context Protocol (MCP).


Why Developers Choose @sebastienrousseau/php-config

Modern language repositories frequently suffer from configuration drift, fragmented standards, and maintenance overhead. @sebastienrousseau/php-config directly solves these challenges:

  • Predictable Formatting: Guarantees identical style rules across team members and CI runners.
  • Immediate Productivity: Get started instantly with zero configuration tuning required.
  • Enterprise Hardened: Tested continuously with OpenSSF Scorecard, CodeQL, and native Node test runners.

Production Standards

Engineered for high-assurance developer platforms and open-source infrastructure.

100%
OpenSSF Best Practices passing status and automated scorecard audits.
0
Runtime dependencies for lightning-fast installs and minimal attack surface.
100%
TypeScript type coverage with comprehensive definitions.

Explore Installation Guide