koalapress/koalastan 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

koalapress/koalastan

Composer 安装命令:

composer require koalapress/koalastan

包简介

PHPStan configuration and stubs for KoalaPress projects

README 文档

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.

Generating Stubs

Stubs are generated using a simple docker-compose setup. To generate the stubs, run:

docker compose up

Requirements

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

统计信息

  • 总下载量: 8
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-07-26