PHPackages                             bostick/badmin - 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. [Admin Panels](/categories/admin)
4. /
5. bostick/badmin

ActiveLibrary[Admin Panels](/categories/admin)

bostick/badmin
==============

an admin package for laravel 5.1

225

Since Nov 24Compare

[ Source](https://github.com/billbostick/badmin)[ Packagist](https://packagist.org/packages/bostick/badmin)[ RSS](/packages/bostick-badmin/feed)WikiDiscussions Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Badmin
======

[](#badmin)

[![Latest Stable Version](https://camo.githubusercontent.com/055d1953d3a531da9114403d3e5b5da694e57a170a60eadeb7c6b1274b667a9c/68747470733a2f2f706f7365722e707567782e6f72672f626f737469636b2f6261646d696e2f762f737461626c65)](https://packagist.org/packages/bostick/badmin) [![Total Downloads](https://camo.githubusercontent.com/3be8ddc9347350c6376bb90d966714325de5c4fed79b6069c228784554c2a2c9/68747470733a2f2f706f7365722e707567782e6f72672f626f737469636b2f6261646d696e2f646f776e6c6f616473)](https://packagist.org/packages/bostick/badmin) [![Latest Unstable Version](https://camo.githubusercontent.com/b77b511341ac69adfdac6d97803659a7800376fdea779c5e8116526d7040ae29/68747470733a2f2f706f7365722e707567782e6f72672f626f737469636b2f6261646d696e2f762f756e737461626c65)](https://packagist.org/packages/bostick/badmin) [![License](https://camo.githubusercontent.com/8ac7fa0d27fca062ca18af59ace0fa19fee68846a0eacfaecf772aa8482e5af9/68747470733a2f2f706f7365722e707567782e6f72672f626f737469636b2f6261646d696e2f6c6963656e7365)](https://packagist.org/packages/bostick/badmin)

Badmin provides a simple admin interface for the authentication features that are built into Laravel 5.1, as well as the Laravel ACL package (). The screens are based on Bootstrap and jQuery.

Table of Contents
=================

[](#table-of-contents)

- [Requirements and Dependencies](#requirements)
- [Installation](#installation)
- [Use](#use)

Requirements and Dependencies
=====================================================================

[](#requirements-and-dependencies)

This package requires PHP 5.5.9 or greater. It has dependencies on the Illuminate/HTML and Kodeine/Laravel-ACL packages.

Installation
====================================================

[](#installation)

These instructions describe the installation of Badmin, Laravel-ACL, and the Illuminate/HTML package. If you already have either of the dependant packages installed, you may have already performed some of these steps.

### Step 1

[](#step-1)

Use composer to require the package:

```
$ composer require bostick/badmin:dev-master@dev

```

### Step 2

[](#step-2)

Add the service provides for HTML, Laravel-Acl, and Badmin to config/app.php:

```
   'providers' => [
   ...
   Illuminate\Html\HtmlServiceProvider::class,
   Kodeine\Acl\AclServiceProvider::class,
   Bostick\Badmin\BadminServiceProvider::class,
   ...
```

### Step 3

[](#step-3)

Add the aliases for HTML to config/app.php:

```
  'aliases' => [
    ...
    'Form'      => Illuminate\Html\FormFacade::class,
    'Html'      => Illuminate\Html\HtmlFacade::class,
    ...
```

### Step 4

[](#step-4)

Add the HasRole trait to your User model (app/User.php). Note this issue at [kodeine/laravel-acl#90](https://github.com/kodeine/laravel-acl/issues/90). The following code works with the current release of Laravel-ACL.

```
  use Kodeine\Acl\Traits\HasRole;

  ...

  class User extends Model implements AuthenticatableContract,
                                      AuthorizableContract,
                                      CanResetPasswordContract

  {
    use Authenticatable, Authorizable, CanResetPassword, HasRole {
      HasRole::can insteadof Authorizable;
  }
```

### Step 5

[](#step-5)

Use artisan to publish package features:

```
  $ php artisan vendor:publish

```

### Step 6

[](#step-6)

Use artisan to run the migration scripts:

```
  $ php artisan migrate

```

### Step 7

[](#step-7)

Add the following to your app/Http/Kernel.php

```
    protected $routeMiddleware = [
        'acl' => \Kodeine\Acl\Middleware\HasPermission::class,
        ];
```

Use
==================================

[](#use)

Once it is installed, Badmin will provide views at the following routes:

```
  login
  logout
  register
  password/email
  admin/user
  admin/permission
  admin/role
  admin/access

```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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://avatars.githubusercontent.com/u/1236730?v=4)[BillBostick](/maintainers/BillBostick)[@billbostick](https://github.com/billbostick)

### Embed Badge

![Health badge](/badges/bostick-badmin/health.svg)

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

PHPackages © 2026

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