Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Cli Json Lint Laravel Package

owlcorp/cli-json-lint

A command-line JSON linter for PHP and Laravel projects that validates JSON files, catches syntax errors, and reports clear, actionable output. Add it to Composer scripts, local workflows, or CI pipelines to keep configuration files reliable and consistently checked.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy (dev tooling edition): This is not a product capability — it is a commodity developer-hygiene utility. The decision it informs is narrow: do we adopt a Composer-installed JSON linter, or do we add a three-line json_decode / jq step to CI? Both options cost an afternoon at most, so the "buy" side of the line here is about convenience and consistency, not about avoiding weeks of engineering.
  • CI/CD quality gate standardization: The one genuinely product-relevant decision is whether JSON validity becomes a mandatory gate. Broken composer.json, malformed API fixtures, corrupt i18n bundles, or invalid OpenAPI/JSON Schema documents can break a deploy or a client integration. If we decide that class of failure is worth blocking on, this package is one of several ways to enforce it; if we decide it isn't, no linter choice matters.
  • Developer-experience roadmap: Supports the "platform/DX" workstream item on reducing avoidable CI red builds and post-merge firefighting. This is a low-effort, low-visibility line item — it belongs in a DX backlog, not a product roadmap.
  • Dependency inventory / risk register: Adds an entry the security review will want — MIT license, dev-only (require-dev), no runtime footprint in production, no transitive service dependencies. The blast radius of this package failing or being abandoned is approximately zero, which is its strongest argument.
  • Platform standardization (weak fit): Normally we'd ask whether to bless one tool per problem domain. Here the honest answer is no — with 0 GitHub stars, an opaque maturity level, and a single apparent maintainer, this is not a candidate for an org-wide mandate. At most it's a per-repo convenience.
  • Explicitly not supported: This package does not unblock a customer-facing feature, does not shorten time-to-market for a release, and carries no pricing, licensing, or vendor-lock-in implications worth escalating. Any assessment that frames it as a strategic dependency is overselling it.

When to Consider This Package

Adopt when most of the following hold:

  • You are a PHP/Composer shop and JSON artifacts are load-bearing in the repo. Manifests, fixtures, config snapshots, translation files, contract examples — things whose corruption fails silently until runtime.
  • You want batch directory linting with meaningful exit codes and you'd rather composer require --dev than hand-roll a shell loop. The CLI-first design, batch checking, and non-zero exit codes map directly onto pre-commit hooks and CI jobs.
  • The dependency must stay out of production. It's a dev-time binary, not a Laravel service provider — nothing is registered at runtime, nothing touches your domain code, and removing it is a one-line composer remove.
  • You accept an unproven maintenance profile. Zero stars and a single mid-2025 release date mean no community, no visible cadence, and no security disclosure process you can point to. For a ~200-line syntax checker the risk is tolerable; budget for the possibility that you fork or replace it.
  • The integration surface is a one-liner in composer.json scripts or your CI config, not an architectural commitment.

Look elsewhere when:

  • Your pipeline already validates JSON. Prettier, ESLint, jq, editor tooling, or a php -r 'json_decode(...)' guard in CI already covers this. Adding a dependency for a duplicate check is negative value.
  • You need schema validation, not syntax validation. This catches malformed JSON; it does not validate against JSON Schema, enforce key ordering, or check formatting. If contract or config correctness is the goal, you need a schema validator, not a linter.
  • You want a formatter. Look at Prettier or jsonlint for normalization and re-serialization.
  • You need a platform standard. A zero-star package with no visible release cadence cannot be the blessed org-wide tool, and it should not be a required dependency for squads that don't already have Composer in their CI image.
  • Your stack isn't PHP. The Composer-only install path is friction in a Node or Go service; a shell one-liner is cheaper.
  • You need vendor support, SLAs, or a security advisory channel. None of that exists here.

How to Pitch It (Stakeholders)

To executives: This is a minor developer-tooling evaluation with no customer impact and no procurement implication. The package is an MIT-licensed JSON syntax checker used only in build pipelines; it never ships to production and can be removed in minutes. The only business-relevant question is whether we want malformed JSON — broken manifests, corrupt config snapshots, invalid integration fixtures — to fail the build instead of failing in front of a customer. If yes, this is a cheap way to do it; if no, the decision lapses harmlessly. Do not spend leadership time on this beyond a nod.

To engineering leadership: Frame it as a reversible, dev-only dependency with essentially no architectural surface: no service provider, no runtime code path, no transitive SaaS. The real judgment call is maturity — zero adoption signals and an unclear release cadence mean we should treat it as a convenience script we happen to install rather than a maintained platform component, and we should be comfortable with the possibility of vendoring or replacing it. Recommendation: allow it as an optional per-repo tool, explicitly not as an org standard, and don't put it on a dependency-review track heavier than the quarterly inventory pass.

To the delivery teams: If you already gate on JSON validity, this removes a hand-rolled shell step from your CI config and gives you batch checking and clear error output for free. Install as a dev dependency, wire it into pre-commit and CI, confirm it resolves against your PHP version, and note that it checks syntax only — schema or contract validation is a separate tool. If you're not a PHP repo, or your pipeline already runs Prettier/jq, skip it; duplicating a check with a zero-star dependency is the wrong trade.

Ask: Approval for a timeboxed, single-repo trial as a require-dev tool — no org-wide mandate, no production surface — with a note in the dependency inventory that the maintainer profile is thin and a fork-or-replace fallback is acceptable. Revisit only if the tool proves useful across three or more repos.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums
rlacerda83/query-parser
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings