koalapress/koalastan

PHPStan configuration and stubs for KoalaPress projects

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Type:phpstan-extension

dev-main 2025-07-27 09:55 UTC

This package is auto-updated.

Last update: 2025-07-27 09:56:40 UTC


README

Simple PHPStan configuration for KoalaPress projects.

Installation

In your KoalaPress project:

composer require --dev koalapress/koalastan

Usage

Create a phpstan.neon in your project root:

includes:
    - vendor/koalapress/koalastan/extension.neon

parameters:
    paths:
        - app/
        - config/
        - resources/
        # Add your custom paths

Run PHPStan:

vendor/bin/phpstan analyse

What's Included

  • Pre-generated stubs for KoalaPress Framework
  • Pre-generated stubs for Corcel and Acorn
  • WordPress-optimized PHPStan configuration
  • Sensible defaults for WordPress projects

Updating Stubs

Stubs are maintained in this repository. When KoalaPress Framework is updated, the stubs will be regenerated and released.

Requirements

  • PHP 8.1+
  • PHPStan 1.10+
  • KoalaPress project structure