Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Server Check Laravel Package

craftcms/server-check

Checks whether a server meets Craft CMS 4 requirements. Run via curl/bash, upload for a browser-based report, or run the included PHP script from CLI. Supports strict mode and exit codes for CI/CD and Docker builds.

View on GitHub
Deep Wiki
Context7

Craft Server Check

This script checks if a web server meets the minimum requirements to run a Craft 4 installation.

Usage

Run the following in a terminal of any *nix environment (e.g. Linux, MacOS, WSL):

curl -Lsf https://raw.githubusercontent.com/craftcms/server-check/HEAD/check.sh | bash

Note You can review the substance of this script before execution.

Alternatives

Web UI

Upload the server/ folder to your web server’s web root and load checkit.php from a browser to get an HTML report.

Remote CLI

The same server/ folder can be uploaded anywhere on your server and used via the command line to get a plain-text report:

php checkit.php

This is equivalent to the default usage instructions, above.

Shell exit codes

If all requirements are met, the script will return an exit code of 0.

The script will return an exit code of 1 if:

  • Any errors are encountered, or requirements are not met

  • An environment variable CRAFT_STRICT_SERVER_CHECK=1 is set, and any warnings are found:

    CRAFT_STRICT_SERVER_CHECK=1 php server/checkit.php
    

This can be especially useful in a CI/CD pipeline, or a Dockerfile, where you want the process to fail if the check does not pass:

# Dockerfile
FROM php:8.0-fpm
RUN curl -Lsf https://raw.githubusercontent.com/craftcms/server-check/HEAD/check.sh | bash

The official Craft Docker Images run this check when building to be certain all of Craft's requirements are met in any built image.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope