PHPackages                             daison/admin-laravel - 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. daison/admin-laravel

ActiveLibrary[Admin Panels](/categories/admin)

daison/admin-laravel
====================

Ready made admin for your laravel website.

1.2.2.4(11y ago)8156MITJavaScriptPHP &gt;=5.4.0

Since Feb 3Pushed 9y ago2 watchersCompare

[ Source](https://github.com/daison12006013/admin-laravel)[ Packagist](https://packagist.org/packages/daison/admin-laravel)[ Docs](https://github.com/daison12006013/admin-laravel)[ RSS](/packages/daison-admin-laravel/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (9)Used By (0)

[![Build Status](https://camo.githubusercontent.com/3d489868dcf53e22a590e053d4cb96b10db9f1b09bf2a9903476963f97284eb3/68747470733a2f2f7472617669732d63692e6f72672f646169736f6e31323030363031332f61646d696e2d6c61726176656c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/daison12006013/admin-laravel)[![Latest Stable Version](https://camo.githubusercontent.com/d767f156ca19ad66a97feb05bcb52e906855bcab224b9b2f07f66da7c5b7b980/68747470733a2f2f706f7365722e707567782e6f72672f646169736f6e2f61646d696e2d6c61726176656c2f762f737461626c652e737667)](https://packagist.org/packages/daison/admin-laravel) [![Total Downloads](https://camo.githubusercontent.com/c12174779c36d9ba579124902e09809aff8d40ef85ee1c0ee7337cb78923e917/68747470733a2f2f706f7365722e707567782e6f72672f646169736f6e2f61646d696e2d6c61726176656c2f646f776e6c6f6164732e737667)](https://packagist.org/packages/daison/admin-laravel) [![Latest Unstable Version](https://camo.githubusercontent.com/d45a295396ff90a621cd3959ef7dc7e8394d24d72236e44414dfe960ca99bf81/68747470733a2f2f706f7365722e707567782e6f72672f646169736f6e2f61646d696e2d6c61726176656c2f762f756e737461626c652e737667)](https://packagist.org/packages/daison/admin-laravel) [![License](https://camo.githubusercontent.com/1f0a0fa7d924d1435ef4889caeb6dee08a2aefbcf426779a02dde28ca9489fd5/68747470733a2f2f706f7365722e707567782e6f72672f646169736f6e2f61646d696e2d6c61726176656c2f6c6963656e73652e737667)](https://packagist.org/packages/daison/admin-laravel)

What I am looking for?
======================

[](#what-i-am-looking-for)

- Developer - who can help me to change, refactor, and to add a feature.
- Translator - you can help by translating the response messages.
- Designer - a designer that can transform the assets into a unique design, instead of using free designs. The credit is yours.

Laravel Admin
=============

[](#laravel-admin)

I'm still keep on updating this admin package, when you are using the `dev-master` you will see some sample routes and navigation links, those are my examples to test all the functionality of this package. Each release has a branch and you need to switch for the said branch you used for specific README file.

Anyhow, I'm using this design [](http://www.blacktie.co/demo/dashgum/) as my basis, so try to review the code, later on I'll be importing other admin templates that you can easily configure. Thumbs Up!

Start Up
========

[](#start-up)

Include this to your composer, if you want the most updated branch, use `dev-master`

```
  	"require": {
  		"daison/admin-laravel": "1.2.*"
  	}

```

Update your composer ``` composer update ```
Go to **/app/config/app.php** and add this line ``` 'Daison\\AdminLaravel\\AdminLaravelServiceProvider', ```
Go to your command line and publish the config, view and assets ``` php artisan config:publish daison/admin-laravel php artisan view:publish daison/admin-laravel php artisan asset:publish daison/admin-laravel --path="vendor/daison/admin-laravel/src/assets" ```
Setup your database and laravel configuration, and run the package migrations ``` php artisan migrate --package="daison/admin-laravel" ``` Or if you have an existing Users table then use publish

```
    php artisan migrate:publish daison/admin-laravel

```

Pre-Testing
===========

[](#pre-testing)

Go to your browser **localhost:8080/admin**You can now access the admin login page

Go to your command line, and lets create an account to test this admin panel

```
  php artisan tinker
  > $user = new User;
  > $user->email = "email@gmail.com";
  > $user->password = Hash::make('abcd');
  > $user->save();
  > $role = new Role;
  > $role->name = 'superuser';
  > $role->save();
  > $user_role = new UserHasRole;
  > $user_role->user_id = $user->id;
  > $user_role->role_id = $role->id;
  > $user_role->save();

```

Go back to the page, and log your recently created account.

Tadda! Now you can see the navigation bar, the site name, and even the logout button, let's move to configuration.

Configuration
=============

[](#configuration)

Remember we used this command **php artisan config:publish daison/admin-laravel**Go to /app/config/packages/daison/admin-laravel/ folder you can see these files

- lang
    - en.php
- general.php
- navigations.php
- routes.php

\####Navigation Lets create our sample navigation,

```
    [name] => [
      'name' => 'Navigation Name',
      'icon' => 'fa fa-home fa-fv',
      'url'  => '/admin/sample',
      'items'=> [
          [name] => [
              'name' => 'Second Level Nav Name',
              'icon  => '',
              'url'  => '/admin/sample/1',
          ],
          [name] => [
              'name' => 'Second Level Nav Name',
              'icon  => '',
              'url'  => '/admin/sample/2',
          ],
      ],
    ],

```

After creating these links with \[items\], refresh your page and see changes. You can even use `'roles' => ['superuser']` to limit the view access.

\####Routes Based from our navigation links, we need to create a route to assign the controller to work with. You can also use the original routes file from /app/config/routes.php, but I suggest to use this approach to separate your original routes from admin routes.

```
'admin_sample_get' => [
  'process' => 'get',
  'url'     => '/admin/sample/',
  'uses'    => 'SampleController@showSample',
],
'admin_sample_post' => [
  'process' => 'post',
  'url'     => '/admin/sample/',
  'uses'    => 'SampleController@saveSample',
],
'admin_sample_rest_get' => [
  'process' => 'get',
  'url'     => '/admin/inventory/{id}/edit',
  'uses'    => 'InventoryController@showEditItem',
],
'admin_sample_rest_post' => [
  'process' => 'post',
  'url'     => '/admin/inventory/{id}/edit',
  'uses'    => 'InventoryController@updateItem',
],

```

Now create your SampleController / InventoryController and it's up to you to handle the responses. You can even assign `'roles' => ['superuser']` to restrict each request, you can also provide `'is_auth' => true` to redirect guest to the login page.

\####Still using Main Routes So you still want to use the main `app/routes.php`, however you want to use the roles management to your routes. Go to your controller `__construct` and do the constructor injection.

```
  use Daison\AdminLaravel\AdminLaravel as Admin;

  class MyController
  {
    private $admin;
    public function __construct(Admin $admin)
    {
      $this->admin = $admin;
    }

    public function showProfile()
    {
      if ($this->admin->hasAnAccess(['superuser','agent']) == false) {
        // It means the Authenticated user doesn't have roles
        // Redirect the user, show the access not allowed page... and so on..
      }
    }

    public function saveProfile()
    {
      // same thing as the showProfile() method.
    }
  }

```

---

I am still updating this README.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 98.4% 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 ~8 days

Total

9

Last Release

4060d ago

### Community

Maintainers

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

---

Top Contributors

[![daison12006013](https://avatars.githubusercontent.com/u/4581415?v=4)](https://github.com/daison12006013 "daison12006013 (125 commits)")[![joshuamabina](https://avatars.githubusercontent.com/u/3260441?v=4)](https://github.com/joshuamabina "joshuamabina (1 commits)")[![kingjan1999](https://avatars.githubusercontent.com/u/3208269?v=4)](https://github.com/kingjan1999 "kingjan1999 (1 commits)")

---

Tags

phplaraveladminadministratortwitter bootstrap

### Embed Badge

![Health badge](/badges/daison-admin-laravel/health.svg)

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

###  Alternatives

[dwij/laraadmin

LaraAdmin is a Open source Laravel Admin Panel / CMS which can be used as Admin Backend, Data Management Tool or CRM boilerplate for Laravel with features like CRUD Generation, Module Manager, Media, Menus, Backups and much more

1.6k68.7k](/packages/dwij-laraadmin)[sebastienheyd/boilerplate

Laravel Boilerplate based on AdminLTE 3 with blade components, user management, roles, permissions, logs viewer, ...

28618.2k3](/packages/sebastienheyd-boilerplate)[sleeping-owl/admin

Aministrative interface builder for Laravel.

51138.6k3](/packages/sleeping-owl-admin)[prismaticoder/maker-checker-laravel

A package for simplifying the integration of a maker-checker approval process to your Laravel application.

232.7k](/packages/prismaticoder-maker-checker-laravel)

PHPackages © 2026

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