Service to authenticate users to be used when project created with dmt-software/app-skeleton.
Authentication service requires dmt-software/mail-service.
composer require dmt-software/authentication-serviceRegister the dependencies.
use DMT\AuthenticationService\AuthenticationServiceProvider;
// class App
public function initServices(): void
{
$container->register($container->get(AuthenticationServiceProvider::class))
}Register controller routes
use DMT\AuthenticationService\Controllers\AuthenticationController;
// file public/index.php
$app->routeController(AuthenticationController::class);