New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

orchestra/auth

Auth Component for Orchestra Platform
110,396 22
Install
composer require orchestra/auth
Latest Version:v5.0.1
PHP:>=7.2
Laravel:7
Older releases:5 · 6
License:MIT
Last Updated:Apr 18, 2021
Links: GitHub  ·  Packagist
Maintainer: crynobone

Auth Component for Orchestra Platform

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).

tests Latest Stable Version Total Downloads Latest Unstable Version License Coverage Status

Version Compatibility

Laravel Auth
5.5.x 3.5.x
5.6.x 3.6.x
5.7.x 3.7.x
5.8.x 3.8.x
6.x 4.x
7.x 5.x
8.x 6.x

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,

],

Related Packages

orchestra/authorization

Authorization Component for Orchestra Platform

59 1
bbatsche/entrust

This package provides a flexible way to add Role-based Permissions to Laravel 4

1,261 3
reinelt/lumineer

This package provides a flexible way to add Role-based Permissions to Lumen

161 0
ricardoriogo/permiso

Simple Laravel 5 package to add Role-based Permissions

318 9
zizaco/entrust

This package provides a flexible way to add Role-based Permissions to Laravel. S...

5,444,067 5,994

Version History

Version Released PHP Laravel License
v5.0.1 >=7.2 ^7.0 MIT
v5.0.0 >=7.2 ^7.0 MIT
v4.0.0 >=7.2 ^6.0 MIT
v3.8.2 >=7.1 ~5.8.0 MIT
v3.8.1 >=7.1 ~5.8.0 MIT