PHP code example of mistralys / application_framework

1. Go to this page and download the library: Download mistralys/application_framework 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/ */

    

mistralys / application_framework example snippets


   const TESTS_SESSION_TYPE = 'CAS';
   
bash
php tools/setup-local.php
bash
   cp tests/application/config/test-cas-config.dist.php \
      tests/application/config/test-cas-config.php
   
bash
# Unix
./menu.sh

# Windows
menu.cmd

# Direct (any platform)
php tools/menu.php
bash
(echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"test-client","version":"1.0.0"}}}'; \
 echo '{"jsonrpc":"2.0","method":"notifications/initialized"}'; \
 echo '{"jsonrpc":"2.0","id":2,"method":"tools/list","params":{}}') | ctx server -c context.yaml