fr3on/laravel-atlas 问题修复 & 功能扩展

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

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

fr3on/laravel-atlas

最新稳定版本:0.0.1

Composer 安装命令:

composer require fr3on/laravel-atlas

包简介

A browsable, searchable map of your entire Laravel application — routes, jobs, events, commands, and schedules in one place.

README 文档

README

Latest Version on Packagist GitHub Tests Action Status Total Downloads Software License

Laravel Atlas is a premium, browsable map of your entire Laravel application. It provides a visual bird's-eye view of your routes, models, events, jobs, and more—all without any runtime overhead.

Visualizing Your Application

Atlas scans your codebase to provide a comprehensive directory of every moving part in your Laravel app:

  • Route Map: A searchable list of all registered routes, complete with middleware stacks, controller actions, and named identifiers.
  • Model Insights: Explore your Eloquent models, their relationships, and key attributes like fillable and hidden properties.
  • Event Graph: Trace the connections between events and their registered listeners, including queued handlers.
  • Job Registry: A centralized view of all queueable jobs and their default configurations.
  • Artisan Directory: Browse every custom command, signature, and description available in your console.
  • Migration Timeline: A chronological list of your migrations, highlighting which have been applied and which are pending.
  • Policy Explorer: Map out your application's security layer by viewing all registered Policies and Gate abilities.
  • Scheduler Timeline: Human-readable schedules for every background task in your application.

The Atlas Philosophy

Unlike Laravel Telescope, which records what your application did at runtime, Atlas shows you what your application is capable of doing.

Static Inspection

Atlas uses static inspection to boot the Laravel container once, read the registered bindings, and render a snapshot.

  • Zero Runtime Hit: It doesn't listen to requests or write to your database.
  • Documentation-First: Perfect for onboarding new developers or generating external documentation.
  • CI/CD Ready: Since it's static, you can export your application map during your build process.

Getting Started

Installation

You can install the package via composer:

composer require fr3on/laravel-atlas

Publish the configuration file to customize your paths and security:

php artisan vendor:publish --tag="atlas-config"

Usage

By default, in your local environment, you can access the Atlas dashboard at: http://your-app.test/atlas

Exporting Your Map

Atlas isn't just a dashboard; it's a documentation engine. You can export your entire application map to Markdown or JSON—perfect for GitHub Wikis or third-party integrations.

# Export to Markdown for your Wiki
php artisan atlas:export --output=docs/app-map.md

# Export to JSON for custom integrations
php artisan atlas:export --format=json --output=atlas-data.json

Configuration

The configuration file allows you to enable or disable specific panels and define access rules:

// config/atlas.php
return [
    'path' => 'atlas',

    /*
     * Toggle the dashboard on or off.
     */
    'enabled' => env('ATLAS_ENABLED', app()->isLocal()),

    /*
     * Select which panels you want to include in the dashboard.
     */
    'panels' => [
        'routes' => true,
        'models' => true,    // New!
        'commands' => true,
        'events' => true,
        'jobs' => true,
        'migrations' => true, // New!
        'policies' => true,   // New!
        'schedule' => true,
    ],
];

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-04-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固