Download the PHP package level51/silverstripe-sake-more without Composer
On this page you can find all versions of the php package level51/silverstripe-sake-more. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download level51/silverstripe-sake-more
More information about level51/silverstripe-sake-more
Files in level51/silverstripe-sake-more
Package silverstripe-sake-more
Short Description SakeMore module for SilverStripe 5
License MIT
Informations about the package silverstripe-sake-more
SilverStripe SakeMore
Module for SilverStripe 5 providing additional command line tools. Check out 1.X
releases for SilverStripe 4 support and develop-ss3
branch for SilverStripe 3 support.
Hooks into the default DevelopmentAdmin providing commands/tools under the sake dev/more COMMAND_URL_SEGMENT
route.
Commands
- without specific command: Show info/help including a list of all available commands
- console: Starts a interactive PHP shell using PsySH
- sql: Connects to the local mysql client using the default connection details
- snapshot: Handles system snapshots by utilizing SSPak
- ... more to come
Extend with custom commands
Due to the modular setup adding custom commands is as easy as creating a new class extending the abstract Level51\SakeMore\Command
class. Each sub class will automatically show up in the list of available commands.
It's also possible to extend the abstract Level51\SakeMore\MultiCommand
class if your command provides more than one action. In that case the route will be like sake dev/more YOUR_COMMAND YOUR_SUBCOMMAND
.
Requirements
- SilverStripe ^5.0
- PHP >= 8.0
- SSPak for the
snapshot
command
Maintainer
- Level51 [email protected]
All versions of silverstripe-sake-more with dependencies
silverstripe/framework Version ^5.0
silverstripe/sspak Version *
silverstripe/vendor-plugin Version ^2
psy/psysh Version ^v0.12.3