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

Entity Data List Console Bundle Laravel Package

danilovl/entity-data-list-console-bundle

Symfony bundle adding a console command to list Doctrine ORM entity records in a formatted table. Configure which fields and associations to display, with automatic date formatting and pagination via --limit and --offset. Works by passing the entity class name.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Debugging & Developer Experience: Accelerates troubleshooting by providing a structured, CLI-based way to inspect Doctrine entities without writing custom queries or scripts. Reduces context-switching between IDEs, databases, and logs.
  • Data Migration & Validation: Enables quick validation of entity structures, relationships, and data integrity during schema changes or pre-migration checks.
  • Custom Reporting: Supports ad-hoc reporting needs (e.g., audits, analytics) by leveraging the extensible command system to generate tabular outputs for internal tools or dashboards.
  • Onboarding & Documentation: Serves as a self-documenting tool for developers to explore entity schemas and relationships, reducing reliance on external docs.
  • Build vs. Buy: Avoids reinventing a generic entity inspection tool, saving engineering time while maintaining flexibility for customization.
  • Roadmap Alignment: Fits into a broader strategy of improving developer productivity with CLI tools (e.g., pairing with existing Symfony commands like debug:entity).

When to Consider This Package

  • Avoid if:
    • Your team already has a mature internal tool (e.g., custom CLI scripts, admin panels) for entity inspection.
    • You need real-time data (this is a read-only CLI tool, not a live query builder).
    • Your entities are highly complex (e.g., deeply nested graphs with circular references), as the package lacks built-in recursion limits for associations.
    • You require export formats beyond tabular CLI output (e.g., CSV, JSON, Excel).
    • Your PHP/Symfony version is below 8.5/8.0 (hard dependency).
  • Consider alternatives if:
    • You need GUI-based inspection (e.g., Doctrine Extensions, AdminLTE, or Symfony Profiler).
    • You prioritize performance for large datasets (this fetches all fields by default; pagination helps but isn’t a substitute for optimized queries).
    • Your use case involves dynamic filtering (e.g., WHERE clauses), as this package focuses on raw entity rendering.

How to Pitch It (Stakeholders)

For Executives: "This package lets our backend team inspect database entities directly from the command line—like a ‘SELECT * FROM users’ but for Symfony objects, with built-in formatting and pagination. It’s a 10-minute setup that replaces manual SQL queries or digging through logs, saving hours during debugging or data validation. Think of it as a ‘Ctrl+F’ for your database, but for developers. Low risk (MIT license), zero maintenance, and it integrates seamlessly with our existing Symfony stack."

For Engineering: *"This gives us a standardized, reusable CLI tool to dump entity data in a readable table format. Key benefits:

  • No SQL writing: Inspect any Doctrine entity with php bin/console danilovl:entity-data-list:orm App\Entity\User.
  • Customizable: Extend the base command to filter fields, ignore associations, or format dates (e.g., for audits).
  • Translatable entities: Built-in support for Gedmo’s translatable fields via OrmTranslatableEntityDataListCommand.
  • Lightweight: Zero dependencies beyond Symfony/Doctrine; runs in milliseconds for small datasets. Use case: Debugging a production issue? Validate a migration? Generate a quick report? This cuts that time by 50%."*

For Developers: *"Swap this for your ad-hoc dd($entity) + var_dump() workflow. Features:

  • Tabular output: Clean columns for related entities (e.g., UserOrders).
  • Pagination: --limit=50 --offset=100 to avoid overwhelming output.
  • Extensible: Override getFields(), processRow(), or getAssociationsIgnore() for your entity.
  • Gedmo-friendly: Handle translations with --locale=ru or extend OrmTranslatableEntityDataListCommand. Example: php bin/console danilovl:entity-data-list:orm App\Entity\Product --associations-limit=2 → Instantly see products with their first 2 reviews."*
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.
emuniq/filament-browser-notifications
syriable/filament-translator
hungnm28/livewire-form
wenprise/eloquent
crudly/encrypted
fadion/bouncy
cuci/prototurk-sdk
gos/pubsub-router-bundle
cuci/prototurk-sdk-symfony
clementtalleu/easyadmin-markdown-bundle
codeflextech/permission-manager
karnoweb/livewire-datepicker
sayedenam/sayed-dashboard
milito/query-filter
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui