Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Hard Mode Laravel Package

mnapoli/hard-mode

Hard Mode is a small PHP library by Matthieu Napoli that encourages writing more explicit, robust code by making certain “bad practices” harder or impossible at runtime. Useful for catching hidden assumptions and improving code quality in existing projects.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enables strategic prioritization of proactive quality over reactive bug fixes by surfacing fragile patterns during development, reducing post-release firefighting.
  • Justifies a "buy" decision for standardized code enforcement over custom linting solutions, saving engineering time and ensuring consistency.
  • Critical for teams scaling legacy systems where implicit PHP behaviors (e.g., loose type comparisons, null coercion) cause unpredictable production failures.
  • Supports roadmap initiatives for reliability engineering by enforcing strict standards for new features and refactors, reducing technical debt accumulation.

When to Consider This Package

  • Adopt when your team experiences frequent "works in dev but fails in prod" issues due to inconsistent runtime assumptions (e.g., null handling, type coercion).
  • Ideal for projects where type safety and explicitness are non-negotiable (e
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport
twbs/bootstrap4
php-http/client-implementation
phpcr/phpcr-implementation
cucumber/gherkin-monorepo
haydenpierce/class-finder
psr/simple-cache-implementation
uri-template/tests