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
Requires
- php: ^8.1
- larastan/larastan: ^2.8
- php-stubs/wordpress-stubs: ^6.4
- phpstan/extension-installer: ^1.3
- phpstan/phpstan: ^1.10
- szepeviktor/phpstan-wordpress: ^1.3
Requires (Dev)
- php-stubs/generator: ^0.8
Suggests
- koalapress/framework: The KoalaPress framework that these stubs are generated for
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