Skip to content
Generate admin for Laravel
HTML PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
test
.coveralls.yml
.gitignore
.styleci.yml
.travis.yml
README.md
composer.json
composer.lock

README.md

Latest Stable Version Total Downloads Latest Unstable Version License composer.lock Coverage Status Build Status Build Status Issue Count

Admin Laravel

Generate admin for Laravel

Feature Requests

###Installation

composer require lrcurso/admin-laravel

Or manually by modifying composer.json file:

{
    "require": {
        "lrcurso/admin-laravel": "0.*"
    }
}

run composer install

Then add Service provider to config/app.php

    'providers' => [
        // ...
        Lrcurso\Admin\Providers\AdminServiceProvider::class,
        Kris\LaravelFormBuilder\FormBuilderServiceProvider::class,
    ]

And Facade (also in config/app.php)

    'aliases' => [
        // ...
        'FormBuilder' => Kris\LaravelFormBuilder\Facades\FormBuilder::class
    ]

And add Middleware to app/Http/Kernel.php

    $routeMiddleware => [
        //...
        'auth.admin' => \Lrcurso\Admin\Middleware\Authenticate::class,
    ]

Last step:

    php artisan vendor:publish

##TODO

  • create Units Tests
  • create documentation (how to use)
  • add config for modifier the dashboard home (default: "DashBoardControler@index")
  • add config for modifier the route root (default: "\admin")
You can’t perform that action at this time.