comphp/auth-comphp-database

Authentication Driver for CommonPHP which utilizes a CommonPHP Database Schema

Maintainers

Package info

github.com/commonphp/auth-comphp-database

pkg:composer/comphp/auth-comphp-database

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

dev-master 2026-05-17 04:45 UTC

This package is auto-updated.

Last update: 2026-05-20 18:01:37 UTC


README

Authentication driver for CommonPHP that uses a CommonPHP Database connection as an authentication source.

Requirements

  • PHP ^8.5
  • comphp/auth:^0.3
  • comphp/database:^0.3

Installation

Once this package is available through your Composer repositories, install it with:

composer require comphp/auth-comphp-database

Usage

<?php

// TODO: Write usage

Driver Notes

This driver is intended for applications that already use comphp/database and want authentication records to be loaded through a CommonPHP database connection.

The driver should keep authentication storage separate from the core auth package while still allowing auth services to work against a common user provider contract.

Error Handling

Connection, lookup, credential, configuration, and authentication source failures should throw CommonPHP auth or database exceptions instead of returning ambiguous false values.

Documentation

License

MIT. See LICENSE.md.