Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-09-17 00:18 UTC

craftcms / element-api

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

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

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

63
overall / 100
Moderate

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.

63
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 59 is calibrated to 63 on the published index scale (record calibration 2026-08-02).

Ownership

Craft CMSOrganization · verified domain
396 followers123 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-api4.3.03,3044042 days agojsonapicmsyii2craftcms

Metrics by category

Vitality

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

52Moderate · 21% of overall
How it's scored
18/36Push recency — last push 42 days ago
0.7/36Commit cadence — 1/52 weeks with commits
6.3/18Commit volume — 4 commits in the last year
5/10OpenSSF Scorecard: Maintained — 4 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 5
Inputs used
commits_last_year4
human_commit_share0.99
days_since_last_push42
active_weeks_last_year1
How it's scored
27/27Ships releases — 4 releases published
36/36Release recency — latest release 42 days ago
12.6/27Release cadence — a release every ~292.3 days
0/10OpenSSF Scorecard: Signed-Releases — no data
Inputs used
releases_count4
latest_release_tag4.3.0
releases_from_tagsno
days_since_latest_release42
mean_days_between_releases292.3
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?

71Good · 17% of overall
How it's scored
43.8/60Stars — 502 stars
14.4/25Forks — 55 forks
5.6/15Watchers — 11 watchers
Inputs used
forks55
stars502
watchers11
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_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
has_readmeyes
has_licenseyes
readme_badges0
has_contributingyes
has_issue_templateno
has_code_of_conductyes
readme_badge_services—
has_pull_request_templateyes
How it's scored
46.9/80Monthly downloads — 3,304 downloads/month across packagist
6.7/20Registry dependents — 9 packages depend on it
Inputs used
packagescraftcms/element-api
dependents9
ecosystemspackagist
total_downloads718,774
monthly_downloads3,304
unverified_packages_excluded—

Sustainability & Governance

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

70Good · 23% of overall
How it's scored
9/54Bus factor — 1 contributor(s) cover half of all commits
5.4/22.5Commit distribution — top contributor authored 76% of commits
13.5/13.5Contributor breadth — 17 contributors
6/10OpenSSF Scorecard: Contributors — project has 2 contributing companies or organizations -- score normalized to 6
Inputs used
bus_factor1
contributors_sampled17
top_contributor_share0.758
How it's scored
41.7/42Issue resolution — 99% of issues closed
12.6/30PR acceptance — 21/50 decided PRs merged
0/13Newcomer PR acceptance — no first-time contributor's PR decided in 30d
1.5/15OpenSSF Scorecard: Code-Review — Found 3/22 approved changesets -- score normalized to 1
Inputs used
merged_prs21
open_issues1
closed_issues136
prs_merged_7d0
prs_decided_7d0
prs_merged_30d0
prs_decided_30d0
issue_closed_ratio0.993
closed_unmerged_prs29
first_time_authors_30d0
first_time_prs_merged_30d0
first_time_prs_decided_30d0
Excluded from scoring (no data or not applicable): Newcomer PR acceptance. Remaining weights renormalized.
How it's scored
30/30Ownership backing — organization-owned
20/20Verified domain
18.7/25Owner reach — 396 followers of craftcms
25/25Track record — 123 public repos, account ~9 yr old
Inputs used
followers396
owner_typeOrganization
is_verifiedyes
owner_logincraftcms
public_repos123
account_age_days3,646

Package maintenance

100Exceptional
How it's scored
25/25Published & resolvable — 1 package(s) on packagist
35/35Publish recency — latest publish 42 days ago
20/20Version history — 40 published versions
20/20Not deprecated — active, not deprecated or yanked
Inputs used
packagescraftcms/element-api
ecosystemspackagist
any_deprecatedno
min_days_since_publish42

Engineering Quality

Are baseline engineering and documentation practices in place?

52Moderate · 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
6/20OpenSSF Scorecard: CI-Tests — 1 out of 3 merged PRs checked by a CI test -- score normalized to 3
Inputs used
has_ciyes
has_testsno
has_editorconfigno
has_linter_configyes
has_precommit_configno

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
topicscraftcms, craft-plugin, api, fractal, json-api, json, json-serialization, craft2, craft3, json-feed
has_wikiyes
homepage—
docs_site—
has_readmeyes
has_docs_dirno
has_descriptionyes

Security

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

54Moderate · 16% of overall
How it's scored
7.5/7.5Binary-Artifacts — no binaries found in the repo
0/7.5Branch-Protection — branch protection not enabled on development/release branches
0.8/2.5CI-Tests — 1 out of 3 merged PRs checked by a CI test -- score normalized to 3
0/2.5CII-Best-Practices — no effort to earn an OpenSSF best practices badge detected
0.8/7.5Code-Review — Found 3/22 approved changesets -- score normalized to 1
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
3.8/7.5Maintained — 4 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 5
0/5Packaging — no data
0/5Pinned-Dependencies — no data
1/5SAST — SAST tool is not run on all commits -- score normalized to 2
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
sourceopenssf_scorecard
checks_evaluated13
scorecard_versionv5.5.0
checks_inconclusive5
scorecard_aggregate5.4
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 672 days ago
Inputs used
sourceosv
advisories123
affected_packages19
assessed_packages172
unassessed_packages3
affected_by_severitycritical 3, high 8, moderate 8
direct_affected_packages1
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.

29At Risk · 4% of overall
How it's scored
0/45Agent instructions — no CLAUDE.md / AGENTS.md / editor rules
0/15Machine-readable docs (llms.txt)
11.3/40Legible commit history — 21 of 99 human commits state their intent (structured subject or explanatory body)
Inputs used
has_llms_txtno
llms_txt_url—
legible_history_share0.212
agent_instruction_files—
agent_instruction_max_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
has_nixno
has_testsno
lockfilescomposer.lock, package-lock.json
has_dockerfileno
typed_languageno
bootstrap_files—
has_devcontainerno
has_linter_configyes
typecheck_configs—
agent_commit_share0
toolchain_manifests—
dependency_bot_commit_share0.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
largest_source_bytes10,856
source_files_sampled10
oversized_source_files0

Key facts

502GitHub stars
17contributors
4commits, last 12 months
42days since last push
4releases
1bus factor
1open issues
npm, Packagistpackage ecosystems

Data collection warnings

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token

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 5.4 / 10
5.4aggregate

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-09-17 00:17 UTC

10Binary-Artifactsno binaries found in the repo
0Branch-Protectionbranch protection not enabled on development/release branches
3CI-Tests1 out of 3 merged PRs checked by a CI test -- score normalized to 3
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
1Code-ReviewFound 3/22 approved changesets -- score normalized to 1
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
5Maintained4 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 5
n/aPackagingpackaging workflow not detected
n/aPinned-Dependenciesno dependencies found
2SASTSAST tool is not run on all commits -- score normalized to 2
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.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.2indirecthigh102.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
webonyx/graphql-php14.11.10indirecthigh315.32.3
enshrined/svg-sanitize0.16.0indirectmoderate10.22.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
symfony/yaml5.4.35indirectmoderate38.0.12
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.