定制 laradic/console 二次开发

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

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

laradic/console

Composer 安装命令:

composer require laradic/console

包简介

Extra console application and/or command features

README 文档

README

Laradic Console

Source License Framework

This package extends the default Laravel Console and adds several new features.

The package follows the FIG standards PSR-1, PSR-2, and PSR-4 to ensure a high level of interoperability between shared PHP code.

Installation

composer require "laradic/console:~1.0"

Quick Overview

Full documenation @ la.radic.nl

There are 2 ways of using this package.

Command only

Command only means you only use the Laradic\Console\Command class, which is an extension of Illuminate\Console\Command with several improvements and additional features. It is possible to use this class to extend your own Commands from without needing to register the service provider or extend the Kernel.

Go to the Command documentation

Full features

Beside using the Laradic\Console\Command for your commands, to enable full features it is required to extend your Console Kernel from the Laradic\Console\Kernel and register the Laradic\Console\ConsoleServiceProvider.

In most cases this means editing the app/Console/Kernel.php:

namespace App\Console;
use Illuminate\Console\Scheduling\Schedule;
// change
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
// to
use Laradic\Console\Kernel as ConsoleKernel; 

class Kernel extends ConsoleKernel {}

And registering the Laradic\Console\ConsoleServiceProvider inside config/app.php

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-08-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固