承接 ngtfkx/laradeck-commands 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

ngtfkx/laradeck-commands

Composer 安装命令:

composer require ngtfkx/laradeck-commands

包简介

A set of useful Laravel artisan commands

README 文档

README

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

A set of useful Laravel artisan commands

  • php artisan laradeck:view {name} Create a new view
  • php artisan laradeck:download {url} Download file from url

Install

Downloading

Via Composer

$ composer require ngtfkx/laradeck-commands

Registering the service provider

If you're using Laravel 5.5+, you can skip this step. The service provider will have already been registered thanks to auto-discovery.

Otherwise, add line Ngtfkx\Laradeck\Commands\LaradeckCommandsServiceProvider::class, manually in your config\app.php file.

Usage

laradeck:view

# Create a new view
php artisan laradeck:view admin.users.show
# Create a new view and rewrite old with same name
php artisan laradeck:view admin.users.show --force
# Create a new view with @extends directive
php artisan laradeck:view admin.users.show --extends=layouts.app
# Create a new view with @section directive
php artisan laradeck:view admin.users.show --section=content --section=sidebar
# Create a new view with @section directive (other syntax)
php artisan laradeck:view admin.users.show --section=content,sidebar

Similarly for @push (--stack) and @component (--component) directives.

laradeck:download

# download file and save it as storage/app/8SE_CIgzZw8.jpg
php artisan laradeck:download https://pp.userapi.com/c7008/v7008434/a3dc5/8SE_CIgzZw8.jpg
# download file and save it as storage/app/123.jpg
php artisan laradeck:download https://pp.userapi.com/c7008/v7008434/a3dc5/8SE_CIgzZw8.jpg --name=123.jpg
# download file and save it as storage/app/test/photo/123.jpg
php artisan laradeck:download https://pp.userapi.com/c7008/v7008434/a3dc5/8SE_CIgzZw8.jpg --name=123.jpg --path=test/photo

Change log

Please see CHANGELOG for more information on what has changed recently.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-09-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固