PHPackages                             marcelbolten/php-cairo-stubs - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. marcelbolten/php-cairo-stubs

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

marcelbolten/php-cairo-stubs
============================

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

11PHP

Since Sep 20Pushed 7mo agoCompare

[ Source](https://github.com/MarcelBolten/php-cairo-stubs)[ Packagist](https://packagist.org/packages/marcelbolten/php-cairo-stubs)[ RSS](/packages/marcelbolten-php-cairo-stubs/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (1)Used By (0)

PHP Cairo Extension Stubs
=========================

[](#php-cairo-extension-stubs)

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](https://github.com/MarcelBolten/php-cairo).

### Requirements

[](#requirements)

- PHP 8.1+

### Installation

[](#installation)

Require this package as a development dependency with [Composer](https://getcomposer.org).

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

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance46

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity13

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/454418cdca1dd5f4f92bed36c6b829a647760387e132e84fb6fc9b9b688198f9?d=identicon)[marcelbolten](/maintainers/marcelbolten)

---

Top Contributors

[![MarcelBolten](https://avatars.githubusercontent.com/u/65481677?v=4)](https://github.com/MarcelBolten "MarcelBolten (3 commits)")

### Embed Badge

![Health badge](/badges/marcelbolten-php-cairo-stubs/health.svg)

```
[![Health](https://phpackages.com/badges/marcelbolten-php-cairo-stubs/health.svg)](https://phpackages.com/packages/marcelbolten-php-cairo-stubs)
```

###  Alternatives

[tatter/menus

Dynamic menus for CodeIgniter 4

1713.8k1](/packages/tatter-menus)[llm/mcp-server

PHP SDK for building MCP servers

431.1k](/packages/llm-mcp-server)[asorasoft/chhankitek

Convert from AD (Anno Domini) to Lunar (Chhankitek) format.

104.2k](/packages/asorasoft-chhankitek)[mohammedmanssour/super-simple-dto

Creating data transfer objects with the power of php objects

122.8k1](/packages/mohammedmanssour-super-simple-dto)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
