PHP code example of creode / modular-ai

1. Go to this page and download the library: Download creode/modular-ai library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

creode / modular-ai example snippets

bash
php artisan make:mcp-tool ExampleTool
php artisan make:mcp-server ExampleServer
php artisan make:mcp-resource ExampleResource
php artisan make:mcp-prompt ExamplePrompt
php artisan make:mcp-app-resource ExampleAppResource
bash
php artisan make:mcp-tool --help