Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: php-mcp/laravel
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.1.1
Choose a base ref
...
head repository: php-mcp/laravel
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3.0.0
Choose a head ref
  • 9 commits
  • 33 files changed
  • 2 contributors

Commits on Jun 25, 2025

  1. Update CHANGELOG

    CodeWithKyrian authored and github-actions[bot] committed Jun 25, 2025
    Configuration menu
    Copy the full SHA
    62a3818 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2025

  1. 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.
    CodeWithKyrian committed Jun 26, 2025
    Configuration menu
    Copy the full SHA
    e3be7d3 View commit details
    Browse the repository at this point in the history
  2. 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.
    CodeWithKyrian committed Jun 26, 2025
    Configuration menu
    Copy the full SHA
    dc8a225 View commit details
    Browse the repository at this point in the history
  3. 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
    CodeWithKyrian committed Jun 26, 2025
    Configuration menu
    Copy the full SHA
    2a5d64b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fe00c92 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3b4e2c4 View commit details
    Browse the repository at this point in the history
  6. 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.
    CodeWithKyrian committed Jun 26, 2025
    Configuration menu
    Copy the full SHA
    0b094cb View commit details
    Browse the repository at this point in the history
  7. 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.
    CodeWithKyrian committed Jun 26, 2025
    Configuration menu
    Copy the full SHA
    8a588a3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    8c52394 View commit details
    Browse the repository at this point in the history
Loading