PHP code example of sevenpercent / phar-compiler

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

    

sevenpercent / phar-compiler example snippets


 declare(strict_types = 1);

use SevenPercent\PharCompiler;
endor/',
]);

$ pwd
/home/steven.hilder/foo
$ tree
├── bin
│   └── foo
├── src
│   ├── MyClass1.php
│   └── MyClass2.php
└── vendor
    ├── autoload.php
    └── composer
        └── ...