Download the PHP package lafnager-dev/laramap without Composer
On this page you can find all versions of the php package lafnager-dev/laramap. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lafnager-dev/laramap
More information about lafnager-dev/laramap
Files in lafnager-dev/laramap
Package laramap
Short Description Laravel CLI tool that visualizes database structure as a map.
License MIT
Informations about the package laramap
📍 LaraMap
Visualize your Laravel database like a map.
LaraMap is a Laravel package that helps you explore your database structure, models, and relationships directly from the terminal using Artisan commands. It is designed to make understanding Laravel projects fast and simple.
🚀 Installation
Install via Composer:
⚙️ Usage
After installation, you can use the following commands:
Display all model relationships
Example output:
Inspect a specific table
Example output:
🧠 How it works
LaraMap scans your Laravel project automatically by reading Eloquent models inside app/Models. It detects relationships such as hasOne, hasMany, belongsTo, and belongsToMany, then builds a relationship map and displays it in a clean CLI tree format.
📁 Requirements
- PHP 8.3 or higher
- Laravel 10, 11, 12, or 13
💡 Features
- ⚡ Fast Laravel model scanning
- 🌲 Clean CLI tree output
- 🔒 Read-only mode (no database changes)
- 🔧 Works in any Laravel project
📦 Package Structure
📌 Roadmap
Future improvements planned:
- [ ] Laravel relationship path finder (
laramap:path User Product) - [ ] Graph visualization mode
- [ ] Migration tracking support
- [ ] JSON export feature
- [ ] Interactive TUI mode
🤝 Contributing
Pull requests are welcome. Feel free to improve scanning logic or add new features.
All versions of laramap with dependencies
illuminate/support Version ^10.0|^11.0|^12.0|^13.0
illuminate/console Version ^10.0|^11.0|^12.0|^13.0