GitHub Stars
90
User Rating
Not Rated
Favorites
0
Views
39
Forks
2
Issues
6
Installation
Difficulty
IntermediateEstimated Time
10-20 minutes
Installation
Installation
Prerequisites
PHP: >= 8.1
Laravel: >= 10.0
Extensions:
json, mbstring, pcre (typically enabled by default)Installation Steps
1. Install the Package
bash
composer require php-mcp/laravel
2. Publish the Configuration File
bash
php artisan vendor:publish --provider="PhpMcp\Laravel\McpServiceProvider" --tag="mcp-config"
3. Publish the Migration for Database Session Storage
bash
php artisan vendor:publish --provider="PhpMcp\Laravel\McpServiceProvider" --tag="mcp-migrations"
php artisan migrate