PHPackages                             coffesoft/laravel-beacon - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. coffesoft/laravel-beacon

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

coffesoft/laravel-beacon
========================

Laravel Beacon — Project intelligence engine. Scan, understand, and export clean context for Laravel applications.

v1.0.0(1mo ago)017MITPHPPHP ^8.1

Since Jul 3Pushed 1mo agoCompare

[ Source](https://github.com/Hastyar96/coffesoft-laravel-beacon)[ Packagist](https://packagist.org/packages/coffesoft/laravel-beacon)[ RSS](/packages/coffesoft-laravel-beacon/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (4)Versions (2)Used By (0)

Laravel Beacon v1.0.0
=====================

[](#laravel-beacon-v100)

**Project Intelligence Engine for Laravel** — Scan, understand, and export clean context for any Laravel project.

Transform static project analysis into actionable AI context. Beacon helps AI assistants (ChatGPT, Claude, Gemini, Cursor, Cline, Copilot) understand a Laravel project almost as if they had been developed together with the original team from day one.

---

Quick Start
-----------

[](#quick-start)

```
composer require coffesoft/laravel-beacon

# Full project scan (recommended first step)
php artisan beacon:scan

# Generate task-specific AI context
php artisan beacon:task "Create attendance system"

# Code quality review
php artisan beacon:review --min-severity=warning

# AI-powered refactoring plan
php artisan beacon:fix-plan
```

The service provider auto-discovers via Laravel package discovery.

---

Compatibility
-------------

[](#compatibility)

LaravelPHPSupport Level13.x8.2–8.4✅ Official12.x8.2–8.4✅ Official11.x8.1–8.4✅ Official10.x8.1–8.3✅ Official9.x8.1–8.2✅ Official---

Commands
--------

[](#commands)

### Core Commands

[](#core-commands)

```
# Full project scan — runs all scanners + intelligence engines
php artisan beacon:scan

# Re-export from cached scan data
php artisan beacon:export --format=md
php artisan beacon:export --format=json
```

### AI Working Context

[](#ai-working-context)

```
# Generate task-specific context for AI assistants
php artisan beacon:task "Create attendance system"

# Show project changes since last scan
php artisan beacon:diff

# Code quality review with severity ranking
php artisan beacon:review --min-severity=warning
```

### AI Copilot

[](#ai-copilot)

```
# Full AI refactoring plan with priorities and execution order
php artisan beacon:fix-plan

# Code fix suggestions from review output
php artisan beacon:suggest-fix

# Route quality analysis (duplicates, orphans, REST violations)
php artisan beacon:route-health
```

---

Output Files
------------

[](#output-files)

All outputs are stored in `storage/app/beacon/`.

### Analysis Outputs

[](#analysis-outputs)

FileFormatContent`context.json`JSONComplete structured project data`context.md`MarkdownAI-readable project overview`project-graph.json`JSONRelationship graph between project components`architecture.json`JSONDetected architecture patterns and analysis### AI Working Context

[](#ai-working-context-1)

FileFormatContent`ai-context.md`MarkdownLLM-optimized project summary`ai-summary.md`MarkdownClass-by-class summaries`developer-guide.md`MarkdownOnboarding guide for new developers`prompts.md`Markdown10 reusable AI prompts`task-context.md`MarkdownTask-specific development context`diff.md`MarkdownProject changes since last scan`review.md`MarkdownCode quality findings with severity### AI Copilot

[](#ai-copilot-1)

FileFormatContent`fix-suggestions.json`JSONActionable code fix suggestions`fix-suggestions.md`MarkdownHuman-readable fix descriptions`route-health.json`JSONRoute quality analysis`route-health.md`MarkdownRoute health report`refactor-plan.json`JSONPrioritized refactoring actions`refactor-plan.md`Markdown3-phase execution plan---

Architecture
------------

[](#architecture)

```
Scanners → Raw Data → Intelligence Engines → Output Files

```

### Scanners (25)

[](#scanners-25)

Models, Controllers, Routes, Migrations, Database, Config, Services, Repositories, FormRequests, Middleware, Policies, Events, Jobs, Notifications, Mail, Traits, Enums, Helpers, Livewire, Blade, API, Queue, Storage, Packages, Commands

### Intelligence Engines

[](#intelligence-engines)

Architecture Detection, Security Analysis, Performance Analysis, Business Rules, Relationship Graph, AI Summaries, Database Intelligence, Route Intelligence, Folder Tree, Module Detection, Workflow Detection, Dependency Graph, Feature Map, Impact Map, AI Context Compression, Entry Points, Developer Onboarding, AI Prompt Pack, Task Context, Diff Engine, Review Engine, Route Health, Code Fix Engine, AI Refactor Planner, Auto Controller Splitter

---

Safety
------

[](#safety)

- **Read-only** — Never executes or modifies application code
- **AST-first** — Uses PHP tokenization for safe analysis
- **Zero application boot** — No database queries, no service registration
- **Confidence scores** — Every finding includes 0–100 reliability rating
- **Evidence field** — Every suggestion includes the data that triggered it

---

What It Scans
-------------

[](#what-it-scans)

CategorySourceData CollectedModels`app/Models/`Attributes, casts, relations, scopes, accessors, mutators, traitsControllers`app/Http/Controllers/`Methods, CRUD detection, middleware, validationRoutesRegistered routesURI, methods, names, actions, middleware, groupsServices`app/Services/`, Actions, UseCasesDependencies, methods, referenced models/events/jobsEvents`app/Events/`, `app/Listeners/`Events, listeners, subscribers, dispatchersJobs`app/Jobs/`Queued/sync, dispatch locations, unique lockingNotifications`app/Notifications/`Channels (mail, database, broadcast, SMS)Database`database/migrations/`Tables, columns, indexes, foreign keysAPI`app/Http/Resources/`Resources, controllers, Sanctum/Passport/JWTPackages`composer.json`Categorized with purpose detectionBlade`resources/views/`Layouts, components, sections, inheritanceLivewire`app/Livewire/`Components, properties, events, computed valuesMail`app/Mail/`Subjects, markdown templates, views, attachmentsEnums`app/Enums/`Cases, backed values, usageTraits`app/Traits/`, `app/Concerns/`Definitions, usage mapHelpers`app/Helpers/`Global functions, autoload filesMiddleware`app/Http/Middleware/`Registered middleware, aliases, groupsPolicies`app/Policies/`Model mapping, abilitiesForm Requests`app/Http/Requests/`Validation rules, authorize(), custom messagesRepositories`app/Repositories/`Interfaces, implementations, model referencesStorage`config/filesystems.php`Disks, upload paths, public symlinksQueue`config/queue.php`Drivers, connections, Horizon detection---

Requirements
------------

[](#requirements)

- PHP 8.1+
- Laravel 9.x, 10.x, 11.x, 12.x, or 13.x
- ext-json (included with PHP by default)
- ext-mbstring (included with PHP by default)

---

License
-------

[](#license)

MIT

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance90

Actively maintained with recent releases

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

48d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/52756475?v=4)[Hastyar96](/maintainers/Hastyar96)[@Hastyar96](https://github.com/Hastyar96)

---

Top Contributors

[![Hastyar96](https://avatars.githubusercontent.com/u/52756475?v=4)](https://github.com/Hastyar96 "Hastyar96 (28 commits)")

### Embed Badge

![Health badge](/badges/coffesoft-laravel-beacon/health.svg)

```
[![Health](https://phpackages.com/badges/coffesoft-laravel-beacon/health.svg)](https://phpackages.com/packages/coffesoft-laravel-beacon)
```

###  Alternatives

[spatie/laravel-medialibrary

Associate files with Eloquent models

6.2k45.4M713](/packages/spatie-laravel-medialibrary)[spatie/laravel-health

Monitor the health of a Laravel application

88212.7M189](/packages/spatie-laravel-health)[laravel/ai

The official AI SDK for Laravel.

1.1k4.6M331](/packages/laravel-ai)[tallstackui/tallstackui

TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.

731189.9k16](/packages/tallstackui-tallstackui)[spatie/laravel-export

Create a static site bundle from a Laravel app

679153.2k7](/packages/spatie-laravel-export)[masterix21/laravel-licensing

Laravel licensing package with polymorphic assignment to any model, activation keys, expirations/renewals, and seat control via LicenseUsage. Supports offline verification with public-key–signed tokens, a CLI to generate/rotate/revoke keys, and an extensible architecture via config and contracts.

1614.1k4](/packages/masterix21-laravel-licensing)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
