Skip to content

dmt-software/authentication-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Authentication Service

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors