Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Generator Bundle Laravel Package

cpana/generator-bundle

View on GitHub
Deep Wiki
Context7

CPANAGeneratorBundle

This bundle is an extension of PUGXGeneratorBundle which is a project improving SensioGeneratorBundle.

CPANAGeneratorBundle adds to the Show view of an entity the associated objects from Bidirectional relations.
Example: there are 2 entities: Author and Book found in One-to-Many BIDIRECTIONAL relation. In 'Author' entity there is a property called 'books' of type ArrayCollection. In the author/show view after the fields related to Author there will be listed the Books associated. Also CPANAGeneratorBundle is adding buttons for Add book, view and edit.

Author

Last name: Herbert
First name: Frank
Nationality: American
Id: 1

Books
Add book

Title: Dune Chronicles
Genre : Science Fiction
Id:1
view edit

Title: Dune Mesiah
Genre: Science Fiction
Id: 2
view edit


Documentation

Read the documentation


PUGXGeneratorBundle adds many functionalities on top of SensioGeneratorBundle:

  • main block name customizable in layout
  • forms in correct namespace (under Type, not under Form)
  • @ParamConverter in actions
  • different format for dates/times/datetimes
  • include relation fields in show and index templates
  • shorter form names
  • real entity names instead of "$entity" in actions and templates
  • translated texts
  • support for form themes (customizable)
  • default templates suitable with Boostrap and Font Awesome
  • nice "check" icons for boolean fields (when using Font Awesome)
  • support for pagination (requires KnpPaginatorBundle)
  • support for filters (requires LexikFormFilterBundle)
  • support for sorting
  • optional target bundle
  • better generated tests
  • fixtures generation

See also

For screenshots examples, see PUGXGeneratorBundleSandbox.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
bugban/symfony
beyonder-capi/workflow-extensions-bundle
beyonder-capi/job-queue-bundle
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin