mrzeta/admin
Simple Administrator Package for Laravel 5
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
License
This package is open-sourced software licensed under The BSD 3-Clause License
Related Packages
Backend interface for handling CRUD operations on your Laravel Eloquent models.
Backend interface for handling CRUD operations on your Laravel Eloquent models.
crud widgets for laravel 5.1, to make an admin in few lines of code
