PHPackages                             jordenpowleywebdev/laravel-permission-helper - 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. jordenpowleywebdev/laravel-permission-helper

ActiveLibrary

jordenpowleywebdev/laravel-permission-helper
============================================

In Development - A Laravel Permission Helper Package

v1.0.4(3y ago)040MITPHP

Since Feb 27Pushed 3y ago1 watchersCompare

[ Source](https://github.com/JordenPowleyWebDev/laravel-permission-helper)[ Packagist](https://packagist.org/packages/jordenpowleywebdev/laravel-permission-helper)[ RSS](/packages/jordenpowleywebdev-laravel-permission-helper/feed)WikiDiscussions main Synced today

READMEChangelog (5)Dependencies (3)Versions (11)Used By (0)

laravel-permission-helper
=========================

[](#laravel-permission-helper)

A basic library for backend &amp; frontend permission checks.

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

[](#installation)

`composer require jordenpowleywebdev/laravel-permission-helper`

Publishing
----------

[](#publishing)

Blade views, JS components, SCSS files and the config can be published from this package using the following syntax: `php artisan vendor:publish --provider="JordenPowleyWebDev\LaravelPermissionHelper\LaravelPermissionHelperServiceProvider" --tag="TAG"`

`TAG` can be replaced with the following tags to publish the corresponding files.

TagDetailsconfigPublishes the related config fileenumsPublishes the related Enum filesviewsPublishes the Blade views files to 'resources/vendor/laravel-permission-helper/views'Setup
-----

[](#setup)

Initially export the config using the following command: `php artisan vendor:publish --provider="JordenPowleyWebDev\LaravelPermissionHelper\LaravelPermissionHelperServiceProvider" --tag="config"`

Adjust the `roles-enum` so that it points to a Role Enum specific to your application. This Enum should implement the `UserRolesInterface` provided.

The `model-bindings` are all model - policy bindings that are authed by your application.

For consistency you should use the `PermissionHelper::authBinding()` within your AuthServiceProvider.

```
public function policies(): array
{
    return array_merge(PermissionHelper::authBinding(), [
        // Include any extra model bindings here
    ]);
}
```

Permission Component
--------------------

[](#permission-component)

The frontend permission component can be included in layouts using: ``

JS Frontend Helpers
-------------------

[](#js-frontend-helpers)

You can use the following commands within your frontend JS.

FunctionDescription`authCheck(): bool`Checks if the User has been logged in.`can(string permission, string model): bool`Checks if the User has the supplied permission on the supplied model.`hasRole(): bool`Checks if the User has the supplied role.

###  Health Score

25

—

LowBetter than 40% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~29 days

Total

5

Last Release

1365d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d2f99b3b1b56f32eab638dc86ef3169a241aaa6255efc000881148c0202f4fe5?d=identicon)[jordenpowleywebdev](/maintainers/jordenpowleywebdev)

---

Top Contributors

[![JordenPowleyWebDev](https://avatars.githubusercontent.com/u/31571981?v=4)](https://github.com/JordenPowleyWebDev "JordenPowleyWebDev (15 commits)")

### Embed Badge

![Health badge](/badges/jordenpowleywebdev-laravel-permission-helper/health.svg)

```
[![Health](https://phpackages.com/badges/jordenpowleywebdev-laravel-permission-helper/health.svg)](https://phpackages.com/packages/jordenpowleywebdev-laravel-permission-helper)
```

###  Alternatives

[rupadana/filament-api-service

A simple api service for supporting filamentphp

20399.6k7](/packages/rupadana-filament-api-service)[api-platform/laravel

API Platform support for Laravel

58113.6k3](/packages/api-platform-laravel)[dgtlss/owaspadvisor

A Laravel package to help developers implement OWASP Top 10 security guidelines

326.3k](/packages/dgtlss-owaspadvisor)[marcogermani87/filament-cookie-consent

Easy cookie consent integrations for Filament

1916.7k](/packages/marcogermani87-filament-cookie-consent)[laravel-latam/spanish

Spanish Package for Laravel

124.2k](/packages/laravel-latam-spanish)

PHPackages © 2026

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