=== BotAJS Git Integration - Setup Test === 1. Testing PHP Version... ✓ PHP Version: 8.3.27 (Minimum: 7.4.0) 2. Testing Composer Autoloader... ✓ Composer autoloader found 3. Testing PHP Extensions... ✓ Extension 'json' loaded ✓ Extension 'openssl' loaded ✓ Extension 'curl' loaded ✓ Extension 'session' loaded 4. Testing Directory Structure... ✓ Directory 'src' exists ✓ Directory 'api' exists ✓ Directory 'public' exists ✓ Directory 'storage' exists ✓ Directory 'storage/git' exists ✓ Directory 'storage/sessions' exists 5. Testing Required Files... ✓ File '.env' exists ✓ File 'src/BotAJSClient.php' exists ✓ File 'src/GitHandler.php' exists ✓ File 'src/SessionManager.php' exists ✓ File 'api/generate-key.php' exists ✓ File 'api/export-bot.php' exists ✓ File 'api/import-bot.php' exists ✓ File 'public/index.php' exists 6. Testing Environment Configuration... ✓ API_KEY configured in .env 7. Testing Git Installation... ✓ Git installed: git version 2.43.7 8. Testing Class Loading... ✓ Class 'App\BotAJSClient' can be loaded ✓ Class 'App\GitHandler' can be loaded ✓ Class 'App\SessionManager' can be loaded ✓ Class 'App\Request' can be loaded ✓ Class 'App\Response' can be loaded ✓ Class 'App\Auth' can be loaded ✓ Class 'App\Config' can be loaded 9. Testing SSH Key Generation... ✓ SSH key generation successful ✓ Public key starts with: ssh-rsa AAAAB3NzaC1y... 10. Testing Storage Permissions... ✓ '/home/dannvtuc/bota.necelabs.com/storage/git' is writable ✓ '/home/dannvtuc/bota.necelabs.com/storage/sessions' is writable === Test Complete === Next Steps: 1. Update your .env file with a secure API_KEY 2. Start the development server: cd public && php -S localhost:8000 3. Test the API: curl -X POST http://localhost:8000/api/git/generate-key \ -H "X-API-KEY: your-api-key" -H "Content-Type: application/json" \ -d '{"user_id": "test"}' For more information, see README.md and QUICK_START.md