Code Monkey home page Code Monkey logo

admin's Introduction

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 : [email protected]

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.