mccomaschris/timber-stubs

Timber function and class declaration stubs for static analysis.

Maintainers

👁 mccomaschris

Package info

github.com/mccomaschris/timber-stubs

pkg:composer/mccomaschris/timber-stubs

Statistics

Installs: 4

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

dev-main 2025-03-13 13:44 UTC

Requires

Requires (Dev)

Suggests

Provides

None

Conflicts

None

Replaces

None

MIT e87930409933b3b9e6e47a44f9132606d97df6df

themewordpressstatic analysistimberPHPStan

This package is auto-updated.

Last update: 2026-06-13 16:19:00 UTC


README

It provides stub declarations for Timber core functions, classes and interfaces.

These stubs can help plugin and theme developers leverage static analysis tools like PHPStan.

The stubs are generated from timber/timber using php-stubs/generator.

Requirements

  • PHP ^8.0

Installation

Require this package as a development dependency with Composer.

composer require --dev mccomaschris/timber-stubs

Alternatively you may download timber-stubs.php directly.