-
Notifications
You must be signed in to change notification settings - Fork 26
Comparing changes
Open a pull request
base repository: php-mcp/laravel
base: 2.1.1
head repository: php-mcp/laravel
compare: 3.0.0
- 9 commits
- 33 files changed
- 2 contributors
Commits on Jun 25, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 62a3818 - Browse repository at this point
Copy the full SHA 62a3818View commit details
Commits on Jun 26, 2025
-
chore: Upgrade php-mcp/server to version ^3.0 and refactor transport …
…handling - Updated `php-mcp/server` dependency to version `^3.0` in composer.json. - Refactored HTTP transport handling by removing the old `McpController` and introducing `SseTransportController` and `StreamableTransportController`. - Enhanced configuration options in `mcp.php` for dedicated and integrated HTTP transports, including support for JSON responses and event stores. - Updated routing to use a new web.php file for handling transport routes. - Improved session management and logging configurations in the MCP setup. - Adjusted command outputs for clarity when starting the MCP server.
Configuration menu - View commit details
-
Copy full SHA for e3be7d3 - Browse repository at this point
Copy the full SHA e3be7d3View commit details -
feat: Enhance session management and transport handling
- Added a lottery configuration for session garbage collection in `mcp.php`. - Updated `LaravelHttpTransport` to include session garbage collection on message requests. - Refactored `LaravelStreamableHttpTransport` to streamline message handling and improve context management. - Adjusted command output formatting for better readability when starting the MCP server.
Configuration menu - View commit details
-
Copy full SHA for dc8a225 - Browse repository at this point
Copy the full SHA dc8a225View commit details -
feat: implement Laravel-native session handlers
- Add FileSessionHandler with directory auto-creation and proper gc() - Add DatabaseSessionHandler with base64 encoding and session tracking - Update McpServiceProvider to construct handlers directly instead of using server builder - Add session configuration options for file path and database settings - Include database migration for mcp_sessions table - Support all Laravel session drivers: array, file, cache, database, redis, memcached, dynamodb
Configuration menu - View commit details
-
Copy full SHA for 2a5d64b - Browse repository at this point
Copy the full SHA 2a5d64bView commit details -
Configuration menu - View commit details
-
Copy full SHA for fe00c92 - Browse repository at this point
Copy the full SHA fe00c92View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b4e2c4 - Browse repository at this point
Copy the full SHA 3b4e2c4View commit details -
tests: Update tests to replace deprecated methods
- Refactored tests to replace deprecated methods with updated ones for retrieving tools, resources, and prompts. - Enhanced assertions in tests to align with the new schema structure for registered elements. - Updated command tests to reflect changes in the MCP registry and output messages for better clarity.
Configuration menu - View commit details
-
Copy full SHA for 0b094cb - Browse repository at this point
Copy the full SHA 0b094cbView commit details -
refactor: add completion capability and simplify capabilities config
- Updated the capabilities structure in `mcp.php` to streamline the configuration by removing nested arrays for tools, resources, prompts, and logging. - Enhanced the `McpServiceProvider` to reflect the new configuration structure, ensuring compatibility with the updated capabilities. - Added support for completions and clarified the experimental capabilities in the configuration.
Configuration menu - View commit details
-
Copy full SHA for 8a588a3 - Browse repository at this point
Copy the full SHA 8a588a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c52394 - Browse repository at this point
Copy the full SHA 8c52394View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 2.1.1...3.0.0