dualhand / dumper-bundle
A dumper bundle
Installs: 419
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Type:symfony-bundle
Requires
- php: >=5.3.9
- sonata-project/admin-bundle: ^3|^2
- symfony/symfony: 2.8.*
This package is not auto-updated.
Last update: 2025-02-01 21:30:55 UTC
README
Purpose of this bundle:
This bundle prints the object's properties that are active in their sonata admin class.
EXAMPLE:
- you have a class that extends another and for the current project you don't use all parent properties.
dumper-bundle prints only the fields on the associated sonata admin
- print a dump. try to find all translatable properties. is not easy, uh?
dumper-bundle prints all translatable properties of the object
- if you're a frontend developer or you just want to have all the properties of an object printed in twig.. this is your bundle!
IMPORTANT! -> This bundle requires symfony2 and sonata2
INSTALL:
composer require dualhand/dumper-bundle
USAGE:
just put this in your twig template
{{ prop(object) }}
if you want to report a bug, please do it in github or mail me david@dualhand.com
twitter: @fodaveg