PHP code example of uniondrug / phar

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

    

uniondrug / phar example snippets



/**
 * @author wsfuyibing <[email protected]>
 * @date   2019-01-24
 */
namespace App\Commands;

/**
 * 构建PHAR入口
 * @package App\Commands
 */
class PharCommand extends \Uniondrug\Phar\Commands\PharCommand
{
}