Developed with love by KnpLabs Hire us for your project!
40

KunstmaanGeneratorBundle

by Kunstmaan

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

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.

The MIT License

Copyright (c) 2012 Kunstmaan (http://www.kunstmaan.be)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
  • Merge pull request #2662 from acrobat/replace-doctrine-entity-alias
    By web-flow, 6 months ago
  • Merge pull request #2660 from acrobat/setup-phpstan
    By web-flow, 6 months ago
  • Merge branch '5.5'
    By acrobat, 6 months ago
  • Merge branch '5.4' into 5.5
    By acrobat, 6 months ago
  • [GeneratorBundle] Use https by default to avoid any mixed content errors
    By acrobat, 7 months ago
  • [AllBundles] Fix phpstan level 1 issues
    By acrobat, 7 months ago
  • Merge branch '5.5'
    By acrobat, 8 months ago
  • Merge branch '5.4' into 5.5
    By acrobat, 8 months ago
  • Merge branch '5.3' into 5.4
    By acrobat, 8 months ago
  • [AllBundles] Replace deprecated string entity alias to fqcn
    By acrobat, 9 months ago
  • [GeneratorBundle] Fix doctrine fixtures error during install command
    By acrobat, 9 months ago
  • Merge branch '5.5'
    By acrobat, 9 months ago
  • [GeneratorBundle] getParameter should be called on the controller class
    By acrobat, 9 months ago
  • Update composer branch aliases
    By acrobat, 9 months ago
  • Merge pull request #2646 from acrobat/generator-bundle-default-controller-improvement
    By web-flow, 9 months ago
  • [AllBundles] Adding .gitattributes to remove Tests directory from "dist" packages
    By acrobat, 9 months ago
  • [GeneratorBundle] Replace deprecated Controller base class in DefaultController
    By acrobat, 9 months ago
  • Merge branch '5.3' into 5.4
    By acrobat, 10 months ago
  • [GeneratorBundle] Fix incorrect return types in generated classes
    By acrobat, 10 months ago
  • [AllBundles] Remove old website url and name usages
    By acrobat, 10 months ago
  • [AllBundles] Fixed remaining template path using the old notation
    By acrobat, 11 months ago
  • Merge pull request #2549 from acrobat/improve-code-style-generated-classes
    By web-flow, 1 year ago
  • Merge pull request #2600 from acrobat/commands-exit-code-return
    By web-flow, 1 year ago
  • Merge pull request #2550 from acrobat/replace-deprecated-spaceless-tag
    By web-flow, 1 year ago
  • Merge pull request #2448 from acrobat/remove-deprecated-route-method-usages
    By web-flow, 1 year ago
  • [AllBundles] Replaced deprecated spaceless tag
    By acrobat, 1 year ago
  • [GeneratorBundle] Improve code style and code quality of generated classes
    By acrobat, 1 year ago
  • Merge branch '5.3'
    By acrobat, 1 year ago
  • [AllBundles] Apply styleci fixes
    By acrobat, 1 year ago
  • [AllBundles] Commands should return an integer exitcode
    By acrobat, 1 year ago