Skip to content

Introduction

The @laratype/auth package provides authentication and authorization features for your Laratype application.

To use these features, install the @laratype/auth package:

sh
$ npm install @laratype/auth
sh
$ pnpm add @laratype/auth
sh
$ bun add @laratype/auth

When you initialize a Laratype project with create-laratype, the @laratype/auth package is included by default. You only need to configure authentication options in config/auth.ts.