Skip to content

Commit 7ddaf30

Browse files
chore: Update dependencies and improve MCP notification handling
- Bump `php-mcp/server` to version `^2.3` - Refactor `McpNotificationListener` to utilize the `Registry` for handling notifications, removing reliance on `ClientStateManager`. - Clean up unused methods and improve event handling logic in `McpServiceProvider` and `McpNotificationListener`.
1 parent cdf7fba commit 7ddaf30

File tree

5 files changed

+79
-115
lines changed

5 files changed

+79
-115
lines changed

composer.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"require": {
2222
"php": "^8.1",
2323
"laravel/framework": "^9.46 || ^10.34 || ^11.29 || ^12.0",
24-
"php-mcp/server": "^2.2"
24+
"php-mcp/server": "^2.3"
2525
},
2626
"require-dev": {
2727
"laravel/pint": "^1.13",
@@ -30,8 +30,7 @@
3030
"orchestra/testbench": "^8.0 || ^9.0",
3131
"pestphp/pest": "^2.0",
3232
"pestphp/pest-plugin-laravel": "^2.0",
33-
"phpunit/phpunit": "^10.0 || ^11.0",
34-
"react/http": "^1.11"
33+
"phpunit/phpunit": "^10.0 || ^11.0"
3534
},
3635
"autoload": {
3736
"psr-4": {

samples/basic/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"php": "^8.2",
1313
"laravel/framework": "^12.0",
1414
"laravel/tinker": "^2.10.1",
15-
"php-mcp/laravel": "*"
15+
"php-mcp/laravel": "dev-main"
1616
},
1717
"require-dev": {
1818
"fakerphp/faker": "^1.23",

samples/basic/composer.lock

Lines changed: 60 additions & 59 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)