Skip to content

Latest commit

 

History

33 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages