dmt-software / authentication-service
Service to authenticate a user
Package info
github.com/dmt-software/authentication-service
pkg:composer/dmt-software/authentication-service
0.4.1
2026-05-10 19:44 UTC
Requires
- php: >=8.4
- dmt-software/di-plug: ^0.5
- dmt-software/mail-service: ^1.0
- doctrine/orm: ^3.6
- psr/http-factory: ^1.1
- psr/http-server-middleware: ^1.0
- symfony/event-dispatcher: ^8.0
Requires (Dev)
- guzzlehttp/psr7: ^2.9
- phpunit/phpunit: ^11.0
- pimple/pimple: ^3.6
- squizlabs/php_codesniffer: ^4.0
- twig/twig: ^3.24
Suggests
- twig/twig: ^3.24
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);