Skip to content
CAI
Software that uses CAICheck a score

twilio/twilio-php

55.6

Adequate · 17 November 2026

436.5k

lines of production code

PHP

primary language

1

measurement over time

CAI band scale
CAI lens gauges

What this system is

Behavioural changes

1 commit (0 fixes) modifying githooks

A change to existing behaviour in githooks — 1 commit, 1 file: “chore: Add ci.yml to run tests on every PR (\#946)” (refs \#946).

githooks · medium confidence · unverified

1 commit (0 fixes) modifying src/Twilio/AuthStrategy, src/Twilio/CredentialProvider

A change to existing behaviour in src/Twilio/AuthStrategy, src/Twilio/CredentialProvider — 1 commit, 10 files: “feat: merge OAuth support into main (\#854)” (refs \#854).

src/Twilio/AuthStrategy, src/Twilio/CredentialProvider · medium confidence · unverified

10 commits (4 fixes) modifying src/Twilio/TwiML

A change to existing behaviour in src/Twilio/TwiML — 10 commits (4 fixs), 5 files: “\[Librarian\] Regenerated @ b3b357d40fb666a2496b2956780d9ec33e26ab2f”; “chore: revert 'fix: avoid deprecation messages for PHP 8.4' (\#837)”; “chore: PHPDoc cleanup (\#876)”; and 7 more (refs \#837, \#876, \#584, \#604, \#834, …).

src/Twilio/TwiML · medium confidence · unverified

12 commits (4 fixes) modifying src/Twilio/Security

A change to existing behaviour in src/Twilio/Security — 12 commits (4 fixs), 1 file: “support HMAC-SHA256 webhook signatures in RequestValidator (\#955)”; “chore: PHPDoc cleanup (\#876)”; “fix: env var retrieval and url unparsing (\#634)”; and 9 more (refs \#955, \#876, \#634, \#664, \#699, …).

src/Twilio/Security · medium confidence · unverified

197 commits (9 fixes) modifying src/Twilio/Rest

A change to existing behaviour in src/Twilio/Rest — 197 commits (9 fixs), 2846 files: “\[Librarian\] Regenerated @ ace337a1be26cdd69f455a9a0f82789cd255d3a1”; “\[Librarian\] Regenerated @ 922c1fef02b8c8fbbbe2315aa9b9d1dba49f3fc0”; “\[Librarian\] Regenerated @ d122b05026327019e18cb5763c557a68138cc2c8 0e8634d10afc0145e18ccb8d90598b642b67ad87”; and 194 more (refs \#851, \#951, \#812, \#579, \#621, …).

src/Twilio/Rest · medium confidence · unverified

204 commits (12 fixes) modifying src/Twilio

A change to existing behaviour in src/Twilio — 204 commits (12 fixs), 31 files: “Release 7.16.2”; “Release 6.43.1”; “Release 6.26.0”; and 201 more (refs \#951, \#837, \#854, \#902, \#887, …).

src/Twilio · medium confidence · unverified

3 commits (0 fixes) modifying src/Twilio/TwiML/Fax

A change to existing behaviour in src/Twilio/TwiML/Fax — 3 commits, 1 file: “chore!: add return types to generated code (\#604)”; “follow phpunit guideline to compose test suite using filesystem structure”; “\[Librarian\] Regenerated @ 693f2468914b6bc7e248e9cf4a515a0f6183779e” (refs \#604).

src/Twilio/TwiML/Fax · medium confidence · unverified

3 commits (0 fixes) modifying src/Twilio/TwiML/Messaging

A change to existing behaviour in src/Twilio/TwiML/Messaging — 3 commits, 4 files: “chore!: add return types to generated code (\#604)”; “\[Librarian\] Regenerated @ 2264f28906b87ae1f1aedbf72f8dc0e4b57a545a”; “follow phpunit guideline to compose test suite using filesystem structure” (refs \#604).

src/Twilio/TwiML/Messaging · medium confidence · unverified

3 commits (1 fix) modifying src/Twilio/Http/BearerToken

A change to existing behaviour in src/Twilio/Http/BearerToken — 3 commits (1 fix), 3 files: “feat: merge OAuth support into main (\#854)”; “fix: set grant type required (\#916)”; “chore: change oauth token endpoint (\#881)” (refs \#854, \#916, \#881).

src/Twilio/Http/BearerToken · medium confidence · unverified

36 commits (1 fix) modifying src/Twilio/TwiML/Voice

A change to existing behaviour in src/Twilio/TwiML/Voice — 36 commits (1 fix), 58 files: “\[Librarian\] Regenerated @ d122b05026327019e18cb5763c557a68138cc2c8 0e8634d10afc0145e18ccb8d90598b642b67ad87”; “\[Librarian\] Regenerated @ 0f0b2504f7166f971139be89ca896dc5c087def3”; “\[Librarian\] Regenerated @ b3b357d40fb666a2496b2956780d9ec33e26ab2f”; and 33 more (refs \#956, \#604, \#937, \#606, \#617, …).

src/Twilio/TwiML/Voice · medium confidence · unverified

5 commits (1 fix) modifying example

A change to existing behaviour in example — 5 commits (1 fix), 11 files: “feat: merge OAuth support into main (\#854)”; “feat: return response headers (\#902)”; “feat!: Merge branch '7.0.0-rc' to main (\#771)”; and 2 more (refs \#854, \#902, \#771, \#840, \#803).

example · medium confidence · unverified

564 commits (35 fixes) modifying (repo-wide)

A change to existing behaviour in (repo-wide) — 564 commits (35 fixs), 24 files: “chore: update license references”; “update Makefile for composer compatibility”; “\[Librarian\] Regenerated @ ace337a1be26cdd69f455a9a0f82789cd255d3a1”; and 535 more (refs \#951, \#816, \#742, \#734, \#862, …).

(repo-wide) · low confidence · unverified

6 commits (1 fix) modifying src/Twilio/Jwt/Grants

A change to existing behaviour in src/Twilio/Jwt/Grants — 6 commits (1 fix), 7 files: “feat: Add PlaybackGrant (\#700)”; “fix: update native\_function\_invocation calls to be fully qualified (\#584)”; “chore!: remove deprecated code (\#594)”; and 3 more (refs \#700, \#584, \#594, \#603, \#605).

src/Twilio/Jwt/Grants · medium confidence · unverified

9 commits (4 fixes) modifying src/Twilio/Jwt

A change to existing behaviour in src/Twilio/Jwt — 9 commits (4 fixs), 3 files: “chore: revert 'fix: avoid deprecation messages for PHP 8.4' (\#837)”; “feat: Add region to access token (\#669)”; “fix: update native\_function\_invocation calls to be fully qualified (\#584)”; and 6 more (refs \#837, \#669, \#584, \#834, \#839, …).

src/Twilio/Jwt · medium confidence · unverified

Fixes

27 commits (16 fixes) fixing src/Twilio/Http

A fix in src/Twilio/Http — 27 commits (16 fixs), 5 files: “chore: revert 'fix: avoid deprecation messages for PHP 8.4' (\#837)”; “fix: support array parameters for Guzzle POSTs (\#650)”; “feat: merge OAuth support into main (\#854)”; and 24 more (refs \#837, \#650, \#854, \#867, \#876, …).

src/Twilio/Http · medium confidence · unverified

7 commits (4 fixes) fixing src/Twilio/Jwt/TaskRouter, src/Twilio/TaskRouter

A fix in src/Twilio/Jwt/TaskRouter, src/Twilio/TaskRouter — 7 commits (4 fixs), 8 files: “chore: revert 'fix: avoid deprecation messages for PHP 8.4' (\#837)”; “fix: update native\_function\_invocation calls to be fully qualified (\#584)”; “fix: avoid deprecation messages for PHP 8.4 (\#834)”; and 4 more (refs \#837, \#584, \#834, \#839, \#603, …).

src/Twilio/Jwt/TaskRouter, src/Twilio/TaskRouter · medium confidence · unverified

9 commits (5 fixes) fixing src/Twilio/Base

A fix in src/Twilio/Base — 9 commits (5 fixs), 2 files: “chore: revert 'fix: avoid deprecation messages for PHP 8.4' (\#837)”; “fix: Regional API domain processing (\#894)”; “feat: merge OAuth support into main (\#854)”; and 6 more (refs \#837, \#894, \#854, \#876, \#834, …).

src/Twilio/Base · medium confidence · unverified

Test coverage

1 commit adding/updating tests in tests/Twilio/Unit/AuthStrategy, tests/Twilio/Unit/CredentialProvider; 12 commits adding/updating tests in tests/Twilio/Unit/Rest; 15 commits adding/updating tests in tests; 17 commits adding/updating tests in tests/Twilio; 17 commits adding/updating tests in tests/Twilio/Unit/Http; 28 commits adding/updating tests in tests/Twilio/Unit; 7 commits adding/updating tests in tests/Twilio/Unit/Jwt.

Dependencies

42 commits updating dependencies (2 manifests)

A dependency / build maintenance change in (dependencies) — 42 commits (8 fixs), 2 files: “Release 5.19.0”; “Release 5.13.4”; “Dependency Fix (\#572)”; and 39 more (refs \#572, \#718, \#574, \#560, \#547, …).

(dependencies) · medium confidence · unverified

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Baseline

  • First survey — no prior run to compare against. CAI 55.6.

Lenses

  • Code Health 69.7
  • Architecture 88.0
  • Maturity 54.8
  • Readiness 54.2
  • Security 51.3

Changes since last survey

  • 300 commits — 272 feature/other, 28 fixes

By area

  • src/Twilio — 247 commits
  • (root) — 36 commits
  • tests/Twilio — 8 commits
  • .github/workflows — 7 commits
  • docs/api — 2 commits

Notable commits

  • fix: Revert "fix: Regional API domain processing (#894)" (#908)
  • fix: chore: fix contentType check in post and put (#811)
  • fix: chore: fix error message (#877)
  • fix: chore: fix model names in json serialize and payload (#840)
  • fix: chore: fix php-docs (#941)
  • fix: chore: fix seralization (#851)
  • fix: chore: revert 'fix: avoid deprecation messages for PHP 8.4' (#837)
  • fix: fix: Disable redirects for the Guzzle HTTP client (#732)
  • fix: fix: Fix curl_close deprecation warning on PHP 8.5 (#893)
  • fix: fix: Multipart support (#660)
  • fix: fix: Orgs api metadata removal for php repo (#812)
  • fix: fix: PHP 8.4 deprecation fix (#844)
  • fix: fix: Php api std (#914)
  • fix: fix: Php8.4 take 2 (#839)
  • fix: fix: Regional API domain processing (#894)
  • fix: fix: avoid deprecation messages for PHP 8.4 (#834)
  • fix: fix: correct the docker tag syntax for RCs
  • fix: fix: corrected booleanToString function (#792)
  • fix: fix: install docs dependencies in separate step (#721)
  • fix: fix: lock the deps (#928)
  • …and 280 more

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

twilio/twilio-php was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 17 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 481281c74d44aac21e045792ef28b8af69f75686 — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.84+preprod-d645ca9bbedd.