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 project.snapshot.md (Metadata) project.snapshot.md (File Display) File Size (project.snapshot.md)🚨 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
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-12-14



