PHP code example of alianet / env-sync

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

    

alianet / env-sync example snippets

bash
docker compose run --rm php composer test
docker compose run --rm php composer phpstan
docker compose run --rm php composer cs-check
bash
PHP_VERSION=8.2 LOCAL_UID="$(id -u)" LOCAL_GID="$(id -g)" docker compose build php
PHP_VERSION=8.2 docker compose run --rm php composer install
PHP_VERSION=8.2 docker compose run --rm php composer qa
bash
./tools/test-php-version 8.2
./tools/test-php-versions