PHP code example of itinysun / laraman

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

    

itinysun / laraman example snippets



//run
php laraman

//run a custom process
php larman process {process name}


//config/laraman/server.php
//this is for auto start process name,web for inner build web server ,
// monitor for hot reload after edit ,only enable under debug mode
// see process config in process.php
    'processes'=>[
        'web','monitor'
    ]