/admin

Administrative interface builder for Laravel

Primary LanguageJavaScriptMIT LicenseMIT

Laravel 5 Admin Module

Latest Stable Version License

Note: if you are looking for the version for Laravel 4.2 check out laravel-4.2 branch.

SleepingOwl Admin is administrative interface builder for Laravel.

It includes:

Installation

  1. Require this package in your composer.json and run composer update (or run composer require sleeping-owl/admin directly):

    "sleeping-owl/admin": "2.*"
    
  2. After composer update, add service providers to the config/app.php

        Laravel 4.1 - 5.0
    'SleepingOwl\Admin\AdminServiceProvider',
    'Illuminate\Html\HtmlServiceProvider',
    
        Laravel 5.1.*
        SleepingOwl\Admin\AdminServiceProvider::class,
    Illuminate\Html\HtmlServiceProvider::class,
    
  3. Add this to the facades in config/app.php:

        Laravel 4.1 - 5.0
    'Admin'				=> 'SleepingOwl\Admin\Admin',
    'AdminAuth'			=> 'SleepingOwl\AdminAuth\Facades\AdminAuth',
    'AdminRouter'       => 'SleepingOwl\Admin\Facades\AdminRouter',
    'AssetManager' 		=> 'SleepingOwl\Admin\AssetManager\AssetManager',
    'Column'   			=> 'SleepingOwl\Admin\Columns\Column',
    'FormItem' 			=> 'SleepingOwl\Admin\Models\Form\FormItem',
    'ModelItem'			=> 'SleepingOwl\Admin\Models\ModelItem',
    
    'Form'      => 'Illuminate\Html\FormFacade',
    'Html'      => 'Illuminate\Html\HtmlFacade',
    
        Laravel 5.1.*
    'Admin'				=> SleepingOwl\Admin\Admin::class,
    'AdminAuth'			=> SleepingOwl\AdminAuth\Facades\AdminAuth::class,
    'AdminRouter'       => SleepingOwl\Admin\Facades\AdminRouter::class,
    'AssetManager' 		=> SleepingOwl\Admin\AssetManager\AssetManager::class,
    'Column'   			=> SleepingOwl\Admin\Columns\Column::class,
    'FormItem' 			=> SleepingOwl\Admin\Models\Form\FormItem::class,
    'ModelItem'			=> SleepingOwl\Admin\Models\ModelItem::class,
    
    'Form'      => Illuminate\Html\FormFacade::class,
    'Html'      => Illuminate\Html\HtmlFacade::class,
    
  4. Run this command in terminal (if you want to know what exactly this command makes, see install command documentation):

    $ php artisan vendor:publish
    $ php artisan admin:install
    

Documentation

Documentation can be found at sleeping owl documentation. You can also find it in the /src/docs directory.

Demo Application

View live demo.

Support Library

You can donate via PayPal or in BTC: 13k36pym383rEmsBSLyWfT3TxCQMN2Lekd

Copyright and License

Admin was written by Sleeping Owl for the Laravel framework and is released under the MIT License. See the LICENSE file for details.