iglebekk/generelle-laravel-prinsipper
A Laravel package collecting general principles and conventions for structuring Laravel applications, offering guidance to keep code consistent and maintainable. Suitable for teams wanting shared practices.
What v3.0.1 actually changes: a single added principle — always prefer php artisan commands where they exist (e.g. make:*) when creating new files. This is a guidance/convention change, not a code or API change, shipped as a patch bump.
Architecture fit: The package occupies the conventions/standards layer of a Laravel codebase rather than the runtime layer. It does not introduce service providers, middleware, or runtime coupling that would affect application architecture. Fit is therefore high for teams that already standardise on Laravel's generator workflow, and neutral for teams that don't use make:* at all.
Integration feasibility: Low effort. If consumed as a Composer dependency it is a version bump; if consumed as documentation/agent guidelines it is a copy-and-adopt change. No migration of application code is implied by the release note.
Technical risk: Low, with three caveats:
Key questions before committing:
Stack fit: Assume a standard Laravel application or package consuming conventions. Because the release note is guidance-level, the practical integration is: add the package to require-dev (or vendor the guidelines), then wire it into the team's contribution workflow rather than into application bootstrap.
Migration path: Treat v3.0.1 as the target and pin ^3.0. Do not schedule an upgrade until the v2→v3.0.0 diff is reviewed — the major bump is the actual risk surface, and this patch note gives no visibility into it. If already on v3.0.0, the upgrade is effectively a no-op and can ride along with the next routine dependency update.
Compatibility checks (gate before merge):
composer why-not against the target Laravel and PHP versions in each adopting repo.make:* availability in all contexts (packages vs applications; artisan absent in some package-only repos).Sequencing:
CONTRIBUTING.md and the PR template, and measure whether reviewers actually cite it.app/, or a generator-first scaffolding script) so it survives beyond a README line.Maintenance: Near-zero ongoing engineering cost in the adopting repos — there is no runtime surface. The real cost is ownership: someone must own the guidance artefact, keep it aligned with Laravel's evolving generator commands, and re-publish when release names change. Un-owned convention packages rot within two Laravel majors.
Support: The artisan-first principle is self-explaining and reduces a recurring class of support questions ("where should this file go?", "why is this class in the wrong namespace?"). Expected support load is a short spike at adoption, then slightly lower baseline because generators produce conventionally-correct paths and namespaces.
Scaling: Scales cheaply and non-linearly well. One guidance change propagates to every repo and every new hire at effectively zero marginal cost, and it composes with existing make:* tooling. This is the main argument for adopting it rather than writing a bespoke internal equivalent.
Failure modes:
make:* commands" clarification.Ramp-up: Effectively zero for engineers — one read of the principle, applied immediately. Budget roughly half a day for a TPM/tech-lead to close the open questions (v3 changelog, enforcement story, version support matrix) before this is treated as an approved standard rather than an individual repo's preference.
How can I help you explore Laravel packages today?