定制 infopixel/laravel-project-snapshot 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

infopixel/laravel-project-snapshot

最新稳定版本:v0.1.0

Composer 安装命令:

composer require infopixel/laravel-project-snapshot

包简介

Exports a Laravel project snapshot (tree + code bundle) into a single markdown file.

README 文档

README

📸 A workaround for full project .zip file upload limitations by AI-powered language models (LLM).

It generates a single, lightweight snapshot of your project — a fraction of the size of the full codebase, that can be uploaded to your LLM of choice, allowing the AI to understand your architecture and code and collaborate with you effectively.

Export a Laravel project snapshot (file tree + source code) into a single Markdown file**, designed specifically for AI analysis, code review, auditing, and architecture discussions. It was specifically designed to solve the common problem of uploading large full-project .zip files directly into AI-powered language models. Instead of uploading entire projects, this tool produces a **single, structured Markdown file that preserves project context, hierarchy, and source code, making it ideal for ChatGPT, LLMs, and automated review pipelines.

This package generates a safe, readable, deterministic snapshot of your project without binaries, without vendor noise, and with automatic secret redaction.

📦 Installation (dev only)

composer require --dev infopixel/laravel-project-snapshot

▶️ Command line

php artisan snapshot

✨ Features

  • 🧠 Optimized for ChatGPT / LLM ingestion
  • ✅ Single-file snapshot (project.snapshot.md)
  • 🌳 Clean, readable file tree with depth
  • 🔒 Secret scrubbing (JWTs, API keys, Bearer tokens, private keys)
  • 🚫 Will not upload files containing sensitive data like .sqlite,.sql,.db, etc. (unless explicitly permitted via yourself in the configuration)
  • 🚫 Automatically excludes sensitive files (.env,., OAuth keys, etc.)
  • 📦 Whitelist-based file inclusion (no binaries)
  • 🧪 Dev-only safe (won’t run in production)
  • ⏳ Console progress bar
  • 🧾 Rich snapshot metadata block
  • ⚙️ Fully configurable

📦 Screenshots

Command line

Command line snapshot example

project.snapshot.md (Metadata)

Snapshot metadata example

project.snapshot.md (File Display)

Snapshot file display example

File Size (project.snapshot.md)

Snapshot file size example

🚨 Important Safety Notice

This package is intended for development environments only.

  • Installed via require-dev
  • Refuses to run in production
  • Explicitly excludes sensitive files
  • Redacts secrets even if accidentally committed

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-12-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固