Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-11-20 06:16 UTC

craftcms / element-api

Create a JSON API/Feed for your elements in Craft.

PHPMIT★ 500 stars⑂ 55 forkssince Aug 2015View on GitHub ↗

craftcms/element-api holds a health index of 73 out of 100, placing it in the Good band. It scores highest on Community & Adoption (72/100) and lowest on AI Readiness (30/100). It was last updated 7 days ago. A single contributor accounts for most of its recent work.

73
overall / 100
Good

Software health index

Metrics are grouped into weighted categories on one standardized 1–100 scale. Overall starts as their weighted mean, calibrated against the distribution of the public record so bands carry percentile meaning; when public evidence triggers the High-Risk Jurisdiction Policy, the rating is adjusted and receives an At Risk ceiling of 34.

73
Exceptional93-100The record's top tier (≈ top 5%); essentially all checked criteria met
Excellent80-92Strong across the board; minor gaps
Good65-79Healthy; gaps are limited and manageable
Moderate50-64Acceptable with notable gaps; review recommended
Weak35-49Material weaknesses across several areas
At Risk20-34Significant weaknesses; adoption warrants caution
Critical1-19Severe problems (abandoned, single-maintainer, no hygiene)
VitalityCommunity &AdoptionSustainability &GovernanceEngineeringQualitySecurityAI Readiness

Score profile

Each axis is a category. The shape matters more than the average — a healthy subject fills the whole shape, while a spike-and-crater profile means strength in one dimension is masking risk in another.

The weighted overall 64 is calibrated to 73 on the published index scale (record calibration 2026-08-02).

Ownership

Craft CMSOrganization · verified domain
407 followers125 public repossince Sep 2016

This repository is backed by an organization — shared, accountable stewardship that can outlive any single maintainer.

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publishTags
Packagistcraftcms/element-api5.0.05,883437 days agojsonapicmslaravelcraftcms

Metrics by category

Vitality

Is the project alive — is code being written and are releases shipping?

66Good · 21% of overall
How it's scored
36/36Push recency — last push 7 days ago
2.1/36Commit cadence — 3/52 weeks with commits
10/18Commit volume — 12 commits in the last year
6/10OpenSSF Scorecard: Maintained — 7 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 6
Inputs used
Commits in the last year12
Share of human-authored commits0.99
Days since last push7
Weeks with commits in the last year3
How it's scored
27/27Ships releases — 7 releases published
36/36Release recency — latest release 7 days ago
12.6/27Release cadence — a release every ~162.6 days
0/10OpenSSF Scorecard: Signed-Releases — no data
Inputs used
Number of releases7
Latest release tag5.0.0
Releases derived from version tagsno
Days since latest release7
Mean days between releases162.6
Excluded from scoring (no data or not applicable): OpenSSF Scorecard: Signed-Releases. Remaining weights renormalized.

Community & Adoption

Does the project have users, downloads, attention, and a welcoming setup for contributors?

72Good · 17% of overall
How it's scored
43.8/60Stars — 500 stars
14.4/25Forks — 55 forks
5.6/15Watchers — 11 watchers
Inputs used
Forks55
Stars500
Watchers11
Growth authenticity stateunverified
Multiplier applied to stars and forks (%)100
Reason growth could not be assessedno_history

Community health

92Excellent
How it's scored
22.5/22.5README
22.5/22.5License — recognized license (MIT)
18/18CONTRIBUTING guide
13.5/13.5Code of conduct
0/7.2Issue template
6.3/6.3PR template
Inputs used
README presentyes
License file presentyes
Badges in the README0
CONTRIBUTING guide presentyes
Issue template presentno
Code of conduct presentyes
Badge services used in the README—
Pull request template presentyes
How it's scored
50.3/80Monthly downloads — 5,883 downloads/month across packagist
6.4/20Registry dependents — 8 packages depend on it
Inputs used
Packagescraftcms/element-api
Registry dependents8
Package ecosystemspackagist
Total downloads729,675
Monthly downloads5,883
Packages excluded as unverified—

Sustainability & Governance

Will the project survive its people — bus factor, responsiveness, who backs it, and package upkeep?

71Good · 23% of overall
How it's scored
9/54Bus factor — 1 contributor(s) cover half of all commits
6/22.5Commit distribution — top contributor authored 73% of commits
13.5/13.5Contributor breadth — 18 contributors
6/10OpenSSF Scorecard: Contributors — project has 2 contributing companies or organizations -- score normalized to 6
Inputs used
Bus factor1
Contributors sampled18
Share of commits by the top contributor0.734
How it's scored
41.7/42Issue resolution — 99% of issues closed
12.8/30PR acceptance — 23/54 decided PRs merged
13/13Newcomer PR acceptance — 1/1 first-time contributors' PRs merged in 30d
3/15OpenSSF Scorecard: Code-Review — Found 5/22 approved changesets -- score normalized to 2
Inputs used
Merged pull requests23
Open issues1
Closed issues136
Pull requests merged in the last 7 days0
Pull requests decided in the last 7 days0
Pull requests merged in the last 30 days2
Pull requests decided in the last 30 days2
Share of issues closed0.993
Pull requests closed without merging31
First-time contributors with a pull request decided in the last 30 days1
Pull requests from first-time contributors merged in the last 30 days1
Pull requests from first-time contributors decided in the last 30 days1
How it's scored
30/30Ownership backing — organization-owned
20/20Verified domain
18.8/25Owner reach — 407 followers of craftcms
25/25Track record — 125 public repos, account ~10 yr old
Inputs used
Followers407
Owner account typeOrganization
Verified domainyes
Owner accountcraftcms
Public repositories125
Owner account age in days3,710

Package maintenance

100Exceptional
How it's scored
25/25Published & resolvable — 1 package(s) on packagist
35/35Publish recency — latest publish 7 days ago
20/20Version history — 43 published versions
20/20Not deprecated — active, not deprecated or yanked
Inputs used
Packagescraftcms/element-api
Package ecosystemspackagist
Any package deprecated or yankedno
Days since latest package publish7

Engineering Quality

Are baseline engineering and documentation practices in place?

55Moderate · 19% of overall
How it's scored
24/24CI workflows — 3 workflow(s)
0/24Tests present
16/16Linter config — phpstan.neon
0/9.6Pre-commit hooks
0/6.4.editorconfig
12/20OpenSSF Scorecard: CI-Tests — 3 out of 5 merged PRs checked by a CI test -- score normalized to 6
Inputs used
CI workflows presentyes
Tests presentno
.editorconfig presentno
Linter config presentyes
Pre-commit config presentno

Documentation

60Moderate
How it's scored
30/30README
0/25Documentation directory
0/15Documentation / homepage site
10/10Repository description
10/10Topics — 10 topics
10/10Wiki
Inputs used
Repository topicscraftcms, craft-plugin, api, fractal, json-api, json, json-serialization, craft2, craft3, json-feed
Wiki enabledyes
Repository homepage—
Documentation site—
README presentyes
Documentation directory presentno
Repository description presentyes

Security

Are visible security and supply-chain practices strong, without unresolved high-risk jurisdiction exposure?

61Moderate · 16% of overall
How it's scored
7.5/7.5Binary-Artifacts — no binaries found in the repo
2.2/7.5Branch-Protection — branch protection is not maximal on development and all release branches
1.5/2.5CI-Tests — 3 out of 5 merged PRs checked by a CI test -- score normalized to 6
0/2.5CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected
1.5/7.5Code-Review — Found 5/22 approved changesets -- score normalized to 2
1.5/2.5Contributors — project has 2 contributing companies or organizations -- score normalized to 6
0/10Dangerous-Workflow — no data
7.5/7.5Dependency-Update-Tool — update tool detected
0/5Fuzzing — project is not fuzzed
2.5/2.5License — license file detected
4.5/7.5Maintained — 7 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 6
0/5Packaging — no data
0/5Pinned-Dependencies — no data
3/5SAST — SAST tool is not run on all commits -- score normalized to 6
5/5Security-Policy — security policy file detected
0/7.5Signed-Releases — no data
0/7.5Token-Permissions — no data
7.5/7.5Vulnerabilities — 0 existing vulnerabilities detected
Inputs used
Data sourceopenssf_scorecard
Scorecard checks evaluated13
OpenSSF Scorecard versionv5.5.0
Scorecard checks inconclusive5
OpenSSF Scorecard aggregate score6.3
Excluded from scoring (no data or not applicable): Dangerous-Workflow, Packaging, Pinned-Dependencies, Signed-Releases, Token-Permissions. Remaining weights renormalized.
How it's scored
7/35Direct dependencies free of known advisories — 1 affected: craftcms/cms 4.8.2 (critical 10.0)
0/25Indirect dependencies free of known advisories — transitive set not separable from development and test dependencies in this scope
32/40No advisories left outstanding — 1 advisory-carrying package(s) unaddressed past 90 days; oldest published 736 days ago
Inputs used
Data sourceosv
Advisories across affected packages128
Packages affected by advisories19
Packages assessed172
Packages not assessed3
Affected packages by severitycritical 3, high 9, moderate 7
Direct dependencies affected by advisories1
Excluded from scoring (no data or not applicable): Indirect dependencies free of known advisories. Remaining weights renormalized. Matched 172 resolved dependencies against OSV. 3 could not be assessed — no resolved version, an unsupported ecosystem, or beyond the reported package list. This repository publishes no package the index resolves, so the repository dependency graph was assessed instead. That graph mixes development and test pins with shipped dependencies, so only the declared runtime dependencies are scored; transitive findings are reported as context and excluded from the score. Reachability is not analyzed.

AI Readiness

How well is the repo equipped to be developed and maintained with AI coding agents? Carries a deliberately small weight (4%): agent tooling is a real maintenance signal, but a repository with none can still reach 100/100.

30At Risk · 4% of overall
How it's scored
0/45Agent instructions — no CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
14/40Legible commit history — 26 of 99 human commits state their intent (structured subject or explanatory body)
Inputs used
llms.txt presentno
llms.txt address on the project website—
Share of human commits that state their intent0.263
Agent instruction files—
Size of the largest agent instruction file (bytes)—
How it's scored
0/18One-command bootstrap
0/22Automated tests
11/11Lint / format config — phpstan.neon
0/11Static type checking
10/10Reproducible environment — lockfile
0/10Demonstrated agent practice — no agent-authored commits among the last 100
8/8Automated maintenance — 1 of the last 100 commits are automated dependency updates
0/10OpenSSF Scorecard: Pinned-Dependencies — no data
Inputs used
Nix config presentno
Tests presentno
Dependency lockfilescomposer.lock, package-lock.json
Dockerfile presentno
Primary language statically typedno
One-command bootstrap files—
Dev container config presentno
Linter config presentyes
Static type-check config files—
Share of commits authored by or credited to coding agents0
Toolchain manifests—
Share of commits that are automated dependency updates0.01
Excluded from scoring (no data or not applicable): OpenSSF Scorecard: Pinned-Dependencies. Remaining weights renormalized.
How it's scored
0/45Type-checkable code — PHP without a type-check config
55/55Manageable file sizes — 0/10 source files over 60KB
Inputs used
Primary languagePHP
Size of the largest source file (bytes)10,856
Source files sampled10
Oversized source files0

Key facts

500GitHub stars
18contributors
12commits, last 12 months
7days since last push
7releases
1bus factor
1open issues
npm, Packagistpackage ecosystems

Data collection warnings

  • Star history unavailable

More detail

Star and fork history 0 ★ / 55 ⇿
0Stars
55Forks
2Releases

When each star and fork was added, collected from GitHub and bucketed by day. Cumulative growth sits directly above the daily additions it is made of, so the two read against each other: steady organic accretion looks nothing like an abrupt, short-lived burst. Where that difference is measurable, it is reported as growth authenticity.

01020304050605532015-082020-022024-08
Major 1Minor 1Patch 0

Each point covers 9 days.

OpenSSF Scorecard 6.3 / 10
6.3aggregate

Independent, tool-agnostic security assessment from the open-source OpenSSF Scorecard. Each check rewards a security practice, not a specific vendor's tool. Checks Scorecard could not determine are marked n/a and excluded from the security score (never counted as zero).Scorecard v5.5.0 · 2026-11-20 06:16 UTC

10Binary-Artifactsno binaries found in the repo
3Branch-Protectionbranch protection is not maximal on development and all release branches
6CI-Tests3 out of 5 merged PRs checked by a CI test -- score normalized to 6
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
2Code-ReviewFound 5/22 approved changesets -- score normalized to 2
6Contributorsproject has 2 contributing companies or organizations -- score normalized to 6
n/aDangerous-Workflowno workflows found
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
6Maintained7 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 6
n/aPackagingpackaging workflow not detected
n/aPinned-Dependenciesno dependencies found
6SASTSAST tool is not run on all commits -- score normalized to 6
10Security-Policysecurity policy file detected
n/aSigned-Releasesno releases found
n/aToken-PermissionsNo tokens found
10Vulnerabilities0 existing vulnerabilities detected
Direct dependencies 2
RegistryPackageVersion constraintManifest
Packagistcraftcms/cms^4.3.0|^5.0.0-beta.1|^6.0.0-beta.1composer.json
Packagistleague/fractal^0.21composer.json
All dependencies 175

Full resolved dependency set from the GitHub dependency graph: 2 direct and 173 indirect (transitive) packages. The transitive closure is complete when the repository commits a lockfile.

RegistryPackageVersionRelation
Packagistcraftcms/cms4.8.2direct
Packagistleague/fractal0.21direct
npmaggregate-error3.1.0indirect
npmansi-escapes4.3.2indirect
npmansi-regex5.0.1indirect
npmansi-regex6.0.1indirect
npmansi-styles4.3.0indirect
npmansi-styles6.2.1indirect
npmastral-regex2.0.0indirect
npmbraces3.0.2indirect
npmclean-stack2.2.0indirect
npmcli-cursor3.1.0indirect
npmcli-truncate2.1.0indirect
npmcli-truncate3.1.0indirect
npmcolor-convert2.0.1indirect
npmcolor-name1.1.4indirect
npmcolorette2.0.19indirect
npmcommander9.4.1indirect
npmcross-spawn7.0.3indirect
npmdebug4.3.4indirect
npmeastasianwidth0.2.0indirect
npmemoji-regex8.0.0indirect
npmemoji-regex9.2.2indirect
npmexeca5.1.1indirect
npmfill-range7.0.1indirect
npmget-stream6.0.1indirect
npmhuman-signals2.1.0indirect
npmhusky7.0.4indirect
npmindent-string4.0.0indirect
npmis-fullwidth-code-point3.0.0indirect
npmis-fullwidth-code-point4.0.0indirect
npmis-number7.0.0indirect
npmis-stream2.0.1indirect
npmisexe2.0.0indirect
npmlilconfig2.0.5indirect
npmlint-staged12.5.0indirect
npmlistr24.0.5indirect
npmlog-update4.0.0indirect
npmmerge-stream2.0.0indirect
npmmicromatch4.0.5indirect
npmmimic-fn2.1.0indirect
npmms2.1.2indirect
npmnormalize-path3.0.0indirect
npmnpm-run-path4.0.1indirect
npmobject-inspect1.12.2indirect
npmonetime5.1.2indirect
npmp-map4.0.0indirect
npmpath-key3.1.1indirect
npmpicomatch2.3.1indirect
npmpidtree0.5.0indirect
npmprettier2.8.0indirect
npmrestore-cursor3.1.0indirect
npmrfdc1.3.0indirect
npmrxjs7.5.7indirect
npmshebang-command2.0.0indirect
npmshebang-regex3.0.0indirect
npmsignal-exit3.0.7indirect
npmslice-ansi3.0.0indirect
npmslice-ansi4.0.0indirect
npmslice-ansi5.0.0indirect
npmstring-argv0.3.1indirect
npmstring-width4.2.3indirect
npmstring-width5.1.2indirect
npmstrip-ansi6.0.1indirect
npmstrip-ansi7.0.1indirect
npmstrip-final-newline2.0.0indirect
npmsupports-color9.2.3indirect
npmthrough2.3.8indirect
npmto-regex-range5.0.1indirect
npmtslib2.4.1indirect
npmtype-fest0.21.3indirect
npmwhich2.0.2indirect
npmwrap-ansi6.2.0indirect
npmwrap-ansi7.0.0indirect
npmyaml1.10.2indirect
Packagistcebe/markdown1.2.1indirect
Packagistcommerceguys/addressing1.4.2indirect
Packagistcomposer/ca-bundle1.4.1indirect
Packagistcomposer/class-map-generator1.1.0indirect
Packagistcomposer/composer2.7.2indirect
Packagistcomposer/metadata-minifier1.0.0indirect
Packagistcomposer/pcre3.1.2indirect
Packagistcomposer/semver3.4.0indirect
Packagistcomposer/spdx-licenses1.5.8indirect
Packagistcomposer/xdebug-handler3.0.3indirect
Packagistcraftcms/ecs—indirect
Packagistcraftcms/phpstan—indirect
Packagistcraftcms/plugin-installer1.6.0indirect
Packagistcraftcms/rector—indirect
Packagistcraftcms/server-check2.1.8indirect
Packagistcreocoder/yii2-nested-sets0.9.0indirect
Packagistdefuse/php-encryption2.4.0indirect
Packagistdoctrine/collections1.8.0indirect
Packagistdoctrine/deprecations1.1.3indirect
Packagistdoctrine/lexer2.1.1indirect
Packagistegulias/email-validator3.2.6indirect
Packagistelvanto/litemoji4.3.0indirect
Packagistenshrined/svg-sanitize0.16.0indirect
Packagistezyang/htmlpurifier4.17.0indirect
Packagistguzzlehttp/guzzle7.8.1indirect
Packagistguzzlehttp/promises2.0.2indirect
Packagistguzzlehttp/psr72.6.2indirect
Packagistilluminate/collections9.52.16indirect
Packagistilluminate/conditionable9.52.16indirect
Packagistilluminate/contracts9.52.16indirect
Packagistilluminate/macroable9.52.16indirect
Packagistjustinrainbow/json-schema5.2.13indirect
Packagistmikehaertl/php-shellcommand1.7.0indirect
Packagistmoneyphp/money4.4.0indirect
Packagistmonolog/monolog2.9.2indirect
Packagistparagonie/random_compat9.99.100indirect
Packagistphpdocumentor/reflection-common2.2.0indirect
Packagistphpdocumentor/reflection-docblock5.3.0indirect
Packagistphpdocumentor/type-resolver1.8.2indirect
Packagistphpstan/phpdoc-parser1.26.0indirect
Packagistphpstan/phpstan1.10.62indirect
Packagistpixelandtonic/imagine1.3.3.1indirect
Packagistpsr/container2.0.2indirect
Packagistpsr/event-dispatcher1.0.0indirect
Packagistpsr/http-client1.0.3indirect
Packagistpsr/http-factory1.0.2indirect
Packagistpsr/http-message2.0indirect
Packagistpsr/log3.0.0indirect
Packagistpsr/simple-cache3.0.0indirect
Packagistralouphie/getallheaders3.0.3indirect
Packagistreact/promise3.1.0indirect
Packagistrector/rector0.19.8indirect
Packagistsamdark/yii2-psr-log-target1.1.4indirect
Packagistseld/cli-prompt1.0.4indirect
Packagistseld/jsonlint1.10.2indirect
Packagistseld/phar-utils1.2.1indirect
Packagistseld/signal-handler2.0.2indirect
Packagistsymfony/console6.0.19indirect
Packagistsymfony/deprecation-contracts3.0.2indirect
Packagistsymfony/event-dispatcher6.0.19indirect
Packagistsymfony/event-dispatcher-contracts3.0.2indirect
Packagistsymfony/filesystem6.0.19indirect
Packagistsymfony/finder6.0.19indirect
Packagistsymfony/http-client6.0.20indirect
Packagistsymfony/http-client-contracts3.0.2indirect
Packagistsymfony/mailer6.0.19indirect
Packagistsymfony/mime6.0.19indirect
Packagistsymfony/polyfill-ctype1.29.0indirect
Packagistsymfony/polyfill-iconv1.29.0indirect
Packagistsymfony/polyfill-intl-grapheme1.29.0indirect
Packagistsymfony/polyfill-intl-idn1.29.0indirect
Packagistsymfony/polyfill-intl-normalizer1.29.0indirect
Packagistsymfony/polyfill-mbstring1.29.0indirect
Packagistsymfony/polyfill-php721.29.0indirect
Packagistsymfony/polyfill-php731.29.0indirect
Packagistsymfony/polyfill-php801.29.0indirect
Packagistsymfony/polyfill-php811.29.0indirect
Packagistsymfony/process6.0.19indirect
Packagistsymfony/service-contracts3.0.2indirect
Packagistsymfony/string6.0.19indirect
Packagistsymfony/var-dumper6.0.19indirect
Packagistsymfony/yaml5.4.35indirect
Packagistsymplify/easy-coding-standard10.3.3indirect
Packagisttheiconic/name-parser1.2.11indirect
Packagisttwig/twig3.8.0indirect
Packagistvoku/anti-xss4.1.42indirect
Packagistvoku/arrayy7.9.6indirect
Packagistvoku/email-check3.1.0indirect
Packagistvoku/portable-ascii2.0.1indirect
Packagistvoku/portable-utf86.0.13indirect
Packagistvoku/stop-words2.0.1indirect
Packagistvoku/stringy6.5.3indirect
Packagistvoku/urlify5.0.7indirect
Packagistwebmozart/assert1.11.0indirect
Packagistwebonyx/graphql-php14.11.10indirect
Packagistyiisoft/yii22.0.48.1indirect
Packagistyiisoft/yii2-composer2.0.10indirect
Packagistyiisoft/yii2-debug2.1.22indirect
Packagistyiisoft/yii2-queue2.3.6indirect
Packagistyiisoft/yii2-symfonymailer2.0.4indirect
Dependency advisories 19

This repository publishes no package the index resolves, so its own dependency graph was assessed — 172 packages, which also include development and test pins that never ship: 19 carry known advisories, of which 1 are direct. 3 could not be assessed — no resolved version, an unsupported ecosystem, or beyond the reported package list.

PackageVersionRelationSeverityAdvisoriesFixed in
craftcms/cms4.8.2directcritical635.10.7
twig/twig3.8.0indirectcritical143.27.0
yiisoft/yii22.0.48.1indirectcritical42.0.55
braces3.0.2indirecthigh13.0.3
composer/composer2.7.2indirecthigh112.10.3
cross-spawn7.0.3indirecthigh17.0.5
guzzlehttp/guzzle7.8.1indirecthigh98.0.1
picomatch2.3.1indirecthigh24.0.4
symfony/mailer6.0.19indirecthigh18.0.12
symfony/process6.0.19indirecthigh17.1.7
symfony/yaml5.4.35indirecthigh48.1.6
webonyx/graphql-php14.11.10indirecthigh315.32.3
enshrined/svg-sanitize0.16.0indirectmoderate41.0.0
guzzlehttp/psr72.6.2indirectmoderate42.12.3
micromatch4.0.5indirectmoderate14.0.8
symfony/http-client6.0.20indirectmoderate17.1.8
symfony/mime6.0.19indirectmoderate28.0.12
symfony/polyfill-intl-idn1.29.0indirectmoderate11.38.1
yaml1.10.2indirectmoderate12.8.3

An advisory means the version recorded in the dependency graph falls inside an advisory’s affected range. Reachability is not analysed, and the graph includes development and test pins — a finding may concern tooling rather than shipped software.

Raw JSON report machine-readable

Feedback

Spotted something off in this report, or have thoughts to share? Wrong measurements, missed tooling, ideas, questions — anything is welcome. Every message is read and gets a response.

The message is kept through sign-in.

Scores are signals, not warranties. They reflect publicly visible practices on GitHub — not a code audit, and not a security guarantee.

Missing data is excluded and weights renormalized, never scored as zero. Methodology is versioned and open: metrics v2.10.0, schema v0.34.0 — full methodology · metrics wiki.

How one result sits in the wider record: aggregate statistics — Packagist.