modernmcguire/hq_overwatch
Larablocks Analysis
modernmcguire/hq_overwatch works with Laravel 10 to 13 (latest release v1.0.3, Jun 15, 2026).
Recommendation checks
PromisingPromising: maintained and up to date, meets 2 of 4 checks; not yet widely used.
- Works with Laravel 13, the current version
- Released in the last 12 months (Jun 15, 2026)
- 278 downloads a month (needs 10,000)
- 0 GitHub stars (needs 100)
State
Actively maintained- Last stable release: Jun 15, 2026.
- 3 releases in the last 12 months.
- First released: Jun 14, 2026.
- Monthly downloads: 278.
- 1 open issue on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Dec 3, 2026.
| Install | |
|---|---|
composer require modernmcguire/hq_overwatch |
|
| Latest Version: | v1.0.3 |
| PHP: | ^8.2 |
| Laravel: | 10 – 13 |
| License: | proprietary |
| Last Updated: | Oct 23, 2026 |
| Links: | GitHub · Packagist |
MMP Overwatch
The MMP HQ companion package for Modern McGuire Laravel projects.
Requirements
- PHP 8.2+
- Laravel 10 – 13
Install
composer require modernmcguire/hq_overwatch
Publish the config if you want to edit it:
php artisan vendor:publish --tag=mmp-config
Configure
In MMP HQ, open the project's panel → Link Overwatch → copy the issued public
key into this app's .env:
MMP_OVERWATCH_PUBLIC_KEY=base64-public-key-from-hq
Then run HQ's live test in the link wizard. Green means the key is installed and SSO will work.
config/mmp.php
| Key | Default | Purpose |
|---|---|---|
overwatch.public_key |
env('MMP_OVERWATCH_PUBLIC_KEY') |
HQ's Ed25519 public key for this project. |
overwatch.allowed_domain |
modernmcguire.com |
Only emails on this domain may sign in. |
overwatch.redirect_to |
/ |
Where users land after login. |
overwatch.token_ttl |
60 |
Max accepted token age (seconds). |
overwatch.route_prefix |
mmp/overwatch |
URI prefix for the package routes. |
overwatch.provision_user |
null |
Optional fn (array $claims): Authenticatable override. |
How a user gets provisioned
When an unrecognised email signs in, the package creates the user and elevates them to
admin using whatever the app supports: a Spatie admin role, an is_admin/role
column, or a plain user if neither exists. Override entirely with the
provision_user closure (see AGENTS.md).
Security
Asymmetric, per-environment keys (HQ signs, this app verifies); tokens are single-use,
host-bound, domain-restricted, issuer-checked, size-capped, and expire in ~60s (the app
enforces its own max age from iat, not just HQ's exp). Full details in AGENTS.md
and MAINTENANCE.md.
Requirements for the guarantees to hold:
- Use a shared, persistent cache (
redisordatabase) — the single-usejtiis stored there. Thearray/nullstore (or a per-node cache behind a load balancer) weakens replay protection; the package logs a warning if it sees one. - Run behind correct
TrustProxies/TrustHostsconfig sorequest()->getHost()(used foraudbinding) can't be spoofed.
Tests
composer install
./vendor/bin/pest
Related Packages
A helper package to utilize the Cron Job monitoring tool from Sentry
Configure and provide customizable Stripe data via RESTful endpoint.
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v1.0.3 | ^8.2 | ^10.0| | proprietary | |
| v1.0.1 | ^8.2 | ^10.0| | proprietary | |
| v1.0.0 | ^8.2 | ^10.0| | proprietary |