Download the PHP package nexusnetsoftgmbh/nexuscli without Composer
On this page you can find all versions of the php package nexusnetsoftgmbh/nexuscli. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package nexuscli
NEXUS CLI
Installation
Configuration
To use it in your docker project, you must create a "config"-directory in your root path. There you have to place a "config_default.php" file with that content:
DataProvider (DTO)
NEXUS CLI use dataprovider classes to transfer informations. For that you must create a directory "_Generated" in your project directory next to the composer.json file. If you want to use another directory, you have to change the directory path in your config_default.php and in the autoloading config in your composer.json file.
Before using the NEXUS CLI you must generate the dataprovider. For that you can use a command:
Usage
You have to run the nxscli command in your project root directory. That's the same directory where you have created the "config" directory.
Extending
You can create your own nxscli. For that you have to create an "composer.json" file in your project root.
After that you can create an src directory and develop own Nexus-Modules in there. Also you can extend you command from composer. For that you can require additional command-sets for nexuscli.
Custom commands
If you want to add your own commands, you can configure a directory where to search for custom commands. A command filename must have the suffix "Command.php" and your command class must have the same name like your filename. Also you can create subdirectories for your commands to group them. The namespace always have to be "Nexus\CustomCommand\Command".
Example custom command 'LsCommand.php':
All versions of nexuscli with dependencies
symfony/finder Version ^4.1.1
xervice/core Version ^4.0.0
xervice/data-provider Version ^2.0.0