PHPackages                             curvestech/laravel-roles - 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. curvestech/laravel-roles

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

curvestech/laravel-roles
========================

Simple role &gt; permissions package for laravel apps.

00PHP

Since Oct 29Pushed 6mo agoCompare

[ Source](https://github.com/CurvesTech/laravel-roles)[ Packagist](https://packagist.org/packages/curvestech/laravel-roles)[ RSS](/packages/curvestech-laravel-roles/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel Roles Package
=====================

[](#laravel-roles-package)

A simple package to add roles and permissions support to your Laravel application.

Features
--------

[](#features)

- Artisan command to install migrations for roles and permissions.
- Migration stubs for `roles`, `permissions`, and pivot tables.

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

[](#installation)

1. Require the package via Composer:

    ```
    composer require curvestech/laravel-roles

    ```
2. Register the service provider (if not using auto-discovery):

    ```
    // config/app.php
    'providers' => [
        Curvestech\LaravelRoles\RolesServiceProvider::class,
    ],
    ```

Usage
-----

[](#usage)

1. Run the install command to publish migrations:

    ```
    php artisan roles:install

    ```
2. Run migrations:

    ```
    php artisan migrate

    ```

Customization
-------------

[](#customization)

- Edit the migration stubs in `src/stubs/` if you need to customize the tables.

License
-------

[](#license)

MIT

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance47

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity13

Early-stage or recently created project

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/58e5428814c9e6ec68bd69056d632ac9b61d0d02e74fa4de45c4e200ab7c1b2a?d=identicon)[CurvesTech](/maintainers/CurvesTech)

### Embed Badge

![Health badge](/badges/curvestech-laravel-roles/health.svg)

```
[![Health](https://phpackages.com/badges/curvestech-laravel-roles/health.svg)](https://phpackages.com/packages/curvestech-laravel-roles)
```

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

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

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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