dmt-software/authentication-service

Service to authenticate a user

Maintainers

Package info

github.com/dmt-software/authentication-service

pkg:composer/dmt-software/authentication-service

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

0.4.1 2026-05-10 19:44 UTC

This package is auto-updated.

Last update: 2026-05-11 11:59:04 UTC


README

Service to authenticate users to be used when project created with dmt-software/app-skeleton.

Installation

Authentication service requires dmt-software/mail-service.

composer require dmt-software/authentication-service

Usage

Register 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);