PHPackages                             tipoff/authorization - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. tipoff/authorization

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

tipoff/authorization
====================

Laravel Package for opinionated authorization style

2.10.0(5y ago)066.9k1[15 issues](https://github.com/tipoff/authorization/issues)20MITPHPPHP ^7.4|^8.0CI passing

Since Feb 11Pushed 9mo ago5 watchersCompare

[ Source](https://github.com/tipoff/authorization)[ Packagist](https://packagist.org/packages/tipoff/authorization)[ Docs](https://github.com/tipoff/authorization)[ GitHub Sponsors](https://github.com/tipoff)[ RSS](/packages/tipoff-authorization/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (10)Dependencies (6)Versions (35)Used By (20)

Authorization
=============

[](#authorization)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d2db3cd51cbb0d13ead089bd1358ecfc2f04decc804ccf2cd46a204a24254111/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7469706f66662f617574686f72697a6174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tipoff/authorization)[![Tests](https://github.com/tipoff/authorization/workflows/Tests/badge.svg)](https://github.com/tipoff/authorization/workflows/Tests/badge.svg)[![Total Downloads](https://camo.githubusercontent.com/de0de870c634c869f35551f05774ff14b02adb8bd3d9a96ecad67f69f50a4c5e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7469706f66662f617574686f72697a6174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tipoff/authorization)

This Laravel package contains an opinionated implementation of Authorization allowing users to have multiple email addresses and unique usernames.

Deprecated / Archived
---------------------

[](#deprecated--archived)

This is a pain to keep updated so I am removing it as a dependency from other packages &amp; so they can stand better in isolation &amp; be updated faster to new versions of Laravel.

This is where the description should go of what all needs to be removed in the other packages that contain this dependency.

Installation
------------

[](#installation)

Before installing the package, you must first [install Laravel Nova](https://github.com/laravel/nova-docs/blob/master/3.0/installation.md#installing-nova-via-composer).

You can install the package via composer:

```
composer require tipoff/authorization
```

The migrations will run from the package. You can extend the Models from the package if you need additional classes or functions added to them.

This package requires the following additions to your Laravel repo's config/auth.php

```
    'guards' => [
        // ...
        'email' => [
            'driver' => 'session',
            'provider' => 'email',
        ],
        // ...
   ],
   // ...
    'providers' => [
        // ...
        'users' => [
            'driver' => 'tipoff',
            'model' => Tipoff\Authorization\Models\User::class,
        ],
        // ...
        'email' => [
            'driver' => 'eloquent',
            'model' => Tipoff\Authorization\Models\EmailAddress::class,
        ],
        // ...
   ],
   // ...
```

For developing Laravel applications, it is recommended to create a migration with an admin user.

Models
------

[](#models)

We include the following models:

**List of Models**

- Email Address
- User

For each of these models, this package implements an [authorization policy](https://laravel.com/docs/8.x/authorization) that extends the roles and permissions approach of the [tipoff/authorization](https://github.com/tipoff/authorization) package. The policies for each model in this package are registered through the package and do not need to be registered manually.

The models also have [Laravel Nova resources](https://nova.laravel.com/docs/3.0/resources/) in this package and they are also registered through the package and do not need to be registered manually.

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Tipoff](https://github.com/tipoff)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance41

Moderate activity, may be stable

Popularity28

Limited adoption so far

Community33

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 64.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~3 days

Recently: every ~8 days

Total

34

Last Release

1825d ago

Major Versions

1.0.1 → 2.0.02021-02-27

### Community

Maintainers

![](https://www.gravatar.com/avatar/6ccc9e3647546c97a5a77b995736302afd85bebdcb43d8fde7d11486579c30c0?d=identicon)[drewroberts](/maintainers/drewroberts)

---

Top Contributors

[![drewroberts](https://avatars.githubusercontent.com/u/24581081?v=4)](https://github.com/drewroberts "drewroberts (166 commits)")[![wolfrednicolas](https://avatars.githubusercontent.com/u/13080491?v=4)](https://github.com/wolfrednicolas "wolfrednicolas (32 commits)")[![pdbreen](https://avatars.githubusercontent.com/u/1670907?v=4)](https://github.com/pdbreen "pdbreen (12 commits)")[![huntermontell](https://avatars.githubusercontent.com/u/64396917?v=4)](https://github.com/huntermontell "huntermontell (12 commits)")[![djamesfar](https://avatars.githubusercontent.com/u/8541396?v=4)](https://github.com/djamesfar "djamesfar (7 commits)")[![chx2](https://avatars.githubusercontent.com/u/24723492?v=4)](https://github.com/chx2 "chx2 (5 commits)")[![WebTigers](https://avatars.githubusercontent.com/u/774030?v=4)](https://github.com/WebTigers "WebTigers (5 commits)")[![prestontoor](https://avatars.githubusercontent.com/u/22110334?v=4)](https://github.com/prestontoor "prestontoor (4 commits)")[![joshtorres](https://avatars.githubusercontent.com/u/5092957?v=4)](https://github.com/joshtorres "joshtorres (3 commits)")[![devjk1](https://avatars.githubusercontent.com/u/62731054?v=4)](https://github.com/devjk1 "devjk1 (2 commits)")[![Kenny-MWI](https://avatars.githubusercontent.com/u/72874890?v=4)](https://github.com/Kenny-MWI "Kenny-MWI (2 commits)")[![dimacodecare](https://avatars.githubusercontent.com/u/55696081?v=4)](https://github.com/dimacodecare "dimacodecare (2 commits)")[![phuclh](https://avatars.githubusercontent.com/u/6707194?v=4)](https://github.com/phuclh "phuclh (2 commits)")[![jasonmccreary](https://avatars.githubusercontent.com/u/161071?v=4)](https://github.com/jasonmccreary "jasonmccreary (1 commits)")[![dimayefremov](https://avatars.githubusercontent.com/u/75018798?v=4)](https://github.com/dimayefremov "dimayefremov (1 commits)")[![arwaawan](https://avatars.githubusercontent.com/u/16465411?v=4)](https://github.com/arwaawan "arwaawan (1 commits)")

---

Tags

authorizationtipoff

### Embed Badge

![Health badge](/badges/tipoff-authorization/health.svg)

```
[![Health](https://phpackages.com/badges/tipoff-authorization/health.svg)](https://phpackages.com/packages/tipoff-authorization)
```

###  Alternatives

[league/oauth2-server

A lightweight and powerful OAuth 2.0 authorization and resource server library with support for all the core specification grants. This library will allow you to secure your API with OAuth and allow your applications users to approve apps that want to access their data from your API.

6.6k136.0M248](/packages/league-oauth2-server)[league/oauth2-client

OAuth 2.0 Client Library

3.8k118.6M1.2k](/packages/league-oauth2-client)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

42121.2M118](/packages/league-oauth2-google)[awes-io/auth

Laravel Authentication package with built-in two-factor (Authy) and social authentication (Socialite).

3826.7k1](/packages/awes-io-auth)[sametsahindogan/laravel-jwtredis

This package allows JWT-authenticated users to be stored and management in Redis with their roles, permissions, statuses and anything you want.

1221.9k](/packages/sametsahindogan-laravel-jwtredis)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
