This report summarizes scanner evidence for nWidart/laravel-modules. SynthScan examined 38,635 lines of code across 469 source files, recording 68 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 1.9 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 66 finding(s).
Are imports declared and package/API names verified? 2 finding(s).
Are wrappers, guards, and repeated structures necessary? 52 finding(s).
Which changes need focused human review? 68 finding(s).
Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 68 distinct pattern matches across 4 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/Migrations/MigratorTest.php | 102 | private function supportSchemaTransactions(): void | CODE |
| LOW | tests/Commands/Database/MigrateRollbackCommandTest.php | 251 | private function supportSchemaTransactions(): void | CODE |
| LOW | tests/Commands/Make/ModuleMakeCommandTest.php | 935 | private function moveClassGeneratorPathsTo(string $folder): void | CODE |
| LOW | tests/Commands/Make/ModuleMakeCommandTest.php | 1301 | private function assertModuleWasNotCreated(string $name): void | CODE |
| LOW | tests/Commands/Make/JobMiddlewareMakeCommandTest.php | 157 | private function withoutJobMiddlewareConfig(): void | CODE |
| LOW | …st__test_it_generated_correct_file_with_content__1.txt | 26 | protected function configureEmailVerification(): void {} | CODE |
| LOW | …CommandTest__test_it_generates_module_resources__2.txt | 26 | protected function configureEmailVerification(): void {} | CODE |
| LOW | tests/Commands/Actions/ListCommandsTest.php | 237 | private function getNamespaceFromDirectory(string $directory): string | CODE |
| LOW | tests/Commands/Actions/ListCommandTest.php | 90 | private function assertModulesListedInOrder(array $expected, string $output): void | CODE |
| LOW | tests/Process/Concerns/CreatesLocalGitRepository.php | 56 | protected function addBranchToBareRepository(string $branch, string $from = 'main'): void | CODE |
| LOW | src/Traits/MigrationLoaderTrait.php | 30 | protected function getMigrationGeneratorPath(): string | CODE |
| LOW | src/Facades/Module.php | 41 | public static function prohibitDestructiveCommands(bool $prohibit = true): void | CODE |
| LOW | src/Commands/BaseCommand.php | 208 | protected function promptForMissingArguments(InputInterface $input, OutputInterface $output): void | CODE |
| LOW | src/Commands/Publish/PublishConfigurationCommand.php | 46 | private function getServiceProviderForModule(string $module): string | CODE |
| LOW | src/Commands/Make/JobMiddlewareMakeCommand.php | 69 | private function getClassNameWithoutNamespace(): string | CODE |
| LOW | src/Commands/Make/ServiceMakeCommand.php | 69 | private function getClassNameWithoutNamespace(): string | CODE |
| LOW | src/Commands/Make/ActionMakeCommand.php | 69 | private function getClassNameWithoutNamespace(): string | CODE |
| LOW | src/Commands/Make/ExceptionMakeCommand.php | 70 | private function getClassNameWithoutNamespace(): string | CODE |
| LOW | src/Commands/Make/ModuleMakeCommand.php | 120 | protected function promptForMissingArgumentsUsing(): array | CODE |
| LOW | src/Commands/Make/ReplacementMakeCommand.php | 71 | private function getClassNameWithoutNamespace(): string | CODE |
| LOW | src/Commands/Make/EventProviderMakeCommand.php | 62 | protected function getEventServiceProviderName(): array|string | CODE |
| LOW | src/Commands/Make/EventProviderMakeCommand.php | 67 | private function getClassNameWithoutNamespace(): string | CODE |
| LOW | src/Commands/Make/RepositoryMakeCommand.php | 69 | private function getClassNameWithoutNamespace(): string | CODE |
| LOW | src/Commands/Make/EnumMakeCommand.php | 68 | private function getClassNameWithoutNamespace(): string | CODE |
| LOW | src/Commands/Make/InterfaceMakeCommand.php | 68 | private function getClassNameWithoutNamespace(): string | CODE |
| LOW | src/Commands/Make/ComponentClassMakeCommand.php | 52 | protected function writeComponentViewTemplate() | CODE |
| LOW | src/Commands/Make/ScopeMakeCommand.php | 68 | private function getClassNameWithoutNamespace(): string | CODE |
| LOW | src/Commands/Make/CastMakeCommand.php | 68 | private function getClassNameWithoutNamespace(): string | CODE |
| LOW | src/Commands/Make/ControllerMakeCommand.php | 116 | private function getControllerNameWithoutNamespace(): string | CODE |
| LOW | src/Commands/Make/HelperMakeCommand.php | 69 | private function getClassNameWithoutNamespace(): string | CODE |
| LOW | src/Commands/Make/ModelMakeCommand.php | 124 | protected function handleOptionalMigrationOption(): void | CODE |
| LOW | src/Commands/Make/ModelMakeCommand.php | 135 | protected function handleOptionalControllerOption(): void | CODE |
| LOW | src/Commands/Make/ModelMakeCommand.php | 150 | protected function handleOptionalFactoryOption(): void | CODE |
| LOW | src/Commands/Make/ModelMakeCommand.php | 163 | protected function handleOptionalRequestOption(): void | CODE |
| LOW | src/Commands/Make/ModelMakeCommand.php | 178 | protected function handleOptionalResourceOption(): void | CODE |
| LOW | src/Commands/Make/ModelMakeCommand.php | 208 | protected function handleOptionalPolicyOption(): void | CODE |
| LOW | src/Commands/Make/TraitMakeCommand.php | 68 | private function getClassNameWithoutNamespace(): string | CODE |
| LOW | src/Commands/Actions/ModelShowCommand.php | 81 | protected function promptForMissingArgumentsUsing(): array | CODE |
| LOW | src/Commands/Actions/ModelPruneCommand.php | 65 | protected function promptForMissingArguments(InputInterface $input, OutputInterface $output): void | CODE |
| LOW | src/Commands/Actions/ListCommands.php | 209 | protected function getDirectoryFromNamespace(string $namespace): string | CODE |
| LOW | src/Generators/ModuleGenerator.php | 490 | private function validateGeneratorPathsAtModuleRoot(): bool | CODE |
| LOW | src/Generators/ModuleGenerator.php | 543 | private function composerJsonUsesAppFolder(): bool | CODE |
| LOW | src/Generators/ModuleGenerator.php | 926 | private function filterModuleJsonProviders(callable $keep): void | CODE |
| LOW | src/Generators/ModuleGenerator.php | 967 | protected function getPluralLowerNameReplacement(): string | CODE |
| LOW | src/Generators/ModuleGenerator.php | 988 | protected function getPluralStudlyNameReplacement(): string | CODE |
| LOW | src/Generators/ModuleGenerator.php | 996 | protected function getPluralUpperNameReplacement(): string | CODE |
| LOW | src/Generators/ModuleGenerator.php | 1012 | protected function getModuleNamespaceReplacement(): string | CODE |
| LOW | src/Generators/ModuleGenerator.php | 1020 | private function getControllerNamespaceReplacement(): string | CODE |
| LOW⚡ | src/Generators/ModuleGenerator.php | 1040 | protected function getAuthorEmailReplacement(): string | CODE |
| LOW⚡ | src/Generators/ModuleGenerator.php | 1048 | protected function getAppFolderNameReplacement(): string | CODE |
| LOW⚡ | src/Generators/ModuleGenerator.php | 1053 | protected function getProviderNamespaceReplacement(): string | CODE |
| LOW | src/Process/Updater.php | 72 | private function copyScriptsToMainComposerJson(Module $module): void | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …dTest__test_it_can_change_the_default_namespace__1.txt | 41 | */ | COMMENT |
| LOW | …rovider_is_enable_and_route_provider_is_disable__1.txt | 41 | // protected function configureSchedules(Schedule $schedule): void | COMMENT |
| LOW | …uleMakeCommandTest__test_it_generates_vite_file__1.txt | 21 | ], | COMMENT |
| LOW | …with_resources_when_adding_more_than_one_option__1.txt | 41 | */ | COMMENT |
| LOW | …st_it_can_change_the_default_namespace_specific__1.txt | 41 | */ | COMMENT |
| LOW | …st__test_it_generates_web_module_with_resources__1.txt | 41 | */ | COMMENT |
| LOW | …st__test_it_generates_api_module_with_resources__1.txt | 41 | */ | COMMENT |
| LOW | …provider_is_enable_and_route_provider_is_enable__1.txt | 41 | */ | COMMENT |
| LOW | …rovider_is_enable_and_event_provider_is_disable__1.txt | 41 | // protected function configureSchedules(Schedule $schedule): void | COMMENT |
| LOW | …_have_custom_migration_resources_location_paths__1.txt | 41 | */ | COMMENT |
| LOW | …a_master_service_provider_with_resource_loading__1.txt | 41 | */ | COMMENT |
| LOW | …CommandTest__test_it_generates_module_resources__1.txt | 41 | */ | COMMENT |
| LOW | …it_generates_module_namespace_using_studly_case__1.txt | 41 | */ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …es/1/skill/laravel-modules-development/SKILL.blade.php | 19 | ### Creating a Module | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/Support/Migrations/SchemaParserTest.php | 178 | $parser = new SchemaParser("username:string:default('John Doe'), age:integer:unsigned"); | CODE |
| LOW | tests/Support/Migrations/SchemaParserTest.php | 181 | 'username' => ['string', "default('John Doe')"], | CODE |