Giter Site home page Giter Site logo

la-a-duo's Introduction

laravel-admin la-a-duo

Installation

Run :

$ composer require ichynul/la-a-duo

Then run:

$ php artisan admin:import la-a-duo

Config

Add a config in config/admin.php:

    'extensions' => [
        'la-a-duo' => [
           // Set to `false` if you want to disable this extension
            'enable' => true,
            // ['admin1' ,'admin2' , ...]
            'prefixes' => ['admin1'],
            // Set to `false` allow login to different prefixes in same brower
            'apart' => true,
            // Base admin_tables migration file path, if new prefix use different database setting , copy this file for it
            'base_migration' => database_path('migrations/2016_01_04_173148_create_admin_tables.php')
        ]
    ],

Usage

Open http://your-host/admin/la-a-duo

After this it will create files in /app/admin1 and create config file /config/admin1.php

Then open http://your-host/admin1

Commonds

$ php artisan laaduo:{action} {prefix?}

If no prefix, for all

$ php artisan laaduo:install admin1

Create /app/Admin1 dir and create routes.php and controllers

$ php artisan laaduo:route admin1

Create /app/Admin1/extroutes.php

$ php artisan laaduo:build admin1

Create /database/migrations/admin1/2016_01_04_173148_create_admin_tables_admin1.php and migrate.

$ php artisan laaduo:seed admin1

Seed AdminTablesSeeder seed admin tables(users,rols,menus...), if table not empty, will pass it


Licensed under The MIT License (MIT).

la-a-duo's People

Contributors

ichynul avatar

Watchers

James Cloos avatar  avatar

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.