goodm4ven/anvil

Internal support package for Laravel package development

Fund package maintenance!
GoodM4ven

Installs: 131

Dependents: 2

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/goodm4ven/anvil

v1.0.0 2025-12-12 12:39 UTC

This package is auto-updated.

Last update: 2025-12-12 18:01:22 UTC


README

Latest Version on Packagist GitHub Tests Action Status Total Downloads

Just an internal package used by my Laravel packages to help with their development...

Installation

You can install the package via composer:

composer require --dev goodm4ven/anvil

Usage

I'm doing my best to make the helper classes "activatable" or injectable with ease. This is what we have, so far:

Laravel Booster incorrect alias for package development

Inject this to a service provider's register method:

\GoodMaven\Anvil\Fixes\RegisterLaravelBoosterJsonSchemaFix::activate();

Development (Laravel Boost and MCP)

  • Since the package is utilizing Orchestra Testbench for the testing environment, its configuration file testbench.yaml should be looked at.
  • Running the MCP server is done with ./vendor/bin/testbench boost:mcp instead of php artisan boost:mcp or optionally via VSC command prompts.
  • (Optional): VSC users should have their MCP client pointing at ./vendor/bin/testbench boost:mcp. (Check .vscode/mcp.json)
  • (Optional): If you're using ChatGPT Codex in VSC or whatever, make sure your config.toml has at least the following:

Editor MCP Configuration

Your editor's MCP entries in "config.toml" file shuold account for this as well:

# (Optional) For Laravel apps
[mcp_servers.laravel-boost]
command = "php"
args = ["artisan", "boost:mcp"]

# For 3rd party packages, including this
[mcp_servers.laravel-boost-package]
command = "./vendor/bin/testbench"
args = ["boost:mcp"]

Testing

composer test

Credits