brookinsconsulting/bcknockoutjsbundle
Collective, Laravel Nova, or custom form builders) differs fundamentally from Symfony’s FormType system, making direct integration infeasible without significant abstraction layers.FormRequest, or API-driven forms) does not align with Symfony’s FormType system. Replicating the KnockoutType behavior would require:
Illuminate\Html\FormBuilder).asset() helper). Laravel’s mix or Vite would need adaptation to load knockout-3.4.1.js (an outdated version).jms_di_extra, requiring a rewrite of dependency injection logic.KnockoutType to understand dependency scope.knockout(form.vars.knockout) with Alpine’s x-data and x-model.knockout-3.4.1.js with a CDN-hosted modern version (e.g., via Vite) or drop it entirely.FormType extensions: Not directly usable in Laravel. Would need a custom FormRequest or API resource wrapper.jms_di_extra: Incompatible with Laravel’s container. Would require manual service binding.{{ knockout(form.vars.knockout)|raw }} syntax would need Blade equivalents (e.g., @knockout($form->vars->knockout)).data-bind="foreach: items" to x-data and x-for.@foreach with $items from Laravel backend.KnockoutFormBuilder class.FormRequest to handle Knockout-specific logic.prototype and allow_add/delete behavior in JavaScript.FormType system may not map cleanly to Laravel’s FormRequest or API resources.allow_add/delete logic could break if Laravel’s CSRF or validation layers interfere.ko variable collisions in SPAs.FormType system (if porting).How can I help you explore Laravel packages today?