Looking to hire Laravel developers? Try LaraJobs

admin-laravel maintained by lrcurso

Description
Package for laravel
Author
Last update
2023/08/23 18:46 (dev-master)
License
Links
Downloads
2 705

Comments
comments powered by Disqus

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")