reliqarts/laravel-common
ReliqArts Laravel Common is a utility package that bundles reusable helpers and common functionality for Laravel applications. It aims to reduce boilerplate, encourage consistency, and simplify everyday development tasks across projects.
Architecture fit. reliqarts/laravel-common is a "base/common" package: the class of library that supplies base models, base controllers, shared traits, and global helper functions. Architecturally this sits at the bottom of the dependency graph and becomes the superclass of everything above it. That is the single most consequential property of the package and it is a poor fit for any application that already has opinionated conventions (App\Models\Model, a service layer, domain-specific traits). Where an existing codebase already defines its own base abstractions, this package is either a no-op duplicate or a forced refactor of foundational classes — the highest-churn, lowest-reward kind of refactor. Fit is credible only if the team has deliberately standardized on Reliq Arts conventions, which is unlikely outside the author's own projects.
Integration feasibility. Mechanically trivial: Composer package, MIT licensed, presumably PSR-4 autoloaded with optional Laravel auto-discovery. Installation is minutes. The real feasibility question is version compatibility — packages of this profile frequently pin illuminate/support to an older major and go quiet. That must be confirmed against composer.json before anything else.
Technical risk. High, and almost entirely supply-side rather than code-quality:
Key questions.
src/ — how many classes, and how much duplicates Laravel-native primitives?illuminate/* and PHP version constraints, and what was the last commit/release date?Stack fit. Laravel-only, and only for teams without established base abstractions. A greenfield project could theoretically adopt it on day one; a mature codebase should not.
Migration path. Recommended posture: reference, do not depend. Audit the source and cherry-pick individual traits/helpers into app/Support/ with MIT attribution and a provenance note. If the dependency is genuinely required, fork it into an internal org/laravel-common package so versioning, CI, and security patching are under your control — this converts an unmaintained external dependency into an owned internal one at low cost. If consuming it directly, wrap usage behind your own base classes so the vendor can be swapped without touching leaf classes.
Compatibility. Verify composer.json constraints against the target Laravel and PHP versions, run the suite (if any) against a scratch app, and check for deprecated Laravel APIs. Also confirm PSR-4 namespace collisions and whether the package ships a config file that must be published.
Sequencing.
composer.json, src/, tests/, git log, release tags.Maintenance. Assume the upstream will not track Laravel majors. Effective ownership transfers to your team on day one. Budget a recurring review per Laravel upgrade cycle plus a plan for the eventual removal or fork.
Support. Community support is effectively nil — no issue triage capacity to rely on. Internal expertise is the only support channel; document it in the ADR.
Scaling. Runtime cost is negligible. The scaling risk is organizational: every new service inherits the base classes, so any defect or awkward abstraction in the base multiplies across the codebase and raises the cost of later correction.
Failure modes.
__get, scopes, casts) producing surprising behavior in domain models.Ramp-up. Reading the package is a few hours. The hidden cost is conceptual: new engineers must learn non-standard base classes and an ambiguous "where does shared logic live" convention that competes with Laravel's own idioms. That onboarding tax persists for the life of the dependency.
TPM verdict. Low strategic value, high coupling, unvalidated supply chain. Recommend declining as a dependency; treat as a source of MIT-licensed snippets at most. Revisit only if the package demonstrates recent releases, real test coverage, and independent adopters.
How can I help you explore Laravel packages today?