定制 midnite81/laracommander 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

midnite81/laracommander

Composer 安装命令:

composer require midnite81/laracommander

包简介

A package to make artisan commands available on a dashboard

README 文档

README

Latest Stable Version Total Downloads Latest Unstable Version License

A web dashboard for Artisan Commands

Once you've installed LaraCommander, you may wish to view the guide to How the Dashboard works

Installation

This package requires PHP 5.6+, and includes a Laravel 5 Service Provider.

To install through composer include the package in your composer.json.

{
    "require": {
        "midnite81/laracommander": "1.*"
    }
}

Run composer install or composer update to download the dependencies or you can run composer require midnite81/laracommander.

Laravel 5 Integration

If you're using Laravel 5.5, you can ignore the first part of this as Laravel will auto discover this package, but you will need to publish the config file.

To use the package with Laravel 5 firstly add the LaraCommander service provider to the list of service providers in app/config/app.php.

'providers' => [
    ...
    Midnite81\LaraCommander\CommandServiceProvider::class,
    Collective\Html\HtmlServiceProvider::class,
    ...       
];

Add in the facades to the aliases section of app/config/app.php.

'aliases' => [
    ...
    'Form' => Collective\Html\FormFacade::class,
    'Html' => Collective\Html\HtmlFacade::class,
    ...       
];

Publish the config

Publish the config files using php artisan vendor:publish --provider="Midnite81\LaraCommander\CommandServiceProvider"

If you're using Laravel 5.5 or above you can simply type php artisan vendor:publish and select Provider: Midnite81\LaraCommander\CommandServiceProvider

Configuration File

Once you have published the config files, you will find a laracommander.php file in the config folder. It is important that you look through these settings and update these where necessary. By default LaraCommander isn't set to use any auth middleware, which can be set in the config depending on your needs.

Setup complete

If you've followed the steps above you should now be able to load the LaraCommander Dashboard by going to http://example.com/console (or whatever url you're specified in the config).

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-01-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固