PHP code example of craftcms / server-check
1. Go to this page and download the library: Download craftcms/server-check 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/ */
craftcms / server-check example snippets
bash
php checkit.php
bash
CRAFT_STRICT_SERVER_CHECK=1 php server/checkit.php
Dockerfile
# Dockerfile
FROM php:8.0-fpm
RUN curl -Lsf https://raw.githubusercontent.com/craftcms/server-check/HEAD/check.sh | bash