PHP code example of reedware / sail-lite

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

    

reedware / sail-lite example snippets

bash
alias sail='sh $([ -f sail ] && echo sail || echo vendor/bin/sail)'
bash
# PHP 8.4
context: ./vendor/reedware/sail-lite/runtimes/8.4

# PHP 8.3
context: ./vendor/reedware/sail-lite/runtimes/8.3

# PHP 8.2
context: ./vendor/reedware/sail-lite/runtimes/8.2

# PHP 8.1
context: ./vendor/reedware/sail-lite/runtimes/8.1