Skip to content

Authentication

Authentication is provided by the \NaN\Authentication namespace. It combines a set of PSR-15-compatible middleware specifically for multiple kinds of authentication workflows. These also include middleware for typical registration workflows. Default migrations for the internal user management system are provided. These migrations are made using Laravel’s migration system.

Terminal window
composer require aimfornan/nan-auth

The NaN micro-framework doesn’t have an opinion on how your form fields should be named. That is left up to the developer. The NaN\Http namespace provides a set of PSR-15-compatible middleware known as request validators.