mrzeta / admin by Meetrue

Laravel Admin Package
20
0
2
Package Data
Maintainer Username: Meetrue
Maintainer Contact: mrzhaoguohui@hotmail.com (Mrzeta)
Package Create Date: 2016-05-27
Package Last Update: 2016-05-31
Language: JavaScript
License: BSD-3-Clause
Last Refreshed: 2024-04-23 03:03:45
Package Statistics
Total Downloads: 20
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 1
Total Open Issues: 0

Simple Administrator Package for Laravel 5

Build Status Latest Stable Version Total Downloads Latest Unstable Version License HHVM Status

Documentation

Installation

You can install this package quickly via composer command line by running the following command in your terminal.

1: composer create-project laravel/laravel your-project-name --prefer-dist "5.1.*"
2: cd your-project-name
3: composer require mrzeta/admin

After the package is installed, we need to add the following service providers to the providers array in config/app.php.

// file: config/app.php
return [
    'providers' => [
        Mrzeta\Admin\Providers\SupportServiceProvider::class,
        Mrzeta\Admin\AdminServiceProvider::class,
    ]
];

Then we need to update the auth.model config value to Mrzeta\Admin\Entities\User.

// file: config/auth.php
return [
   'model' => Mrzeta\Admin\Entities\User::class,
];

If you want to use your App\User model, you can extends the Mrzeta\Admin\Entities\User class to your App\User or other model class.

// file: app/User.php
namespace App;

class User extends \Mrzeta\Admin\Entities\User
{
  //
}

Next, publish the package's config and assets by running this following command.

php artisan vendor:publish --provider="Mrzeta\Admin\AdminServiceProvider"

Next, install the package by running this following command.

php artisan admin:install

username : admin@meetrue.com

password : suprise

then please visit you website/admin/login

enjoy it 😄

Done

Documentation is located in the wiki page.

Screenshot

Build Status

License

This package is open-sourced software licensed under The BSD 3-Clause License