定制 ride/cli-web 二次开发

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

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

ride/cli-web

最新稳定版本:1.0.0

Composer 安装命令:

composer require ride/cli-web

包简介

Web commands for the Ride CLI

README 文档

README

This module adds various commands for the web environment to the Ride CLI.

Commands

assets deploy

This command deploys all files in the public directory of the modules and application to the web root.

Syntax: assets deploy [--watch] [<destination>]

  • --watch: Time to sleep in seconds before checking again
  • <destination>: Path of the destination, defaults to the actual public directory

Alias: ad

alias

This command show an overview of the defined URL aliases. You can add a search query to filter the result.

Syntax: alias [<query>]

  • <query> Query to search the URL aliases

Alias: a

alias set

This command adds a new URL alias.

Syntax: alias set <path> <alias> [<force>]

  • <path>: Path of the URL from an existing route, acts as the destination of the alias
  • <alias>: Alias for the path
  • <force>: Force the alias for the provided path

Alias: as

alias unset

This command removes an URL alias.

Syntax: alias unset <alias>

  • <alias>: Alias of the path

Alias: au

route

This command shows an overview of the defined routes. You can add a search query to filter the result.

Syntax: route [<query>]

  • <query>: Query to search the routes

Alias: r

route set

This command adds a new route to the route definition in the application directory.

Syntax: route set <path> <controller> [<action> [<id> [<methods>]]]

  • <path>: Path of the route
  • <controller>: Class name of the controller
  • <action>: Action method (indexAction)
  • <id>: Id for the route
  • <methods>: Allowed methods for the route (eg get,head)

Alias: rs

route unset

This command removes a route from the route definition in the application directory.

Syntax: route unset <id>

  • <id>: Id of the route

Alias: ru

router

This command performs a routing action for the provided path.

Syntax: router [<path> [<method>]]

  • <path>: Path to route
  • <method>: Method of the request

Alias: rr

session clean

This session cleans up the invalidated sessions.

Syntax: session clean [--force]

  • --force: To clear all sessions

Alias: sc

Related Modules

Installation

You can use Composer to install this application.

composer require ride/cli-web

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-02-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固