setup

command
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Command setup implements `./artisan package:install github.com/freshost/goravel-authkit`. It:

  • registers authkit.ServiceProvider into the app,
  • writes config/authkit.go (the package's own settings file),
  • injects the session "admin" guard + "users" orm provider into the app's EXISTING config/auth.go (additively — it does not clobber other guards),
  • sets bcrypt cost 12 in the app's EXISTING config/hashing.go.

The provider then registers the migrations, routes, and commands at boot, so install is a single step.

Directories

Path Synopsis
This file is published into the consuming app's config/ directory by `./artisan package:install github.com/freshost/goravel-authkit`.
This file is published into the consuming app's config/ directory by `./artisan package:install github.com/freshost/goravel-authkit`.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL