Download the PHP package modernmcguire/hq_overwatch without Composer

On this page you can find all versions of the php package modernmcguire/hq_overwatch. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package hq_overwatch

MMP Overwatch

The MMP HQ companion package for Modern McGuire Laravel projects.

Requirements

Install

Publish the config if you want to edit it:

Configure

In MMP HQ, open the project's panel → Link Overwatch → copy the issued public key into this app's .env:

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:

Tests


All versions of hq_overwatch with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/support Version ^10.0|^11.0|^12.0|^13.0
illuminate/http Version ^10.0|^11.0|^12.0|^13.0
illuminate/routing Version ^10.0|^11.0|^12.0|^13.0
illuminate/auth Version ^10.0|^11.0|^12.0|^13.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package modernmcguire/hq_overwatch contains the following files

Loading the files please wait ...