Looking to hire Laravel developers? Try LaraJobs

compass-client-laravel maintained by maarheeze

Description
exposes the status of a laravel site to compass
Last update
2026/10/26 09:36 (dev-main)
License
Links
Downloads
14

Comments
comments powered by Disqus

maarheeze/compass-client-laravel

Exposes the status of a Laravel site to Compass. It registers a single route that Compass reads, guarded by a bearer token and reachable during maintenance mode.

Installation

composer require maarheeze/compass-client-laravel

The package auto-registers via Laravel's package discovery.

Configuration

Set the key Compass sends as a bearer token. It is the same key on every site and in Compass itself:

COMPASS_CLIENT_KEY=your-key

If you want to override the path the status is served at, which defaults to /_compass:

COMPASS_CLIENT_PATH=/_compass

The pages Compass checks for uptime, separated by a comma, defaults to /:

COMPASS_CLIENT_PAGES=/,/contact

Publishing the config

To customize settings beyond the environment variables, publish the config file to config/compass-client.php:

php artisan vendor:publish --tag=compass-client-config

License

MIT