laravelha/support
laravelha/support bundles handy helpers, macros, and utilities that streamline everyday Laravel development, cutting boilerplate so you can build features faster with cleaner, more consistent code across your projects.
Architecture fit
laravelha/support is a support/infrastructure package, not a feature package. Its stated purpose is to hold shared helpers, service-provider bootstrapping, and reusable integration patterns for the broader LaravelHA ecosystem. That framing matters more than anything in its code: a TPM should evaluate it as a substrate dependency, not as a library that delivers user-facing value.Integration feasibility
illuminate/* constraints are tight, it becomes a hard blocker on our upgrade path; if they are loose/unbounded, it becomes an untested-code risk that will fail at runtime rather than at install time. Both outcomes are worse than "incompatible."helpers.php, integration feasibility depends on whether its function names collide with app code or with illuminate/support's own helpers — a redeclare fatal is a deploy-time outage, not a test failure.Technical risk
illuminate/support internals. Support packages are the most exposed to these changes because they touch exactly those APIs.src/, not inferred from the README.Key questions
illuminate/support and Laravel's own container do not? Enumerate the actual helper functions and classes — if the list is short, the answer is "reimplement in a week," not "adopt."src/ has been read and the helper surface enumerated.Stack fit
Migration path
composer why and composer outdated → full test-suite run → single non-critical call site → observe one release cycle → expand. Revertible via one composer remove plus config/alias cleanup. Never adopt on a branch carrying product work.App\Support namespace or a first-party ourorg/laravel-support package → add tests → document ownership. This is a one-week task at most for a package of this size, and it removes the dependency entirely.composer require that no one revisits.Compatibility
composer.json first: illuminate/* constraints, PHP floor, extra.laravel.providers, extra.laravel.aliases.files autoload entries — these are the global-helper landmines.config:cache and route:cache; support packages frequently call env() outside config files, which breaks in cached deployments.Sequencing
src/, autoloaded helpers, published config).Maintenance
Support
Scaling
singleton and caches derived state on the instance, stale data will leak across requests and jobs. Register as scoped or reset on RequestReceived/JobProcessing.Failure modes
package:discover and a config clear.null.Ramp-up
composer remove command. If that note cannot be written convincingly, the correct TPM decision is reject the dependency and reimplement the needed patterns internally.How can I help you explore Laravel packages today?