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 11mo 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 2w 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

16

—

LowBetter than 4% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity14

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://avatars.githubusercontent.com/u/65481677?v=4)[Marcel](/maintainers/marcelbolten)[@MarcelBolten](https://github.com/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

[nmaier95/shopify-product-fetcher

Shopify for Craft CMS

545.0k](/packages/nmaier95-shopify-product-fetcher)

PHPackages © 2026

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