everlutionsk/ajaxcom-php
PHP library for building operations arrays that JavaScript can handle, the backend counterpart to @everlutionsk/ajaxcom. Ships with a Symfony bundle for easy integration. Install via Composer: everlutionsk/ajaxcom-php.
What a TPM needs to understand first. everlutionsk/ajaxcom-php is a Composer library, not a Laravel package. It has no service provider, facade, config publish, migration, or Blade directive. Its entire job is to build a structured "operations array" — a JSON command payload of redirects, notifications, and DOM mutations — for a companion JavaScript client (@everlutionsk/ajaxcom) to execute in the browser. The leverage a TPM can extract from it, therefore, is a protocol pattern (server returns instructions, client applies them), not a capability you can install and switch on.
Architecture fit. Conditional at best, and the condition is not under the TPM's control. The PHP half is worthless without the JS half. If the product's frontend is already committed to @everlutionsk/ajaxcom, this is the natural missing backend piece. If not — which is the overwhelmingly likely case given zero stars and zero dependents — adopting it means adopting a bespoke, single-consumer wire protocol and a second unmaintained library, to solve a problem that Livewire, Inertia, Turbo, and htmx already solve. Architecturally it sits at the serialization boundary only; it must never leak into domain code, which means an adapter layer you write and own regardless.
Integration feasibility. Mechanically trivial, practically gated on compatibility. composer require plus PSR-4 autoload is the whole installation story — no Laravel bootstrapping to fight. But the last release is May 2021, predating mainstream PHP 8.1/8.2/8.3. The realistic outcomes are a --ignore-platform-reqs flag (a governance smell that will not survive a security review) or a fork. There is no roadmap, no changelog cadence, and no maintainer commitment to interpret.
Technical risk. High, dominated by supplier risk rather than code complexity:
| Signal | TPM reading |
|---|---|
| 0 stars, 0 dependents | No production validation anywhere; no prior art to consult |
| Last release 2021-05-14 | ~4 years stale; no PHP 8.x support commitment, no security triage |
| Scrutinizer badges | Historical CI only; not evidence of current green builds |
| Single-vendor namespace | Bus factor of one; no foundation or corporate backing |
| Bespoke, non-standard protocol | PHP and JS must version-lockstep — and neither side is maintained |
| README-only documentation | No operations reference, no error semantics, no migration guidance |
The sharpest edge is protocol coupling: any schema change needs coordinated releases across two repos, and your team owns that coordination permanently because nobody else is shipping.
Key questions a TPM should get answered before funding any work.
@everlutionsk/ajaxcom, or is this greenfield? (Greenfield → stop here.)composer.json declare, and does it actually run on our target runtime?Verdict for the decision log. Score 1.56 with zero dependents is an accurate signal. Do not adopt this as a load-bearing dependency. The defensible move is to treat it as reference implementation of an idea — extract the payload schema, reimplement the builder in-house, and take no supplier risk.
Stack fit. Poor for Laravel specifically, neutral-to-fine for plain PHP. Every Laravel convention a TPM would price into an estimate — auto-discovery, publishable config, facade, artisan generators — is absent. Budget for your own service provider and adapter, and frame it to stakeholders as "adopting a generic PHP library and integrating it ourselves," not "installing a Laravel package."
Migration path. Three routes, in preference order:
app/Support module, own it outright. Days of effort, not weeks, and the dependency disappears permanently.packages/, pin the exact 2021 version, add PHP 8.x support and tests, wire via a Composer path repository. Honest trade if the schema turns out nontrivial — but it is an explicit, permanent maintenance commitment.There is no incremental migration from a competing library: the operations-array protocol is not a standard, so "migration" means rewriting whatever currently produces frontend state updates.
Compatibility. Verify and pin before committing: PHP constraint in composer.json, Composer 2 behavior, PSR-4 correctness, absence of global functions/constants that could collide, and whether its transitive dependencies constrain our upgrade path. Assume PHP 8.1+ incompatibility until proven green in CI, and budget a deprecation patch pass (implicit nullable parameters, dynamic properties, ${var} interpolation) if forking.
Sequencing.
OperationBuilder) with one implementation. No package types in controllers, jobs, or models.Maintenance. The dominant cost, and not small. With no upstream release since 2021, every PHP minor upgrade is our ticket, every Composer advisory is our triage, every protocol bug is our fix. Expect a standing fraction of an engineer's capacity in year one, spiking at each PHP release. Compare that against a one-off reimplementation cost — the build-vs-buy math usually favors building here, which is the single most useful thing a TPM can put in front of the team.
Support. No vendor, no SLA, no security disclosure policy, no issue-triage history to read. Internal engineers are the sole escalation path from day one. Record that in the ADR explicitly so on-call knows there is nobody upstream to page.
Scaling. The one genuinely low-risk dimension. It is stateless serialization of small arrays — no I/O, no state, no caching concerns, no infrastructure footprint. Load profile is roughly that of a json_encode call and it will never be the bottleneck.
Failure modes to design against.
Ramp-up. Low technical ramp, high context ramp. A mid-level engineer can read the whole library in an afternoon — the code is small. The expensive part is knowledge that exists nowhere in writing: the operation schema, which operations the JS client honors, and how errors are expected to propagate. That knowledge has to be reverse-engineered from the source and codified internally. Budget the first two weeks for schema documentation and the first month for the team to be independently productive, and treat that documentation as a deliverable in the plan rather than an afterthought.
How can I help you explore Laravel packages today?