Skip to content

[READ-ONLY] Subtree split of the Kunstmaan GeneratorBundle -- master at Kunstmaan/KunstmaanBundlesCMS

License

Notifications You must be signed in to change notification settings

Kunstmaan/KunstmaanGeneratorBundle

Repository files navigation

KunstmaanGeneratorBundle

Build Status Total Downloads Latest Stable Version Analytics

If you're like us, you like to build applications without having to do the same things over and over again and dislike copy/pasting code and change a couple of words every time you need feature X. The KunstmaanGeneratorBundle gives you the possibility to generate code for new bundles, adminlists and can even make you a basic default website. That way you don't have to wait too long before you see some results and you have more time to do other things. Easy no?

Installation

This bundle is compatible with all Symfony 3.* releases. More information about installing can be found in this line by line walkthrough of installing Symfony and all our bundles, please refer to the Getting Started guide and enjoy the full blown experience.

Use

Generate a Bundle :

bin/console kuma:generate:bundle

Generate an Entity based on the KunstmaanAdminBundle's AbstractEntity

bin/console kuma:generate:entity

Generate a KunstmaanAdminList for an Entity :

bin/console kuma:generate:adminlist --entity=Bundle:Entity

Website

Generate a default website using the Kunstmaan bundles :

bin/console kuma:generate:default-site --namespace=Namespace\NamedBundle --prefix=tableprefix_

Search page

Generate a search page based on the KunstmaanNodeSearchBundle :

bin/console kuma:generate:searchpage --namespace=Namespace\NamedBundle --prefix=tableprefix_

Article : Overview and detail pages

Generate an overview page with article pages. The overview page contains a paginated list of its articles. The articles are managed by AdminLists.

bin/console kuma:generate:article --namespace=Namespace\NamedBundle --entity=Entity --prefix=tableprefix_

Page

Generate a new custom page :

bin/console kuma:generate:page --prefix=tableprefix_

PagePart

Generate a new page part page based on the KunstmaanPagePartBundle :

bin/console kuma:generate:pagepart --prefix=tableprefix_

More

You can find more detailed information about these commands here

Symfony 2.2

If you want to use this bundle for a Symfony 2.2 release, use the 2.2 branch.