PHPackages                             pheye/voyager - 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. pheye/voyager

ActiveLibrary[Admin Panels](/categories/admin)

pheye/voyager
=============

Based on tcg/voyager:A Laravel Admin Package for The Control Group to make your life easier and steer your project in the right direction

v0.11.1(9y ago)01.3kMITPHP

Since Oct 27Pushed 7y agoCompare

[ Source](https://github.com/pheye/voyager)[ Packagist](https://packagist.org/packages/pheye/voyager)[ Docs](https://the-control-group.github.io/voyager/)[ RSS](/packages/pheye-voyager/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (13)Versions (57)Used By (0)

DEPRECATED!!!
=============

[](#deprecated)

Laravel官方出了Nova管理后台以后，经过测试，在设计上远远优于Voyager。并且Voyager中长期得不到解决的问题，在Nova那边已经解决了。因此，改为使用Nova作为管理后台，本包不再维护。
======================================================================================================

[](#laravel官方出了nova管理后台以后经过测试在设计上远远优于voyager并且voyager中长期得不到解决的问题在nova那边已经解决了因此改为使用nova作为管理后台本包不再维护)

改造说明
====

[](#改造说明)

`Voyager`是个很优秀的项目，然而却有一些问题限制了它的使用：

- 仍然是`jQuery`+前后端混合那套，前端功能很难做得复杂
- `BREAD`控制器不支持搜索、批量操作等功能
- `CMS`方面，编辑器功能过弱，而在`SEO`等相关设置上又过于繁琐
- 提示语言没有使用多语言机制
- `BREAD`开启`Server-Side`时，不支持排序
- 存在许多很初级的BUG：比如`multiple images`类型，只能增加不能删除，查看详情时也不能正常显示等等

等待官方修复太慢，同时按照目前发展趋势来看，与自己的期望还是有一些距离，于是自己做整改。解决上述问题。

具体修复问题：

- `Voyager::settings`模块增加`Boolean Type`，增加`voyager::settings / voyager::settings    -s`命令获取和配置参数
- dropdown类型：如果使用了外键，比如users表的`role_id`指向Role,则User Model必须存在`public function role_id()`,但是一般我们都使用的是`public function role()`，通过在`details`的`relationship`下面增加`method: "role"`即可覆盖默认值。
- Number类型：增加"step: 0.01" 参数，以支持小数点的编辑。
- Textarea类型：支持JSON格式的处理，当数据库字段类型为JSON，并且在Laravel中设置`protected $casts=['content' => 'json']`这样的处理时，Voyager会编辑时会报错。通过在选项中增加`{"json": true}`，即可支持JSON数据的直接编辑。
- 前端支持vue，并通过webpack打包管理
- 生成权限、策略菜单

[![](https://camo.githubusercontent.com/ceeec0cf14351e3a25e3cef5426dd36d7749cc00650df3ad1920c0ae241046ed/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f746865636f6e74726f6c67726f75702f766f79616765722e706e67)](https://the-control-group.github.io/voyager/)

**V**oyager - The Missing Laravel Admin
=======================================

[](#voyager---the-missing-laravel-admin)

官方文档:

常用操作表:

---

Laravel Admin &amp; BREAD System (Browse, Read, Edit, Add, &amp; Delete), made for Laravel 5.3.

After creating your new Laravel application you can include the Voyager package with the following command:

```
composer require tcg/voyager
```

Next make sure to create a new database and add your database credentials to your .env file:

```
DB_HOST=localhost
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret

```

Add the Voyager service provider to the `config/app.php` file in the `providers` array:

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

    // Package Service Providers
    TCG\Voyager\VoyagerServiceProvider::class,
    // ...

    // Application Service Providers
    // ...
],
```

Lastly, we can install voyager. You can do this either with or without dummy data. The dummy data will include 1 admin account (if no users already exists), 1 demo page, 4 demo posts, 2 categories and 7 settings.

To install Voyager without dummy simply run

```
php artisan voyager:install
```

If you prefer installing it with dummy run

```
php artisan voyager:install --with-dummy
```

And we're all good to go!

Start up a local development server with `php artisan serve` And, visit .

If you did go ahead with the dummy data, a user should have been created for you with the following login credentials:

> **email:** `admin@admin.com`
> **password:** `password`

NOTE: Please note that a dummy user is **only** created if there are no current users in your database.

If you did not go with the dummy user, you may wish to assign admin priveleges to an existing user. This can easily be done by running this command:

```
php artisan voyager:admin your@email.com
```

If you did not install the dummy data and you wish to create a new admin user you can pass the `--create` flag, like so:

```
php artisan voyager:admin your@email.com --create
```

And you will be prompted for the users name and password.

生成扩展菜单
======

[](#生成扩展菜单)

默认安装的后台没有权限相关的菜单，可通过执行如下命令生成更多的菜单。 比如角色、权限、权限视图、策略

```
php artisan vendor:publish --provider='TCG\Voyager\VoyagerServiceProvider' --force
composer dump-autoload
php artisan db:seed --class=ExtendVoyagerAdminSeeder
```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~2 days

Total

54

Last Release

3371d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3f56940699a76baafd95c51e549e3f0c90bea9ebb296d5102c6e545761d305cf?d=identicon)[pheye](/maintainers/pheye)

---

Top Contributors

[![marktopper](https://avatars.githubusercontent.com/u/2232539?v=4)](https://github.com/marktopper "marktopper (326 commits)")[![tnylea](https://avatars.githubusercontent.com/u/601261?v=4)](https://github.com/tnylea "tnylea (144 commits)")[![Frondor](https://avatars.githubusercontent.com/u/5123709?v=4)](https://github.com/Frondor "Frondor (75 commits)")[![handiwijoyo](https://avatars.githubusercontent.com/u/4060094?v=4)](https://github.com/handiwijoyo "handiwijoyo (60 commits)")[![antranapp](https://avatars.githubusercontent.com/u/478757?v=4)](https://github.com/antranapp "antranapp (38 commits)")[![maiorano84](https://avatars.githubusercontent.com/u/3030410?v=4)](https://github.com/maiorano84 "maiorano84 (33 commits)")[![fergthh](https://avatars.githubusercontent.com/u/9524225?v=4)](https://github.com/fergthh "fergthh (27 commits)")[![akazorg](https://avatars.githubusercontent.com/u/34574?v=4)](https://github.com/akazorg "akazorg (26 commits)")[![fletch3555](https://avatars.githubusercontent.com/u/1387843?v=4)](https://github.com/fletch3555 "fletch3555 (19 commits)")[![ctf0](https://avatars.githubusercontent.com/u/7388088?v=4)](https://github.com/ctf0 "ctf0 (17 commits)")[![nikkuang](https://avatars.githubusercontent.com/u/6487764?v=4)](https://github.com/nikkuang "nikkuang (10 commits)")[![putera](https://avatars.githubusercontent.com/u/314314?v=4)](https://github.com/putera "putera (7 commits)")[![oschettler](https://avatars.githubusercontent.com/u/124634?v=4)](https://github.com/oschettler "oschettler (7 commits)")[![sidis405](https://avatars.githubusercontent.com/u/844961?v=4)](https://github.com/sidis405 "sidis405 (7 commits)")[![bestmomo](https://avatars.githubusercontent.com/u/2959682?v=4)](https://github.com/bestmomo "bestmomo (6 commits)")[![gnovaro](https://avatars.githubusercontent.com/u/270990?v=4)](https://github.com/gnovaro "gnovaro (4 commits)")[![frankperez87](https://avatars.githubusercontent.com/u/467730?v=4)](https://github.com/frankperez87 "frankperez87 (3 commits)")[![eimanavicius](https://avatars.githubusercontent.com/u/2480075?v=4)](https://github.com/eimanavicius "eimanavicius (3 commits)")[![edmeehan-tcg](https://avatars.githubusercontent.com/u/17711037?v=4)](https://github.com/edmeehan-tcg "edmeehan-tcg (3 commits)")[![brandonferens](https://avatars.githubusercontent.com/u/1819546?v=4)](https://github.com/brandonferens "brandonferens (3 commits)")

---

Tags

laraveladminpanel

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/pheye-voyager/health.svg)

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

###  Alternatives

[laraveladminpanel/admin

A Laravel Admin Package to make your life easier and steer your project in the right direction

852.1k](/packages/laraveladminpanel-admin)

PHPackages © 2026

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