marcelbolten/php-cairo-stubs

Cairo graphics library PHP extension stubs for static analysis and IDE integration

Installs: 1

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 0

Forks: 0

pkg:composer/marcelbolten/php-cairo-stubs

dev-main 2025-09-20 15:28 UTC

This package is auto-updated.

Last update: 2025-10-21 14:39:32 UTC


README

This package provides stub declarations for functions and classes of the PHP Cairo extension (Cairo graphics library).

These stubs enable static analysis with tools like PHPStan and Psalm as well as enhanced IDE autocompletion and type hints

The stubs in this repository are copied from the PHP Cairo extension.

Requirements

  • PHP 8.1+

Installation

Require this package as a development dependency with Composer.

composer require --dev marcelbolten/php-cairo-stubs