Provides command line tools for Rhubarb projects.
Command line tools for Rhubarb
composer require rhubarbphp/custard
Ensure you're currently in the root of your Rhubarb project, then call:
php vendor/rhubarbphp/custard/src/custard.php list
Replacing "list" with any command you wish to run.
php vendor/rhubarbphp/custard/src/custard.php document-models [your schema name]
This method will inspect all the models in your SolutionSchema and add phpDoc @property definitions for all model columns and relationships. This allows code completion and type hinting in intelligent IDEs such as PhpStorm.