coffesoft/laravel-beacon 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

coffesoft/laravel-beacon

Composer 安装命令:

composer require coffesoft/laravel-beacon

包简介

Laravel Beacon v2 — AI Project Intelligence Engine. Scan, understand, and export clean context for AI-assisted development.

README 文档

README

Laravel Project Context Generator

Scan any Laravel project and export clean, structured context for AI-assisted development.

Quick Start

composer require coffesoft/laravel-beacon

The service provider auto-discovers via Laravel package discovery.

Compatibility

Laravel PHP Support Level
11.x 8.1–8.4 ✅ Official
10.x 8.1–8.3 ✅ Official
9.x 8.1–8.2 ✅ Official
8.x 8.1 ⚠️ Best-effort

Commands

# Scan the project and display a summary
php artisan beacon:scan

# Export context as Markdown
php artisan beacon:export --format=md

# Export context as structured JSON
php artisan beacon:export --format=json

# Export to a custom location
php artisan beacon:export --format=md --output=custom/path/context.md

Output

context.md

Six-section markdown document with factual project data:

  1. Project Overview — Framework, PHP version, counts
  2. Architecture — Detected modules
  3. Models — Namespace, relationships, fillable fields
  4. Controllers — Grouped by subdirectory with method lists
  5. Routes — Grouped by prefix
  6. Migrations — Table names and totals

context.json

Strict structured JSON — only factual scanned data.

What It Scans

Scanner Source Data
ModelScanner app/Models/ Class names, Eloquent relationships, fillable fields
ControllerScanner app/Http/Controllers/ Class names, public methods, subdirectory grouping
RouteScanner All registered routes URI, methods, names, actions, middleware
MigrationScanner database/migrations/ Timestamps, table names, column types

Requirements

  • PHP 8.1+
  • Laravel 9.x, 10.x, or 11.x (8.x best-effort)

License

MIT

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-07-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固