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='$([ -f sail ] && echo sail || echo vendor/bin/sail)'
yml
services:
    dev:
        image: sail-lite/basic
        build:
            context: ./vendor/reedware/sail-lite/runtimes/basic
            dockerfile: Dockerfile
            args:
                PHP: '${PHP_VERSION:-8.5}' # <-- PHP Version
                WWWGROUP: '${WWWGROUP}'
        environment:
            WWWUSER: '${WWWUSER}'
        volumes:
            - '.:/var/www/html'