pachristos wrote a comment+100 XP
1mo ago
@Yong Comquas, You dont have this information out of the box, It is stored on the database. Check the code: https://github.com/laracasts/Debugging-Real-World-Production-Nightmares/blob/episode_07/database/migrations/0001_01_01_000000_create_users_table.php
pachristos wrote a comment+100 XP
2mos ago
pachristos wrote a comment+100 XP
2mos ago
@amitgupta Actually, I'm using docker and I managed quite easily to make boost work with my editor. Just change the mcp.json to the actual command that the agent should use. In my case, I changed it from:
{
"mcpServers": {
"laravel-boost": {
"command": "php",
"args": [
"artisan",
"boost:mcp"
]
}
}
}
to:
{
"mcpServers": {
"laravel-boost": {
"command": "docker",
"args": [
"compose",
"-f",
"/PATH/TO/docker-compose.yml", // <- Change this to the actual full path
"exec",
"-i",
"-T",
"APPLICATION_NAME", // <- Change this to the actual name defined in the docker-compose.yml
"php",
"artisan",
"boost:mcp"
]
}
}
}
And for laravel Sail something like this may work also:
{
"mcpServers": {
"laravel-boost": {
"command": "./vendor/bin/sail",
"args": ["php", "artisan", "boost:mcp"]
}
}
}
pachristos liked a comment+100 XP
2mos ago
Well said Jeremy!
I apologize for the link, but when I saw the title... couldn't help myself but share this. Hope it makes you smile! https://clawsong.com/t/WX0OGPBced/works-on-my-machine
Don't know what to tell you friend, works on my machine 😅
pachristos wrote a comment+100 XP
2mos ago
pachristos wrote a comment+100 XP
3mos ago