PHPackages                             giveitsmaller/contracts - 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. giveitsmaller/contracts

ActiveLibrary

giveitsmaller/contracts
=======================

Generated contract types for GISL (Give It Smaller). Generated from compression\_contracts spec v2.192.0.

0.63.0(2w ago)061Apache-2.0PHPPHP ^8.1

Since Jul 8Pushed 1w agoCompare

[ Source](https://github.com/giveitsmaller/php-contracts)[ Packagist](https://packagist.org/packages/giveitsmaller/contracts)[ RSS](/packages/giveitsmaller-contracts/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (8)Versions (9)Used By (1)

giveitsmaller/contracts (Composer)
==================================

[](#giveitsmallercontracts-composer)

**Generated contract types for GISL (Give It Smaller).** Do not edit — this package is produced by `scripts/generate.py` in the `giveitsmaller-sdks` repo and regenerated on every contracts re-vendor.

Package version`0.65.0`Generated from spec**`v2.194.0`**Two version lines, and they are not comparable
----------------------------------------------

[](#two-version-lines-and-they-are-not-comparable)

This package is on an **0.x** line. The contract it is generated from is on a **2.x** line. They count independently and nothing in either name says so, so:

- `npm view` / `composer show` tells you the PACKAGE version, never the spec version.
- To find the spec version, read **`gislContractsSpec`** in `package.json` (npm) or **`extra.gisl-contracts-spec`** in `composer.json` (Composer), or the table above.

⚠️ **If `gislContractsSpec` is absent, this package is 0.62.0 or older — it does NOT mean you have the wrong package.** The field was introduced after 0.62.0.

What is in here
---------------

[](#what-is-in-here)

- `openapi/api.yaml`, `asyncapi/events.yaml` — the specs themselves.
- `dist/` — generated TypeScript types for both, plus the operation schemas.
- `availability/availability.json` — per-endpoint availability. **`planned` means the endpoint is declared but not necessarily implemented or routed**; check before building against it.

Related packages
----------------

[](#related-packages)

`giveitsmaller/contracts` on Packagist is the PHP build of this same generated output and shares these version numbers. `antoniocs/compression-contracts` is a DIFFERENT package — the 2.x Composer package carrying the spec for the PHP API — and its numbers are the spec numbers, not these.

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance97

Actively maintained with recent releases

Popularity5

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity38

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.

###  Release Activity

Cadence

Every ~5 days

Total

8

Last Release

18d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/300979747?v=4)[giveitsmaller](/maintainers/giveitsmaller)[@giveitsmaller](https://github.com/giveitsmaller)

---

Top Contributors

[![AntonioCS](https://avatars.githubusercontent.com/u/1086401?v=4)](https://github.com/AntonioCS "AntonioCS (96 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/giveitsmaller-contracts/health.svg)

```
[![Health](https://phpackages.com/badges/giveitsmaller-contracts/health.svg)](https://phpackages.com/packages/giveitsmaller-contracts)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.4k567.5M2.9k](/packages/aws-aws-sdk-php)[algolia/algoliasearch-client-php

API powering the features of Algolia.

69736.5M190](/packages/algolia-algoliasearch-client-php)[gotenberg/gotenberg-php

A PHP client for interacting with Gotenberg, a developer-friendly API for converting numerous document formats into PDF files, and more!

3927.0M37](/packages/gotenberg-gotenberg-php)[google/cloud

Google Cloud Client Library

1.2k17.1M58](/packages/google-cloud)[google/cloud-core

Google Cloud PHP shared dependency, providing functionality useful to all components.

350141.3M156](/packages/google-cloud-core)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)

PHPackages © 2026

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