All packages
Package Toolkit for Laravel
Installation
Require the toolkit in the package you are building:
composer require roundly-consulting/package-toolkit-for-laravelThe toolkit ships no config, migrations or assets of its own, and no service provider to register — it is a library that your package’s service provider builds on. There is nothing to publish and nothing to migrate.
What you get
- PackageServiceProvider + Package — the fluent package-bootstrap builder.
- KeyType and the Blueprint macros — ownerKey(), morphKey(), polymorphicSubject(), auditable().
- DatabaseDriver, whereLikeEscaped() and LikeEscaper — driver-aware, injection-safe queries.
- Config, ConfigValidator and ModelResolver — validate-or-throw config and model resolution.
- InteractsWithGates, RegistersBladeDirectives, RegistersBlueprintMacros, ResolvesModels and ProvidesRetryAfter — opt-in traits.
- A PHPStan extension (extension.neon) that declares the macros for static analysis.
Show your open-source love
This package is free and MIT-licensed. If it saves you time, a one-off donation or a Patreon membership keeps it maintained, tested and documented.
More ways to support, including cryptoBy donating, you agree to our donation terms.
Want this built into your product?
We integrate our packages into custom Laravel and AI builds. Tell us what you're working on and we'll reply within 48 hours.