Weave 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
Laravel Self Test

Laravel Self Test Laravel Package

imanghafoori/laravel-self-test

A self-testing toolkit for Laravel apps: write fluent health checks that verify routes, views, configs, and service providers, catching misconfigurations and broken references before they reach production. Run them via artisan or in your test suite.

View on GitHub
Deep Wiki
Context7

Laravel Self Test lets you enforce architectural and coding conventions in your Laravel app by writing them as tests. Instead of relying on code review, you declare rules—"controllers must not touch models directly", "every class needs a test", "no env() outside config"—and the package scans your source files to fail the suite when they're broken.

It integrates with PHPUnit and Pest, using reflection and PHP token parsing to inspect classes, methods, and dependencies without booting your application.

  • Assert naming, inheritance, and dependency rules across your codebase
  • Catch common anti-patterns (facades in models, env() misuse, missing return types)
  • Scan classes, controllers, models, and directories with simple helpers
  • Extend with custom checks to codify your team's own conventions
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.
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core