Authentication driver for CommonPHP that uses a CommonPHP Database connection as an authentication source.
- PHP
^8.5 comphp/auth:^0.3comphp/database:^0.3
Once this package is available through your Composer repositories, install it with:
composer require comphp/auth-comphp-database<?php
// TODO: Write usageThis 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.
Connection, lookup, credential, configuration, and authentication source failures should throw CommonPHP auth or database exceptions instead of returning ambiguous false values.
MIT. See LICENSE.md.