\n"; exit(0); } $wappalyzer = new Wappalyzer($url); $detectedApps = $wappalyzer->analyze(); if ( $detectedApps ) { echo implode("\n", $detectedApps) . "\n"; } else { echo "No applications detected\n"; } exit(0); } catch ( Exception $e ) { echo $e->getMessage() . "\n"; exit(1); }