PHP code example of ext-php-copilot / client
1. Go to this page and download the library: Download ext-php-copilot/client 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/ */
ext-php-copilot / client example snippets
sh
php -d extension=target/debug/libext_php_copilot.dylib examples/basic.php
sh
cargo build
php -d extension=target/debug/libext_php_copilot.dylib tests/acceptance.php