wearedevtical/laravel-helpers
A practical collection of Laravel helpers from wearedevtical that simplifies everyday development tasks, reduces boilerplate, and provides reusable utilities for cleaner, more maintainable PHP applications. Easy to install and integrate into new or existing Laravel projects.
helper:validate (syntax checks + duplicate function detection) and logged failed loads replace custom bootstrap code and the tribal knowledge that goes with it.^8.3. That is a roadmap-level constraint, not an incidental dependency bump — it forces a scheduled upgrade decision for any app still on 8.1/8.2, and it should be sequenced deliberately rather than discovered mid-sprint.log_errors config), converting a class of silent production failures — a helper that quietly doesn't register in one deployment target — into an observable event. This is a concrete reduction in mean-time-to-diagnose.helper:validate and duplicate-function detection target a deployment-killer failure mode (fatal Cannot redeclare function). Adding it as a pipeline step is a cheap, high-leverage quality gate.make:helper with a declare(strict_types=1) stub, plus helper:reload for local iteration, standardizes "where do global functions live and how are they written" across squads — a defensible DevEx spend, not just ergonomics.helper:list --json with function counts and failed status makes helper inventory reportable to an internal developer portal or health dashboard.helpers-config. That is a small but real work item: deploy runbooks, provisioning scripts, and starter-kit setup docs must be updated or new environments will silently publish nothing.Adopt when:
helper:list --json).spatie/laravel-package-tools as a transitive dependency — it is a mainstream, widely deployed package, so the marginal supply-chain risk is low for most teams.Look elsewhere, or defer, when:
files entry in composer.json autoload is sufficient and carries zero dependency cost.For executives: This is a low-risk, MIT-licensed maintenance upgrade for our Laravel foundation. It converts a class of silent production failures into logged, diagnosable events, and adds automated checks that catch the two most common causes of deployment-time fatal errors before they ship. There is no licensing cost. The one real prerequisite is moving our PHP baseline to 8.3, which should already be on the platform roadmap; the dependency additions are mainstream and low risk. Recommend adoption, sequenced behind the PHP upgrade.
For engineering: v3 is a quality release rather than a feature release. Failed helper loads are logged, and helper:validate catches syntax errors and duplicate function definitions — the fatal-error class that has burned us. helper:list --json enables reporting, helper:reload shortens the local feedback loop, generated stubs now include declare(strict_types=1), and CI runs PHPStan level 5 plus Pint so quality is enforced upstream rather than in review. Breaking changes are narrow and mechanical: bump to PHP ^8.3, add spatie/laravel-package-tools, and change the publish invocation to --tag=helpers-config. Suggested rollout: pilot in the starter kit, update runbooks and provisioning scripts, verify helper load order and log_errors defaults match current behavior, add helper:validate to CI, then roll out. Budget roughly half a day of platform work for the baseline bump and documentation.
How can I help you explore Laravel packages today?