ziadoz/silex-capsule
Integrates Laravel's Illuminate Capsule database layer into Silex, giving you Fluent and Eloquent ORM support plus the query builder without booting a full Laravel app. Configure a connection and start querying in minutes.
illuminate/database (5.x), which in turn caps our PHP runtime upgrade. That is a line item in any "upgrade PHP" or "patch CVEs" plan.Capsule\Manager into Silex's Pimple container), replacing it is a small, well-bounded task — useful for sizing a migration spike rather than commissioning a project.Adopt only under a narrow, uncomfortable set of conditions:
Capsule\Manager with a Pimple container — for a spike, a proof of concept, or a one-off internal tool.Look elsewhere — or rather, do not adopt — when:
The honest framing for the team: this is a candidate for replacement, with an estimated effort measured in hours, not a candidate for adoption.
For executives: This is not an investment decision; it is technical debt with a known, small payoff. The package is archived, unmaintained, and tied to a framework that has been end-of-life since 2018. It carries no direct licensing cost, but it locks part of our stack to an unsupported PHP runtime, which is where the real risk sits — unpatched security exposure and rising cost to hire for or reason about the stack. Recommendation: do not adopt; fold its removal into the existing runtime-upgrade or Silex-retirement work.
For engineering: The surface area is tiny — a service provider that registers Laravel's Capsule\Manager with Silex's container. That is good news twice over: the dependency is easy to remove (a day or less to reimplement or inline), and it hides no magic we would miss. The risk is not lock-in, it is staleness: pinned Eloquent 5.x, no PHP 8 support, no security response, no maintainer. If we must keep it alive short-term, vendor the code and own it explicitly; do not pull it in fresh. Anything greenfield goes to Laravel or Symfony, not here.
The one-line ask: approve removal as part of the next runtime upgrade, and treat any remaining Silex surface as migration scope rather than maintenance scope.
How can I help you explore Laravel packages today?