pageon / fork-cms-module-generator

WIP: Generator for domain and modules for fork-cms

Home Page:https://pageon.github.io/fork-cms-module-generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fork-cms module generator

Build Status

Installation

Use composer to install the package to your dev dependencies.

composer require --dev pageon/fork-cms-module-generator

Register the following bundles in your Fork app/AppKernel.php, but only load them in dev or test mode.

class AppKernel extends Kernel
{
    /**
     * Load all the bundles we'll be using in our application.
     */
    public function registerBundles(): array
    {
        ...

        if (in_array($this->getEnvironment(), ['dev', 'test'])) {
            ...

            $bundles[] = new \Matthias\SymfonyConsoleForm\Bundle\SymfonyConsoleFormBundle();
            $bundles[] = new \ModuleGenerator\ModuleGeneratorBundle();
        }

        return $bundles;
    }

    ...
}

Tests

You can run the tests with composer test

About

WIP: Generator for domain and modules for fork-cms

https://pageon.github.io/fork-cms-module-generator

License:MIT License


Languages

Language:PHP 74.1%Language:HTML 18.0%Language:Gherkin 8.0%