orchestra / auth
Auth Component for Orchestra Platform
Fund package maintenance!
Liberapay
paypal.me/crynobone
Installs: 107 719
Dependents: 3
Suggesters: 0
Security: 0
Stars: 23
Watchers: 4
Forks: 5
Open Issues: 0
Requires
- php: >=7.2
- illuminate/auth: ^7.0
- orchestra/contracts: ^5.0
- orchestra/memory: ^5.0
- orchestra/support-core: ^5.0
Requires (Dev)
- orchestra/model: ^5.0
- orchestra/testbench: ^5.0
Replaces
- orchestra/authorization: v5.0.1
- 6.x-dev
- dev-master / 6.0.x-dev
- 5.x-dev
- v5.0.1
- v5.0.0
- 4.x-dev
- v4.0.0
- 3.8.x-dev
- v3.8.2
- v3.8.1
- v3.8.0
- 3.7.x-dev
- v3.7.1
- v3.7.0
- 3.6.x-dev
- v3.6.1
- v3.6.0
- 3.5.x-dev
- v3.5.2
- v3.5.1
- v3.5.0
- 3.4.x-dev
- v3.4.1
- v3.4.0
- 3.3.x-dev
- v3.3.0
- v3.2.6
- v3.2.5
- v3.2.4
- v3.2.3
- v3.2.2
- v3.2.1
- v3.2.0
- v3.1.10
- v3.1.9
- v3.1.8
- v3.1.7
- v3.1.6
- v3.1.5
- v3.1.4
- v3.1.3
- v3.1.2
- v3.1.1
- v3.1.0
- v3.0.2
- v3.0.1
- v3.0.0
- v2.2.1
- v2.2.0
- v2.1.6
- v2.1.5
- v2.1.4
- v2.1.3
- v2.1.2
- v2.1.1
- v2.1.0
- v2.0.6
- v2.0.5
- v2.0.4
- v2.0.3
- v2.0.2
- v2.0.1
- v2.0.0
This package is auto-updated.
Last update: 2024-12-18 20:00:12 UTC
README
Auth Component extends the functionality of Illuminate\Auth
with the extra functionality to retrieve users' role. This is important when we want to manage application Access Control List (ACL).
Version Compatibility
Installation
To install through composer, run the following command from terminal:
composer require "orchestra/auth"
Configuration
Next replace Illuminate\Auth\AuthServiceProvider
with the following service provider in config/app.php
.
'providers' => [ // ... Orchestra\Auth\AuthServiceProvider::class, Orchestra\Authorization\AuthorizationServiceProvider::class, Orchestra\Memory\MemoryServiceProvider::class, ],
CommandServiceProvider
are optional, useful for interaction using the Artisan command line tool.
Aliases
To make development easier, you could add Orchestra\Support\Facades\ACL
alias for easier reference:
'aliases' => [ 'ACL' => Orchestra\Support\Facades\ACL::class, ],