1. Go to this page and download the library: Download manticorephp/compiler 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/ */
bash
# one file
manticore compile path/to/app.php -o app && ./app
echo ' echo "hi\n";' | manticore compile -o /tmp/hi && /tmp/hi
# a project — a cargo-style manifest, see docs/modules.md
manticore build # reads ./manticore.json
manticore build --libs-only # library targets only
# a Composer project: "composer": true in the manifest compiles the project's
# autoload dirs AND every package in composer.lock — vendor/ is source, not an
# autoload map evaluated at runtime.
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.