informixter/soadmin 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

informixter/soadmin

Composer 安装命令:

composer require informixter/soadmin

包简介

Administrative interface builder for Laravel.

README 文档

README

bg

Laravel Admin Panel

Build Status StyleCI Laravel Support PHP Support

Official Site Demo Site Telegram Chat Latest Stable Version Total Downloads License

Note: This is the development version. If you are looking for the stable version check out master branch.

SleepingOwl Admin is an administrative interface builder for Laravel.

Documentation

Installation

  1. Require this package in your composer.json and run composer update:

    composer require informixter/soadmin

  2. Run this command in the terminal (if you want to know more about what exactly this command does, see install command documentation):

    $ php artisan sleepingowl:install
    
  3. After you have to update in composer.json post-update section:

    Example:

    "post-update-cmd": [
            "Illuminate\\Foundation\\ComposerScripts::postUpdate",
            "@php artisan sleepingowl:update",
    ]
    

    NOTE: So if you use a laravel-ide-helper package place sleepingowl:update after it commands:

    "post-update-cmd": [
            "Illuminate\\Foundation\\ComposerScripts::postUpdate",
            "@php artisan ide-helper:generate",
            "@php artisan ide-helper:meta",
            "@php artisan sleepingowl:update",
    ]
    

Authentication

  1. By default, admin module uses Laravel authentication.

    If you want to use auth, you can run artisan command php artisan make:auth (https://laravel.com/docs/authentication) and append middleware auth to config/sleeping_owl.php

     ...
     'middleware' => ['web', 'auth']
     ...
  2. Setting up middleware

    By default auth middleware use default guard, selected in config/auth.php

    'defaults' => [
      'guard' => 'web', <- default
      ...
    ],
  3. If you are using some package for ACL like (Laratrust, Zizaco Entrust, etc...)

    'middleware' => ['web', 'role:admin'],

    or

    'middleware' => ['web', 'permission:admin'],

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.

统计信息

  • 总下载量: 716
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-04-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固