Download the PHP package stubbedev/laravel-dev-mcp without Composer

On this page you can find all versions of the php package stubbedev/laravel-dev-mcp. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-dev-mcp

laravel-dev-mcp

A fast, low-footprint MCP server for local Laravel development, written in Go. It consolidates and replaces laravel/boost and laravel-telescope-mcp into one binary — no PHP package to install in your app.

Install

npm (auto-updating — @latest always fetches the newest release binary):

Or pin it in an MCP client config:

The npm package is a thin launcher that downloads the prebuilt Go binary for your platform (linux x64/arm64, macOS arm64) on install — or on first run if the install-time download is skipped. Set LARAVEL_MCP_SKIP_DOWNLOAD=1 to skip it.

Composer (no Node at runtime — handy when the host already has PHP):

This package is a Composer plugin. On install/update it downloads the prebuilt Go binary for your platform (linux x64/arm64, macOS arm64) and registers it in the project's .mcp.json:

The MCP client then execs the native binary directly — PHP is only the installer, never in the request path. Composer prompts once to trust the plugin (or pre-approve it):

The download matches the installed version, so pinning a tag pins the binary; the relative path keeps the committed .mcp.json working for every teammate who runs composer install. Set LARAVEL_MCP_SKIP_DOWNLOAD=1 to skip the fetch and the .mcp.json write.

npm and Composer download each release's binary once per user, verify it against the release's checksums.txt, and keep it in $XDG_CACHE_HOME/laravel-dev-mcp/<version>/ (by default ~/.cache on Linux, ~/Library/Caches on macOS), and hardlink it into every install, or copy it where the install is on another filesystem. Further projects and git worktrees on the same version install without downloading anything. Delete old version directories to reclaim their space; installs keep their own link.

Homebrew:

Nix (binary cache at nix.stubbe.dev):

Go:

Usage

stdio (run from the Laravel app directory, or set the MCP root):

HTTP (multi-repo; pass the project per request via header):

Example MCP client config (stdio):

Configuration

Env var Default Purpose
LARAVEL_MCP_PHP php PHP binary used for artisan shell-outs.
LARAVEL_MCP_HTTP_ADDR — Enable HTTP on this address (or use --http).
LARAVEL_MCP_HTTP — Truthy (1/true) enables HTTP on the default 127.0.0.1:8765.
LARAVEL_MCP_HTTP_PATH /mcp HTTP endpoint path (--http-path).
LARAVEL_MCP_TOKEN — If set, HTTP clients must send it as Authorization: Bearer <token> (or X-Mcp-Token). Ignored for stdio.
LARAVEL_MCP_DOCS_URL https://boost.laravel.com Docs search backend.

Tools

All tools are exposed up front. Works on any Laravel app:

Requires Laravel Telescope (degrades gracefully when absent):

Development

Linting runs every golangci-lint linter (default: all; only deprecated ones are off, in favour of their replacements). An intentional exception is a //nolint:<linter> // <reason> on the exact line, which nolintlint checks.

Every dev tool (Go pinned to the version go.mod declares, gopls, golangci-lint, delve, just, git, gh) comes from the flake: nix develop, or direnv allow (the tracked .envrc runs use flake). The shell sets GOTOOLCHAIN=local and CGO_ENABLED=0. The package itself lives in nix/package.nix; after a dependency change, just sync-flake refreshes its vendorHash.

CI runs build/test/lint and the nix check (ci.yml), plus CodeQL, Grype, govulncheck and dependency review (security.yml). Dependabot keeps Go modules and pinned actions current.

PHP syntax support

config/*.php and model files are parsed with a PHP 8.1 grammar (the newest php-parser implements). Files using later syntax, such as DNF types, typed class constants, property hooks, asymmetric visibility or the 8.5 pipe operator, still work: a config that can't be read statically is resolved through PHP instead, and an affected model is listed with partial: true.

Releases are cut with just release-patch|minor|major (tags vX.Y.Z), which trigger multi-arch binary builds, the nix cache push, the GitHub release, and the Homebrew tap bump.

License

MIT


All versions of laravel-dev-mcp with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
composer-plugin-api Version ^2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package stubbedev/laravel-dev-mcp contains the following files

Loading the files please wait ...