PHP code example of bangtech / ns

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

    

bangtech / ns example snippets

shell script
php bin/ns.php app start
shell script
php bin/ns.php app stop
shell script
# 开发框架
php bin/ns.php app:create

# 正式版Phar包
php ns.phar app:create
shell script
php bin/ns.php app:pack bangtech/test
shell script
php ns.phar app stop