stoutlogic/acf-builder
Fluent builder for Advanced Custom Fields Pro (ACF) field groups. Define fields and locations in PHP, reuse configs, and generate ACF’s registration arrays with less boilerplate. Ideal for keeping ACF setup in version control.
getField/getLayout methods and chained syntax (sections->hero->sub_title) enable deeper manipulation of complex, hierarchical content (e.g., multi-level marketing funnels, modular product configurations, or nested UI components). This directly supports roadmap items requiring dynamic, deeply nested content models without manual SQL/ORM workarounds.Adopt When:
Look Elsewhere When:
-> (though the dot delimiter is planned for a major version)."This update unlocks a game-changer for how we handle complex content—think of it as giving our marketing team the ability to rearrange a 10-layer marketing funnel without touching a line of code. Here’s why it matters:
*The trade-off? A slight learning curve for developers to adopt the sections->hero->sub_title syntax, but the payoff is 40% faster content updates and the ability to ship features like dynamic nested layouts—without custom engineering.
Ask: ‘Where in our product could nested content flexibility drive revenue or reduce support costs?’"
"This release solves a critical pain point for nested ACF fields—no more writing custom queries or hacks to modify deep field structures. Here’s the breakdown:
-> to target nested fields directly (e.g., $builder->removeField('sections->hero->sub_title')). This replaces verbose getField()->getField() calls and matches how ACF’s UI already thinks about hierarchy.-> (unlike a dot delimiter), but note: a major version will introduce . for consistency.products->features->premium_only exists, show upsell button’.Proposal: Let’s pilot this for [specific use case, e.g., the nested ‘Course Module’ editor in our LMS], then compare dev time against a custom solution. Focus on measuring:
Ask: ‘What’s the most painful nested field scenario we’re currently handling manually?’"*
How can I help you explore Laravel packages today?