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

ActiveLibrary[Admin Panels](/categories/admin)

playable-china/laravel-admin
============================

laravel admin

1.3.x-dev(9y ago)2471MITPHPPHP &gt;=5.6.4

Since Oct 31Pushed 9y ago1 watchersCompare

[ Source](https://github.com/playable-china/laravel-admin)[ Packagist](https://packagist.org/packages/playable-china/laravel-admin)[ Docs](https://github.com/playable-china/laravel-admin)[ RSS](/packages/playable-china-laravel-admin/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (7)Versions (5)Used By (0)

laravel-admin
=============

[](#laravel-admin)

[![Build Status](https://camo.githubusercontent.com/3fd2300392e0266fdfa6b4b0e0e52c25240ecda6a26395fd99f58dcf4d9745f5/68747470733a2f2f7472617669732d63692e6f72672f7a2d736f6e672f6c61726176656c2d61646d696e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/z-song/laravel-admin)[![StyleCI](https://camo.githubusercontent.com/a884703496d92dbe83d1105d4d51d9d64b48aa6b75c65b5f7487c67fa43d3bc7/68747470733a2f2f7374796c6563692e696f2f7265706f732f34383739363137392f736869656c64)](https://styleci.io/repos/48796179)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/a711e17693a2ea5f7e522e8bcd326075b6c9f85cd132c2d5248bf7bcb1984acf/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7a2d736f6e672f6c61726176656c2d61646d696e2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/z-song/laravel-admin/?branch=master)[![Packagist](https://camo.githubusercontent.com/eac4582bf222e11a6f6e402d3c64b4fa5ef7dd00a26013f1dfc88c85b11b86cf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f706c617961626c652d6368696e612f6c61726176656c2d61646d696e2e7376673f6d61784167653d32353932303030)](https://packagist.org/packages/playable-china/laravel-admin)[![Total Downloads](https://camo.githubusercontent.com/b1c2390216846acd36f676ac24a8d4ca605553c0dfa5fa0340f5980ed7e7f3aa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f706c617961626c652d6368696e612f6c61726176656c2d61646d696e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/playable-china/laravel-admin)

`laravel-admin` is administrative interface builder for laravel which can help you build CRUD backends just with few lines of code.

[Demo](http://120.26.143.106/admin) use `username/password:admin/admin`

Inspired by [SleepingOwlAdmin](https://github.com/sleeping-owl/admin) and [rapyd-laravel](https://github.com/zofe/rapyd-laravel).

[中文文档](/docs/zh/README.md)

Screenshots
-----------

[](#screenshots)

[![laravel-admin](https://cloud.githubusercontent.com/assets/1479100/19625297/3b3deb64-9947-11e6-807c-cffa999004be.jpg)](https://cloud.githubusercontent.com/assets/1479100/19625297/3b3deb64-9947-11e6-807c-cffa999004be.jpg)

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

[](#installation)

First, install laravel, and make sure that the database connection settings are correct.

```
Laravel 5.3
composer require playable-china/laravel-admin "dev-master"

```

In`config/app.php`add`ServiceProvider`:

```
Encore\Admin\Providers\AdminServiceProvider::class

```

Then run these commands to finnish install：

```
php artisan vendor:publish --tag=laravel-admin
php artisan admin:install

```

open `http://localhost/admin/` in browser,use username `admin` and password `admin` to login.

Default Settings
----------------

[](#default-settings)

The file in `config/admin.php` contains an array of settings, you can find the default settings in there.

Documentation
-------------

[](#documentation)

- [quick start](/docs/en/quick-start.md)
- [router](/docs/en/router.md)
- [menu](/docs/en/menu.md)
- [layout](/docs/en/layout.md)
- [model-grid](/docs/en/model-grid.md)
- [model-form](/docs/en/model-form.md)
- [widgets](/docs/en/widgets/table.md)
    - [table](/docs/en/widgets/table.md)
    - [form](/docs/en/widgets/form.md)
    - [box](/docs/en/widgets/box.md)
    - [info-box](/docs/en/widgets/info-box.md)
    - [tab](/docs/en/widgets/box.md)
    - [carousel](/docs/en/widgets/carousel.md)
    - [collapse](/docs/en/widgets/collapse.md)
    - charts TODO
- [RBAC](/docs/en/permission.md)

Directory structure
-------------------

[](#directory-structure)

After install,you can find directory`app/Admin`,and then most of our develop work is under this directory.

```

app/Admin
├── Controllers
│   ├── ExampleController.php
│   └── HomeController.php
└── routes.php

```

`app/Admin/routes.php` is used to define routes，for more detail please read [routes](/docs/zh/router.md).

The `app/Admin/Controllers` directory is used to store all the controllers, The `HomeController.php` file under this directory is used to handle home request of admin,The `ExampleController.php` file is a controller example.

Quick start
-----------

[](#quick-start)

We use `users` table come with `Laravel` for example,the structure of table is:

```
CREATE TABLE `users` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `password` varchar(60) COLLATE utf8_unicode_ci NOT NULL,
  `remember_token` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  PRIMARY KEY (`id`),
  UNIQUE KEY `users_email_unique` (`email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci
```

And the model for this table is `App\User.php`

You can follow these steps to setup `CURD` interfaces of table `users`:

#### 1.add controller

[](#1add-controller)

Use the following command to create a controller for `App\User` model

```
php artisan admin:make UserController --model=App\\User
```

The above command will create the controller in `app/Admin/Controllers/UserController.php`.

#### 2.add route

[](#2add-route)

Add a route in `app/Admin/routes.php`：

```
$router->resource('users', UserController::class);

```

#### 3.add left menu item

[](#3add-left-menu-item)

Open `http://localhost:8000/admin/auth/menu`, add menu link and refresh the page, then you can find a link item in left menu bar.

#### 4.build grid and form

[](#4build-grid-and-form)

The rest needs to be done is open `app/Admin/Contollers/UserController.php`, find `form()` and `grid()` method and write few lines of code with `model-grid` and `model-form`，for more detail, please read [model-grid](/docs/en/model-grid.md) and [model-form](/docs/en/model-form.md).

Other
-----

[](#other)

`laravel-admin` based on thses plugins or services:

- [Laravel](https://laravel.com/)
- [AdminLTE](https://almsaeedstudio.com/)
- [Bootstrap Markdown](http://toopay.github.io/bootstrap-markdown/)
- [Datetimepicker](http://eonasdan.github.io/bootstrap-datetimepicker/)
- [CodeMirror](https://codemirror.net/)
- [font-awesome](http://fontawesome.io)
- [moment](http://momentjs.com/)
- [Google map](https://www.google.com/maps)
- [Tencent map](http://lbs.qq.com/)
- [bootstrap-fileinput](https://github.com/kartik-v/bootstrap-fileinput)
- [jquery-pjax](https://github.com/defunkt/jquery-pjax)
- [Nestable](http://dbushell.github.io/Nestable/)
- [noty](http://ned.im/noty/)

License
-------

[](#license)

`laravel-admin` is licensed under [The MIT License (MIT)](LICENSE).

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95.3% 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 ~0 days

Total

2

Last Release

3493d ago

PHP version history (2 changes)1.3.x-devPHP &gt;=5.6.4

1.2.x-devPHP &gt;=5.4.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/24378812?v=4)[playable-china](/maintainers/playable-china)[@playable-china](https://github.com/playable-china)

---

Top Contributors

[![z-song](https://avatars.githubusercontent.com/u/1479100?v=4)](https://github.com/z-song "z-song (281 commits)")[![axyr](https://avatars.githubusercontent.com/u/345155?v=4)](https://github.com/axyr "axyr (11 commits)")[![lip2011](https://avatars.githubusercontent.com/u/1208015?v=4)](https://github.com/lip2011 "lip2011 (2 commits)")[![xqbumu](https://avatars.githubusercontent.com/u/6274534?v=4)](https://github.com/xqbumu "xqbumu (1 commits)")

---

Tags

laravelgridformadminchart

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[dcat-plus/laravel-admin

dcat-plus admin

1433.7k9](/packages/dcat-plus-laravel-admin)[printnow/laravel-admin

Dcat admin 永久分叉版 / 支持 Laravel 10-13, PHP 版本限制 &gt;= 8.1（支持 PHP 8.5）

452.4k](/packages/printnow-laravel-admin)

PHPackages © 2026

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