Laravel Route Discovery

B+ 88 completed
Other
unknown / php · small
126
Files
3,188
LOC
2
Frameworks
4
Languages

Pipeline State

completed
Run ID
#382252
Phase
done
Progress
1%
Started
Finished
2026-04-13 01:31:02
LLM tokens
0

Pipeline Metadata

Stage
Cataloged
Decision
proceed
Novelty
54.96
Framework unique
Isolation
Last stage change
2026-05-10 03:35:10
Deduplication group #57394
Member of a group with 2 similar repo(s) — this repo is canonical view group →
Top concepts (2)
Project DescriptionWeb Backend
Provenance: Repobility (https://repobility.com) — every score reproducible from /scan/

AI Prompt

Create a PHP package for Laravel that automatically discovers routes within an application. I need it to read routes from a specified directory and allow developers to manipulate these discovered routes using PHP attributes. Specifically, I want to be able to add middleware, like `ValidateSignature::class`, directly onto a controller method using an attribute, and I'd like the system to support defining route names. The package should integrate well with Laravel and ideally use YAML or JSON for configuration if needed.
php laravel framework routing attribute package
Generated by gemma4:latest

Catalog Information

// typically in a routes file

Description

// typically in a routes file

Novelty

3/10

Tags

php laravel framework routing attribute package

Claude Models

claude-opus-4-6

Quality Score

B+
88.1/100
Structure
92
Code Quality
95
Documentation
77
Testing
85
Practices
78
Security
100
Dependencies
60

Strengths

  • CI/CD pipeline configured (github_actions)
  • Good test coverage (194% test-to-source ratio)
  • Consistent naming conventions (PascalCase)
  • Low average code complexity \u2014 well-structured code
  • Good security practices \u2014 no major issues detected
  • Properly licensed project

Recommendations

  • Add a linter configuration to enforce code style consistency

Security & Health

4.1h
Tech Debt (C)
A
OWASP (100%)
PASS
Quality Gate
A
Risk (3)
Repobility · code-quality intelligence platform · https://repobility.com
MIT
License
4.5%
Duplication
Full Security Report AI Fix Prompts SARIF SBOM

Languages

php
78.1%
markdown
16.0%
yaml
3.5%
json
2.4%

Frameworks

Laravel Symfony

Concepts (2)

Open methodology · Repobility · https://repobility.com/research/
CategoryNameDescriptionConfidence
Repobility · code-quality intelligence · https://repobility.com
auto_descriptionProject Description![Latest Version on Packagist](https://packagist.org/packages/spatie/laravel-route-discovery) !Tests ![Total Downloads](https://packagist.org/packages/spatie/laravel-route-discovery)80%
auto_categoryWeb Backendweb-backend70%

Quality Timeline

1 quality score recorded.

View File Metrics

Embed Badge

Add to your README:

![Quality](https://repos.aljefra.com/badge/106521.svg)
Quality BadgeSecurity Badge
Export Quality CSVDownload SBOMExport Findings CSV