PHPackages                             hanson/speedy - 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. hanson/speedy

ActiveLibrary[Admin Panels](/categories/admin)

hanson/speedy
=============

A Laravel Admin Package to create a website quickly

1.0.7(8y ago)1455869MITPHP

Since Feb 13Pushed 8y ago3 watchersCompare

[ Source](https://github.com/HanSon/speedy)[ Packagist](https://packagist.org/packages/hanson/speedy)[ RSS](/packages/hanson-speedy/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (9)Dependencies (1)Versions (12)Used By (0)

Speedy
======

[](#speedy)

Introduce
---------

[](#introduce)

Speedy is a Laravel admin package build with bootstrap and vue, it contains a sidebar menu , a authentication and a authorization control

[中文文档](https://laravel-china.org/articles/3829)

Install
-------

[](#install)

In your laravel application, execute the following command:

`composer require hanson/speedy`

add service provider to the app.php:

```
    'providers' => [
        // Laravel Framework Service Providers...
        //...

        // Package Service Providers
        Hanson\Speedy\SpeedyServiceProvider::class,
        // ...

        // Application Service Providers
        // ...
    ]

```

publish resource:

`php artisan vendor:publish --provider="Hanson\Speedy\SpeedyServiceProvider"`

after that, you might want to change some config about speedy:

```
// config/speedy.php
return [
    'class' => [
        'namespace' => 'App\\Models\\',
        'model' => [
            'role' => 'Role',
            'user' => 'User',
            'permission' => 'Permission',
            'permission_role' => 'PermissionRole',
        ]
    ],

    'table' => [
        'role' => 'role',
        'permission' => 'permission',
        'user' => 'users',
        'permission_role' => 'permission_role',
    ],
    // ...
]

```

By default, models will be storage to `App/Models`, and user table is `user`, or you can modify the config wherever you want

```
    'class' => [
        'namespace' => 'App\\Models\\',
        // 'namespace' => 'App\\', set model namespace as 'App\\'
        // ...
    ],
    'table' => [
        'user' => 'users',
        // 'user' => 'user',set user table name to users
    ]

```

**if you are using `user` as your table name, remember to modify the user's migration**

install speedy:

`php artisan speedy:install`

create a new admin user

`php artisan speedy:admin admin@email.com  --create`

or assign admin to an existing user

`php artisan speedy:admin admin@email.com `

make auth by default

`php artisan make:auth`

and modify the `$redirectTo = '/home'` to `$redirectTo = /admin` in `LoginController`

Start up a built-in development server, with `php artisan serve`, visit .

Menu And Permission
-------------------

[](#menu-and-permission)

Speedy sidebar Menus is a very convenient component, you just need to modify the speedy config and run a command to recreate the menu.

Speedy Permission is simple, it can't deal with complicated situation. Each single menu have a permission to control it. Which mean whoever can see this menu can access everything in it.

```
    # speedy.php
    'menus' => [
        'user' => [
            'display' => 'User',
            'url' => '/admin/user'
        ],
        'role' => [
            'display' => 'Role',
            'url' => '/admin/role'
        ],
        'about' => [
            'display' => 'About HanSon',
            'sub' => [
                'github' => [
                    'display' => 'HanSon\'s Github',
                    'url' => 'https://github.com/hanson',
                    'target' => '_blank'
                ],
                'blog' => [
                    'display' => 'HanSon\'s Blog',
                    'url' => 'http://hanc.cc'
                ]
            ]
        ],
    ]

```

After modify the menu, run `php artisan speedy:menu` to recreate the menu and permission.

Role
----

[](#role)

Every user has one role. Speedy user `admin` as a default role and own every permission, even though you modify the menu and run the recreate menu command.

Middleware
----------

[](#middleware)

Speedy provider a middleware name `speedy.auth` in `Hanson\Speedy\Http\Middleware\SpeedyAdminMiddleware`, every admin route must add it to keep application save.

`Hanson\Speedy\Http\Controllers\BaseController` will add middleware automatic.

```
protected $permissionName;

public function __construct()
{
    $this->middleware('speedy.auth:' . $this->permissionName);
}

```

You can make your admin controller extends `Hanson\Speedy\Http\Controllers\BaseController` and set `$permissionName` as the menu key.

Validate
--------

[](#validate)

Speedy has separate the validate rule in `config/validator`, in the controller, you can use method `$validator = $this->mustValidate('{model}.{method}');` to validate the data. The error will display as you define by `resources/lang/en/attributre`.

View
----

[](#view)

The blade file will be publish in `resources/views/vendor/speedy`, and you might want to change the resource link in `resources/views/vendor/speedy/layouts/app.blade.php`

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 85.7% 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 ~39 days

Recently: every ~77 days

Total

9

Last Release

3111d ago

Major Versions

v0.5.1 → v1.0.32017-02-17

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10583423?v=4)[hanson](/maintainers/hanson)[@Hanson](https://github.com/Hanson)

---

Top Contributors

[![Hanson](https://avatars.githubusercontent.com/u/10583423?v=4)](https://github.com/Hanson "Hanson (24 commits)")[![zarkin404](https://avatars.githubusercontent.com/u/20920673?v=4)](https://github.com/zarkin404 "zarkin404 (4 commits)")

---

Tags

adminlaravellaravel-adminspeedylaraveladminpanel

### Embed Badge

![Health badge](/badges/hanson-speedy/health.svg)

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

###  Alternatives

[lokielse/laravel-admin-generator

An Admin Panel Generator for Laravel 5

712.0k](/packages/lokielse-laravel-admin-generator)

PHPackages © 2026

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