The CampaignChain module generator is an interactive tool to help generate new CampaignChain modules for development. It also generates the necessary packaging for modules in Composer-friendly format.
To install the CampaignChain module generator, follow these steps:
Update your project's composer.json file to include the "campaignchain/dev-tools" package.
Run "composer update" in your project directory.
Add the following line to the end of the registerBundles::bundles array in your app/AppKernel.php file:
new CampaignChain\GeneratorBundle\CampaignChainGeneratorBundle(),
return array(
// ....
'CampaignChain\\GeneratorBundle\\' => array($vendorDir . '/campaignchain/dev-tools'),
);
To use the CampaignChain module generator, first ensure that you're prepared with the basic information for your module, as listed below:
Refer to the CampaignChain developer documentation to learn more.
The CampaignChain module generator will provide hints and tips throughout the module generation process, so don't worry if you don't have it all ready when you begin.
You can now start the module generator with the following command:
php bin/console campaignchain:generate:module
How can I help you explore Laravel packages today?