Add Laravel Truss for live schema diagrams.
Install albertoarena/laravel-truss as a local-only tool so /truss and the optional Truss MCP server can inspect structure without exposing row data.
This commit is contained in:
@@ -280,6 +280,20 @@ composer test
|
||||
php artisan test
|
||||
```
|
||||
|
||||
## Schema viewer (Laravel Truss)
|
||||
|
||||
[Laravel Truss](https://github.com/albertoarena/laravel-truss) is installed as a **dev** dependency. In `local`, open:
|
||||
|
||||
```
|
||||
/truss
|
||||
```
|
||||
|
||||
It shows a live ER diagram of your schema (structure only, never row data). Optional agent MCP:
|
||||
|
||||
```bash
|
||||
php artisan mcp:start truss
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
||||
|
||||
Reference in New Issue
Block a user