Download the PHP package ingenius/auth without Composer
On this page you can find all versions of the php package ingenius/auth. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download ingenius/auth
More information about ingenius/auth
Files in ingenius/auth
Download ingenius/auth
More information about ingenius/auth
Files in ingenius/auth
Vendor ingenius
Package auth
Short Description Authentication package for Ingenius
License proprietary
Package auth
Short Description Authentication package for Ingenius
License proprietary
Please rate this library. Is it a good library?
Informations about the package auth
Ingenius Auth Package
This package provides authentication functionality for the Ingenius platform, including:
- User authentication for tenants
- Role and permission management
- Middleware for tenant authentication and permission checks
- Helper functions for authentication
Installation
Configuration
Publish the configuration file:
Migrations
Publish the migrations:
Run the migrations:
Usage
Authentication
Middleware
The package provides two middleware:
tenant.user: Ensures the user is authenticated in the tenant contexttenant.permission: Checks if the user has the required permission
Commands
The package provides the following commands:
ingenius:auth:sync-tenant-permissions: Synchronizes permissions from the PermissionsManager to tenant databasesingenius:auth:add-admin-role-to-user: Adds an admin role to an existing user in a tenant and assigns all permissions to that role
Testing
License
The MIT License (MIT). Please see License File for more information.
All versions of auth with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1
ingenius/core Version *
laravel/framework Version ^12.0
spatie/laravel-permission Version ^6.0
ingenius/core Version *
laravel/framework Version ^12.0
spatie/laravel-permission Version ^6.0
The package ingenius/auth contains the following files
Loading the files please wait ...