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:
ben
2026-08-13 11:38:10 +02:00
parent 1877fee258
commit a1bddca2dd
6 changed files with 564 additions and 2 deletions
Generated
+143 -1
View File
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "d2a98af0564164e3228a1b7712e36e87",
"content-hash": "eb8ccdae5381401eaa99d07ff82ce500",
"packages": [
{
"name": "aws/aws-crt-php",
@@ -8941,6 +8941,87 @@
}
],
"packages-dev": [
{
"name": "albertoarena/laravel-truss",
"version": "v1.8.3",
"source": {
"type": "git",
"url": "https://github.com/albertoarena/laravel-truss.git",
"reference": "d8750756f5f239066c7f0d6e40b0eeb7e7e435bf"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/albertoarena/laravel-truss/zipball/d8750756f5f239066c7f0d6e40b0eeb7e7e435bf",
"reference": "d8750756f5f239066c7f0d6e40b0eeb7e7e435bf",
"shasum": ""
},
"require": {
"illuminate/contracts": "^12.0 || ^13.0",
"illuminate/support": "^12.0 || ^13.0",
"php": "^8.3",
"spatie/laravel-package-tools": "^1.16"
},
"require-dev": {
"laravel/mcp": "^0.9",
"laravel/pint": "^1.18",
"orchestra/testbench": "^10.0 || ^11.0",
"pestphp/pest": "^3.5"
},
"suggest": {
"laravel/mcp": "Enables the optional read-only, structure-only Truss MCP server (Truss as AI context). Opt in with `composer require laravel/mcp`. Needs Laravel >= 12.41.1 or 13."
},
"type": "library",
"extra": {
"laravel": {
"providers": [
"AlbertoArena\\Truss\\TrussServiceProvider"
]
}
},
"autoload": {
"psr-4": {
"AlbertoArena\\Truss\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Alberto Arena",
"email": "arena.alberto@gmail.com",
"role": "Developer"
}
],
"description": "A live database structure viewer for Laravel. Renders your schema (never data) as a scrollable, zoomable ER diagram.",
"homepage": "https://trussphp.com",
"keywords": [
"DBML",
"data-dictionary",
"database",
"database-diagram",
"er-diagram",
"erd",
"introspection",
"laravel",
"mermaid",
"migrations",
"schema"
],
"support": {
"docs": "https://trussphp.com",
"issues": "https://github.com/albertoarena/laravel-truss/issues",
"source": "https://github.com/albertoarena/laravel-truss"
},
"funding": [
{
"url": "https://ko-fi.com/albertoarena",
"type": "ko-fi"
}
],
"time": "2026-08-12T14:11:27+00:00"
},
{
"name": "composer/semver",
"version": "3.4.4",
@@ -11403,6 +11484,67 @@
],
"time": "2025-02-07T05:00:38+00:00"
},
{
"name": "spatie/laravel-package-tools",
"version": "1.93.1",
"source": {
"type": "git",
"url": "https://github.com/spatie/laravel-package-tools.git",
"reference": "d5552849801f2642aea710557463234b59ef65eb"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/spatie/laravel-package-tools/zipball/d5552849801f2642aea710557463234b59ef65eb",
"reference": "d5552849801f2642aea710557463234b59ef65eb",
"shasum": ""
},
"require": {
"illuminate/contracts": "^10.0|^11.0|^12.0|^13.0",
"php": "^8.1"
},
"require-dev": {
"mockery/mockery": "^1.5",
"orchestra/testbench": "^8.0|^9.2|^10.0|^11.0",
"pestphp/pest": "^2.1|^3.1|^4.0",
"phpunit/php-code-coverage": "^10.0|^11.0|^12.0",
"phpunit/phpunit": "^10.5|^11.5|^12.5",
"spatie/pest-plugin-test-time": "^2.2|^3.0"
},
"type": "library",
"autoload": {
"psr-4": {
"Spatie\\LaravelPackageTools\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Freek Van der Herten",
"email": "freek@spatie.be",
"role": "Developer"
}
],
"description": "Tools for creating Laravel packages",
"homepage": "https://github.com/spatie/laravel-package-tools",
"keywords": [
"laravel-package-tools",
"spatie"
],
"support": {
"issues": "https://github.com/spatie/laravel-package-tools/issues",
"source": "https://github.com/spatie/laravel-package-tools/tree/1.93.1"
},
"funding": [
{
"url": "https://github.com/spatie",
"type": "github"
}
],
"time": "2026-05-19T14:06:37+00:00"
},
{
"name": "staabm/side-effects-detector",
"version": "1.0.5",