antona/form-collection-bundle
Pros:
FormRequest, FormBuilder).@extends directives).OnlinqCollectionType extends Symfony’s CollectionType with drag-and-drop (allow_move), min/max constraints, and per-entry options—features Laravel lacks natively in ReusableFormComponent.Cons:
FormBuilder/FormType system may require abstraction layers (e.g., wrapper classes) for Laravel.FormRequest vs. Symfony’s FormInterface).ReusableFormComponent with a custom wrapper for OnlinqCollectionType (e.g., OnlinqCollectionFormBuilder).<script> tags, with Blade templates mirroring Twig themes.FormRequest for backend validation; Onlinq handles client-side UX (e.g., drag-and-drop).create(), submit()) differs from Symfony’s event-driven approach (e.g., PRE_SUBMIT).@csrf directives.old() input).errors->has()) render in Onlinq’s UI?OnlinqCollectionType be adapted to work with Laravel’s FormRequest or will a custom FormBuilder adapter be needed?User[0][Address][0]) map to Laravel’s Request object?npm install vs. CDN)?FormBuilder facade aliases).FormRequest for backend rules; Onlinq handles client-side UX (e.g., real-time validation).FormRequest lifecycle.@OnlinqFormCollection/... themes with Blade equivalents (e.g., @include('onlinq::collection_theme')).<script> tags (for simplicity, but harder to maintain).laravel-bootstrap-5) or custom SCSS.json fields can store dynamic collections (e.g., fruits: ["apple", "banana"]).HasMany/MorphMany for relational collections (e.g., User->surveys()).OnlinqCollectionFormBuilder wrapper to translate Laravel’s FormBuilder calls to Symfony’s OnlinqCollectionType.ReusableFormComponent) with Onlinq’s OnlinqCollectionType and test basic CRUD.FormRequest validation errors render correctly in Onlinq’s UI.@OnlinqFormCollection/collection_theme.html.twig → resources/views/vendor/onlinq/collection_theme.blade.php).User[0][Address][0][Phone]).AppServiceProvider (e.g., FormBuilder aliases).@onlinqForm directives for seamless syntax.PRE_SUBMIT events to Laravel’s FormRequest lifecycle.accessors/mutators to flatten nested collections (e.g., fruits array).JsonResource.ReusableFormComponent instances.How can I help you explore Laravel packages today?