comphp/auth-mysqldb

Authentication Driver for CommonPHP which utilizes a MySQL Schema

Maintainers

Package info

github.com/commonphp/auth-mysqldb

pkg:composer/comphp/auth-mysqldb

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:02:50 UTC


README

Authentication driver for CommonPHP that uses MySQL as an authentication source.

Requirements

  • PHP ^8.5
  • comphp/auth:^0.3
  • A MySQL database driver or extension supported by the implementation

Installation

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

composer require comphp/auth-mysqldb

Usage

<?php

// TODO: Write usage

Driver Notes

This driver is intended for applications that store authentication records directly in MySQL without requiring the full CommonPHP database abstraction.

Use comphp/auth-comphp-database instead when authentication should go through a CommonPHP Database connection.

Error Handling

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

Documentation

License

MIT. See LICENSE.md.