PHPackages                             blackbirddev/entry - 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. blackbirddev/entry

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

blackbirddev/entry
==================

Role package for Laravel 5

2363PHP

Since Feb 20Pushed 11y ago2 watchersCompare

[ Source](https://github.com/blackbirddev/entry)[ Packagist](https://packagist.org/packages/blackbirddev/entry)[ RSS](/packages/blackbirddev-entry/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Entry by Sebwite
================

[](#entry-by-sebwite)

Entry is a role package for Laravel5.

Setup
-----

[](#setup)

In the `require` key of `composer` add the following

```
"blackbirddev/entry": "dev-master"

```

The next step is to update/install with composer

```
$ composer update

```

Open up your `config/app.php` file and add this at the end of the `$providers` array:

```
'Blackbirddev\Entry\EntryServiceProvider',

```

In the same file add the facade at the end gof the `$aliases` array:

```
'Entry      => 'Blackbirddev\Entry\EntryFacade',

```

The next step is to add the migration, models, seeds and config files to your project. To do this run this command:

```
$ php artisan vendor:publish --provider="Blackbirddev\Entry\EntryServiceProvider"

```

**Note: This function generates the models but it does NOT generate the correct namespace for you. If you changed the default namespace then you need to update the namespace in the Role and Permission model in the app directory!**

---

Models
------

[](#models)

### User (App\\User.php)

[](#user-appuserphp)

We need to update the user model with a trait. Your model should now look like this:

```
use Blackbird\Entry\Entry\EntryUserTrait;

class User extends Model implements AuthenticatableContract, CanResetPasswordContract {

    use Authenticatable, CanResetPassword, EntryUserTrait;

    // Your other stuff
    ...

}

```

**Note: It's important that the use statement is added to your User model**

---

Middleware
----------

[](#middleware)

Open up your `app/Http/Kernel.app file and add the package middleware to the `$middleware` array like so:

```
protected $middleware = [
    // ...
    'App\Http\Middleware\VerifyCsrfToken',

    'Blackbirddev\Entry\Middleware\CheckPermission',
];

```

You need to do a `composer dump-autoload` to make the middleware available ;)

---

Database
--------

[](#database)

### Let's get that database ready

[](#lets-get-that-database-ready)

We need to make sure that we have all the databases and the data for that. Let's first migrate.

```
$ php artisan migrate

```

---

### Finally some data

[](#finally-some-data)

We need to seed the database with the new seeder class that is created in the migrations directory

```
$ php artisan db:seed --class=EntryDatabaseSeeder

```

**Note: If you can't run the seed then run `composer dump-autoload` first**

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/851b59ccfe2a45c78ea1d57134978d182b000135ad5020d58b8a519e4a188645?d=identicon)[bobbybouwmann](/maintainers/bobbybouwmann)

---

Top Contributors

[![bobbybouwmann](https://avatars.githubusercontent.com/u/5872362?v=4)](https://github.com/bobbybouwmann "bobbybouwmann (20 commits)")

### Embed Badge

![Health badge](/badges/blackbirddev-entry/health.svg)

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

###  Alternatives

[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)[illuminate/auth

The Illuminate Auth package.

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

A flexible, driver based Acl package for PHP 5.4+

870304.7k2](/packages/beatswitch-lock)[amocrm/amocrm-api-library

amoCRM API Client

182728.5k6](/packages/amocrm-amocrm-api-library)[vonage/jwt

A standalone package for creating JWTs for Vonage APIs

424.1M4](/packages/vonage-jwt)

PHPackages © 2026

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