PHP code example of zoujingli / type-build

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

    

zoujingli / type-build example snippets




declare(strict_types=1);

/** 声明式业务入口,编译后不需要源码加载器。 */
function main(): void
{
    echo "Type 应用已启动。\n";
}
sh
composer test:build-errors
composer test:build-source-collection
composer test:build-cache
composer test:build-install
composer test:imports
composer test:source-rewrites
composer test:isolated-build
composer test:native-packaging
php tests/configuration.php
php tests/operations.php