ibrand/common
A shared foundation package for iBrand Laravel applications, bundling common helpers, utilities, and reusable components that keep projects consistent. It reduces duplication across the ecosystem, giving developers a single place for everyday functions and base functionality.
Architecture fit
composer require.Integration feasibility
illuminate/* version ceiling, and whether it pins transitive dependencies that will fight our existing graph.Technical risk
Key questions to answer before any decision
composer.json declare a tested Laravel/PHP matrix, or a bare minimum?ibrand/* or guojiangclub/* packages?The tension between a 0.04 quality score and a 7.79 opportunity score is the core finding. The value is in the patterns and design decisions, not in the artifact as a runtime dependency. We should mine it, not adopt it.
Stack fit
Migration path
require upstream directly in production services. Recommended path: clone → audit → selectively vendor.acme/vendor-common) or — better — copy the specific classes we need into an existing internal shared package. Copying eliminates the upstream dependency entirely and makes the code ours to test."ibrand/common": "1.2.3") rather than a caret range so upstream drift cannot reach production silently.Compatibility
extra.laravel.providers auto-discovery before assuming zero-config integration.illuminate/* and php. A ^8.0 bound in a package last touched two years ago is a red flag against our current runtime.app(), config(), Facade) that would block unit-testing copied classes in isolation.Sequencing
composer.json, run the test suite locally, diff against our current internal utilities. Deliverable: a copy / study / discard list.Illuminate\Support, spatie/*, brick/*), discard and close the ticket.This sequencing front-loads the cheap, decision-relevant work and avoids the sunk-cost trap of integrating before evaluating.
Maintenance
composer update is a review event, not a routine one.Support
Scaling
Failure modes (ranked by likelihood × impact)
null, another assumes it throws; a payment or tax path diverges. Medium likelihood, high impact.Ramp-up
Recommendation: treat as reference material, not a dependency. Timebox a one-sprint audit, harvest any genuinely novel patterns into our internal package with tests, and take no runtime dependency. Revisit only if upstream shows sustained external adoption — multiple independent dependents, active CI, recent releases — at which point the risk profile changes enough to justify a fresh evaluation.
How can I help you explore Laravel packages today?