Download the PHP package ride/cli-web without Composer
On this page you can find all versions of the php package ride/cli-web. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package cli-web
Ride: Web CLI
This module adds various commands for the web environment to the Ride CLI.
Commands
assets deploy
This command deploys all files in the directory of the modules and application to the web root.
Syntax:
- : Time to sleep in seconds before checking again
- : Path of the destination, defaults to the actual public directory
Alias:
alias
This command show an overview of the defined URL aliases. You can add a search query to filter the result.
Syntax:
- Query to search the URL aliases
Alias:
alias set
This command adds a new URL alias.
Syntax:
- : Path of the URL from an existing route, acts as the destination of the alias
- : Alias for the path
- : Force the alias for the provided path
Alias:
alias unset
This command removes an URL alias.
Syntax:
- : Alias of the path
Alias:
route
This command shows an overview of the defined routes. You can add a search query to filter the result.
Syntax:
- : Query to search the routes
Alias:
route set
This command adds a new route to the route definition in the application directory.
Syntax:
- : Path of the route
- : Class name of the controller
- : Action method (indexAction)
- : Id for the route
- : Allowed methods for the route (eg get,head)
Alias:
route unset
This command removes a route from the route definition in the application directory.
Syntax:
- : Id of the route
Alias:
router
This command performs a routing action for the provided path.
Syntax:
- : Path to route
- : Method of the request
Alias:
session clean
This session cleans up the invalidated sessions.
Syntax:
- : To clear all sessions
Alias:
Related Modules
Installation
You can use Composer to install this application.
All versions of cli-web with dependencies
ride/cli Version ^1.0.0
ride/lib-cli Version ^1.0.0
ride/lib-http Version ^1.0.0
ride/lib-router Version ^1.0.0
ride/lib-system Version ^1.0.0
ride/web Version ^1.0.0