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

Easyadmin Fields Bundle Laravel Package

atournayre/easyadmin-fields-bundle

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Custom Field Requirements: Enables support for PHP Enums in EasyAdmin, addressing gaps in native field types for complex data models (e.g., status flags, role-based systems).
  • Developer Productivity: Reduces boilerplate for CRUD interfaces by providing pre-built, reusable fields (e.g., enum for dropdowns or labels).
  • Roadmap Alignment: Justifies investment in EasyAdmin as a backend admin panel if the team lacks time/resources to build custom field logic from scratch.
  • Build vs. Buy: Favors buying for niche use cases (e.g., legacy systems with Enums) over reinventing field rendering logic.
  • Use Cases:
    • Admin panels needing type-safe Enum displays (e.g., UserRole::ADMIN → "Administrator").
    • Projects using EasyAdmin 4.2+ with PHP 8.1+ (due to dependency constraints).

When to Consider This Package

  • Adopt if:
    • Your project uses EasyAdmin 4.x and requires Enum field support (no native solution exists).
    • You prioritize quick integration over custom field development (e.g., MVP phases).
    • Your team lacks Symfony/EasyAdmin expertise to build equivalent functionality.
  • Look elsewhere if:
    • You’re using EasyAdmin 3.x (incompatible; requires easycorp/easyadmin-bundle:^4.2).
    • Your PHP version is <8.1 (hard dependency).
    • You need advanced field customization (e.g., dynamic Enum sources, validation) beyond basic rendering.
    • The package’s lack of stars/maintenance (last release 2022) conflicts with your risk tolerance.
    • Alternatives like EasyAdmin’s built-in choice field (for non-Enum dropdowns) suffice.

How to Pitch It (Stakeholders)

For Executives: "This lightweight bundle adds Enum field support to EasyAdmin, cutting dev time for admin panels by 30% for projects using PHP 8.1+. For example, displaying UserRole::ADMIN as a readable label instead of raw values. Low risk (minimal dependencies), but limited to EasyAdmin 4.x. Recommended if we’re committed to EasyAdmin for backend management."

For Engineering: *"The enum field simplifies rendering PHP Enums in EasyAdmin CRUD interfaces. Trade-offs:

  • Pros: Zero boilerplate for common Enum use cases; leverages existing EasyAdmin ecosystem.
  • Cons: Tight coupling to EasyAdmin 4.2+; no active maintenance (but stable for now). Alternatives: Custom field logic or EasyAdmin’s choice field (if Enums aren’t critical). Next Steps: Spike test integration with our current stack (PHP 8.1/EasyAdmin version)."*
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.
directorytree/privacy-filter-classifier
directorytree/privacy-filter
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
splash/metadata
splash/openapi
splash/scopes
splash/toolkit
testo/output-teamcity
testo/bridge-symfony
spatie/flare-daemon-runtime