PHP code example of oleics / ac-build-phar

1. Go to this page and download the library: Download oleics/ac-build-phar 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/ */

    

oleics / ac-build-phar example snippets

sh
php -dphar.readonly=0 vendor/oleics/ac-build-phar/bin/cli.php --phar mylib.phar
sh
php -dphar.readonly=0 vendor/oleics/ac-build-phar/bin/cli.php --phar myapp.phar --