Laravel Markdown Response

B 85 completed
Other
unknown / php · small
88
Files
2,236
LOC
1
Frameworks
4
Languages

Pipeline State

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

Pipeline Metadata

Stage
Cataloged
Decision
proceed
Novelty
37.91
Framework unique
Isolation
Last stage change
2026-05-10 03:35:02
Deduplication group #50385
Member of a group with 14 similar repo(s) — canonical #107731 view group →
Top concepts (2)
Project DescriptionWeb Backend
Repobility · open methodology · https://repobility.com/research/

AI Prompt

Create a Laravel package that allows my application to serve markdown versions of HTML pages, specifically for AI agents. The system should detect markdown requests either via the `Accept: text/markdown` header, known AI user agent patterns, or if the URL ends with `.md`. I need the conversion to be driver-based, supporting both local PHP and Cloudflare Workers AI. Please include functionality to cache results and allow preprocessing of the HTML before conversion. Additionally, I need a way to convert raw HTML to markdown directly using a facade, and I want to see examples of how to use this with routes and tests.
php laravel markdown ai-agents web-scraping middleware content-conversion
Generated by gemma4:latest

Catalog Information

AI agents increasingly consume web content. This package lets your Laravel app serve markdown versions of HTML pages. Markdown requests are detected via Accept: text/markdown header, known AI user agent patterns, or .md URL suffix. The conversion is driver-based (local PHP or Cloudflare Workers

Description

AI agents increasingly consume web content. This package lets your Laravel app serve markdown versions of HTML pages. Markdown requests are detected via Accept: text/markdown header, known AI user agent patterns, or .md URL suffix. The conversion is driver-based (local PHP or Cloudflare Workers

Novelty

3/10

Tags

php laravel markdown ai-agents web-scraping middleware content-conversion

Claude Models

claude-opus-4-6

Quality Score

B
84.8/100
Structure
91
Code Quality
100
Documentation
58
Testing
75
Practices
78
Security
100
Dependencies
60

Strengths

  • CI/CD pipeline configured (github_actions)
  • Good test coverage (45% 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 (D)
A
OWASP (100%)
PASS
Quality Gate
A
Risk (4)
Repobility's GitHub App fixes findings like these · https://github.com/apps/repobility-bot
MIT
License
0.0%
Duplication
Full Security Report AI Fix Prompts SARIF SBOM

Languages

php
60.2%
markdown
24.9%
yaml
11.2%
json
3.6%

Frameworks

Laravel

Concepts (2)

Repobility analysis · methodology at https://repobility.com/research/
CategoryNameDescriptionConfidence
Repobility — the code-quality scanner for AI-generated software · https://repobility.com
auto_descriptionProject Description![Latest Version on Packagist](https://packagist.org/packages/spatie/laravel-markdown-response) ![GitHub Tests Action Status](https://github.com/spatie/laravel-markdown-response/actions?query=workflow%3Arun-tests+branch%3Amain) ![GitHub Code Style Action Status](https://github.com/spatie/laravel-mar80%
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/106516.svg)
Quality BadgeSecurity Badge
Export Quality CSVDownload SBOMExport Findings CSV