Download the PHP package usecroft/laravel without Composer
On this page you can find all versions of the php package usecroft/laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package laravel
Croft is an MCP server designed specifcally for Laravel developers, by Laravel developers. We wanted a plug and play solution to boosting productivity, so we built one. The php artisan croft
command provides tools to your MCP client to help your AI pair programmer work better. This package is specifically designed to offer tools that are useful locally.
Add even more functionality with usecroft.com » hosted servers.
Installation
Install the package via composer:
Publish the config file with:
Add to your IDE:
Add more functionality with usecroft.com » hosted servers (coming soon)
Usage
To make use of Croft you need to add it as an MCP server in your favourite tool.
The command the MCP client needs to run is ./artisan croft
Cursor (Docs)
We recommend you ship an mcp.json
file with your project in .cursor/mcp.json
Current functionality
- Screenshot URLs
- Query database (read only, or read write)
- Get absolute URL from relative path
- Get current date and time
- Read last X log entries
- Read & filter database structure - tables, columns, indexes, foreign keys
- List/filter routes
- List artisan commands
- List available config() keys (and optionally values) in dot notation
- List available env() keys (without leaking secrets of course)
Extra functionality
Add more functionality with usecroft.com » remote MCP servers (coming soon).
Add your own tools
It's trivial to add your own tools.
Just create a class that extends our Croft\Feature\Tool\AbstractTool
class, then make sure it's in your croft.php
config file.
Example:
After adding a tool you'll need to restart the server, or ask the MCP client to relist the tools.
Support & Credits
Croft was developed by Ashley Hindle with support from Springloaded. If you like it, please star it, share it, and let us know!
Ashley Hindle
Springloaded
All versions of laravel with dependencies
illuminate/contracts Version ^10.0||^11.0||^12.0
spatie/laravel-package-tools Version ^1.16