tey/standards
Tey Standards is a Laravel/PHP package that bundles opinionated coding standards and quality tooling, helping teams keep projects consistent with shared configurations for formatting, static analysis, and automated checks.
Architecture fit. The package occupies the build/CI lane of a Laravel application, not the runtime lane. As described, it provides artisan-invoked deployment preflight assertions plus architecture rules that carry tags — the tagging is the interesting part, because it lets a team scope a ruleset (e.g., only deploy-tagged or layer-tagged rules) and waive individual rules with traceability instead of disabling the whole suite. That fits teams that already gate merges with Larastan/Pint and gate releases with a shell script or Envoy task. Value is highest where a bad deploy is expensive (regulated, multi-tenant, high-traffic) and where architectural decay is an active complaint rather than a theoretical one.
Integration feasibility. Mechanically trivial: a --dev Composer dependency, a published config, one CI step. The real question is semantic — whether the bundled rule catalog matches the conventions this team actually enforces, and how tags and waivers are expressed (inline annotations, config allowlist, or a generated baseline file). A baseline mechanism is make-or-break: without it, the first run on a legacy codebase emits a wall of violations and the team disables the tool within a week.
Technical risk. Adoption risk dominates technical risk. Zero stars, zero dependents, and a single maintainer mean no independent validation, no community bug surface, no Stack Overflow corpus, and a bus factor of one. The release metadata (2026-10-29) is anomalous relative to the present and should be treated as a signal to verify release hygiene and registry data before pinning anything. MIT licensing bounds the downside — fork-and-vendor is always available. The highest-severity risk is not the package failing to run; it is the package blocking a production deploy on a false positive at 2 a.m. Every check on the deploy path must be explicitly fail-open or fail-closed by decision, never by accident.
Key questions (must be answered before any pilot):
Stack fit. Laravel + Composer 2 + GitHub Actions or GitLab CI, alongside an existing static-analysis stage. It should complement Larastan (types and bugs), Pint (style), and Enlightn (security/performance). The genuine overlap is with Deptrac or PHPArkitect — the tool most likely to be displaced. Running two architecture engines with divergent configs is worse than running one, so decide up front whether this becomes the single source of architecture truth or only the deploy preflight.
Migration path.
Compatibility. Pin an exact version. Verify no constraint conflicts with existing dev tooling — PHPStan and PHP-CS-Fixer version pins are the usual collision points. Confirm the package is excluded from production by composer install --no-dev and does not ship in the deploy artifact.
Sequencing (approximately one sprint, two engineer-weeks including review):
Recommendation: approve the spike, not the rollout. Gate the rollout on the spike producing a defensible baseline and a deploy-gate runtime under 60 seconds.
Maintenance. One dev dependency, but it sits on the critical path of every deploy, which raises its effective criticality well above its size. Assign an explicit owner in platform/DevEx — a team, not an individual. Pin the version, watch releases, and budget roughly one day per quarter for upgrades and waiver hygiene. Because it is MIT and presumably small, fork-and-vendor is a credible fallback; write the trigger criteria now (e.g., no maintainer response in 60 days plus a blocking defect) so the decision isn't made under incident pressure.
Support. Zero dependents means no peer support channel and no vendor. Assume self-support: read the source, keep an internal notes doc on rule semantics. That is acceptable for CI tooling and entirely unacceptable if it ever drifts into the runtime path.
Scaling. Cost is linear in codebase size at analysis time. Watch three dimensions: wall-clock per CI run (parallelize per module or cache results keyed to commit SHA); monorepo scope (path-scoped runs or CI minutes balloon); and deploy latency (give the deploy gate a stricter budget than the PR gate — a three-minute preflight on every hotfix is a real cost during incidents).
Failure modes, ranked by severity:
Ramp-up. Expect self-serve onboarding from source plus a short internal README. Realistic estimate: half a day for an engineer to run it and interpret output, one to two days to author the team's rule and tag policy, and one sprint before the team trusts the signal. The real training burden isn't the tool — it's agreeing on what counts as an architecture violation and who owns waivers. That conversation is worth having whether or not this package survives the pilot.
How can I help you explore Laravel packages today?