nauvalazhar/facade-please 问题修复 & 功能扩展

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

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

nauvalazhar/facade-please

Composer 安装命令:

composer require nauvalazhar/facade-please

包简介

Laravel 5 Facade Generator

README 文档

README

Sometimes you want to create a facade for globally accessible method, but you don't like doing it because you have to take a few steps. Facade, please! is a laravel package to solve your problem, just one command and your facade is ready to use!

Requirements

  • PHP >= 5.6.*
  • Laravel 5

Installation

composer require nauvalazhar/facade-please

Add to config/app.php

'providers' => [
  ...
  Nauvalazhar\FacadePlease\FacadePleaseServiceProvider::class,

Usage

Usage List

php artisan facade usage

Create

php artisan facade:please YourFacade

The Generated facade will be stored in the app/MyFacades folder by default, but you can change the destination folder in the config/facadeplease.php file. Before doing that, you need to do this step.

Delete

php artisan facade:delete YourFacade

List All Facades

php artisan facade:list

Get Facade Information

php artisan facade:diag YourFacade [--methods] [--public] [--private]

Configuration

php artisan vendor:publish --tag=facadeplease

Changelogs

0.2.0 - Hope you love this
-----
New
---
- Optional argument for command: php artisan facade
- Automatically adds a comma at the end of the provider array element and aliases array in `config/app.php`
- Added a new command to list all facades
- Added a new command to diagnose the facade
- Added new command for usage 

Changes
-------
- Add 'require' in composer.json
- Some changes to the 'php artisan facade' command
- Some changes to the 'php artisan facade:delete' command

0.1.1 - Initial release
-----
Fix
---
- fix Composer.json

0.1.0 - First release (Don't use this)
- First commit

Credits

Thanks to @rizalio for any help!

License

MIT License

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-08-31

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固