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.
comsave/common
alecsammon/php-raml-parser
chrome-php/wrench
lendable/composer-license-checker
typhoon/reflection
mesilov/moneyphp-percentage
mike42/gfx-php
bookdown/themes
aura/view
aura/html
aura/cli
povils/phpmnd
nayjest/manipulator
omnipay/tests
psr-mock/http-message-implementation
psr-mock/http-factory-implementation
psr-mock/http-client-implementation
voku/email-check
voku/urlify
rtheunissen/guzzle-log-middleware