PHP code example of scarletsfiction / scarlets

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

    

scarletsfiction / scarlets example snippets

sh
$ php -r "copy('https://raw.githubusercontent.com/ScarletsFiction/Scarlets/master/net-install', 'net-install');"
$ php net-install
sh
$ php scarlets upgrade
sh
$ php scarlets serve (port) (address) (options)