Weave 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
Form Extra Bundle

Form Extra Bundle Laravel Package

napas/form-extra-bundle

A Symfony bundle that extends Symfony Forms with additional form types, helpers, and practical utilities, making it easier to build richer, reusable forms with less boilerplate and integrate smoothly into existing Symfony applications.

View on GitHub
Deep Wiki
Context7

At a glance

Frequently asked questions about Form Extra Bundle
Can I use napas/form-extra-bundle in a Laravel application?
No, not natively. It is a Symfony bundle built on Symfony's DependencyInjection, HttpKernel, and Form components, while Laravel uses service providers, facades, Blade, and its own validation layer. The bundle registration mechanism does not exist in Laravel, so you would need to strip the Symfony bundle glue and port the underlying form logic. That is a rewrite task, not a normal Composer install.
What does napas/form-extra-bundle actually provide?
It extends Symfony's Form component with additional form types for richer input patterns, reusable form extensions and data transformers, and Twig helpers and themes for consistent rendering. It also provides sensible defaults that can be overridden through bundle configuration. In practice, it is a Symfony 2-era utility bundle for reducing form boilerplate.
How do I install napas/form-extra-bundle?
Historically you installed it with Composer and registered Napas\FormExtraBundle\NapasFormExtraBundle in the Symfony app kernel or bundles.php. The last release was June 2014, so a modern Composer install will likely fail dependency resolution against current PHP and Symfony versions. If you are evaluating it, use a disposable environment and expect to patch or fork rather than install cleanly.
Is napas/form-extra-bundle compatible with Laravel 10 or 11 and PHP 8?
Almost certainly not. The bundle targets Symfony 2.x-era APIs and PHP around 5.4 or 5.5, and it has had no release since June 2014. PHP 8 and modern Laravel will likely trigger Composer constraint conflicts or runtime errors from removed Symfony APIs. There is no Laravel integration layer or support path in the package.
What Laravel alternatives should I use instead?
For Laravel, use native validation rules, form requests, Blade components, and Livewire or Inertia for richer form interactions. If you specifically need Symfony Form behavior, you can consume symfony/form as a standalone library, but then the bundle wrapper contributes little. Rebuild only the specific form types or transformers you actually need.
How do I register napas/form-extra-bundle in Symfony?
In older Symfony versions, register Napas\FormExtraBundle\NapasFormExtraBundle in AppKernel.php; in Symfony 3 or 4+ style apps, add it to config/bundles.php. You would also configure any bundle defaults under the appropriate configuration key. Because the package is from the Symfony 2 era, the exact registration pattern may not match current Symfony skeletons.
Is napas/form-extra-bundle maintained and safe for production?
It shows no meaningful maintenance activity: zero stars, zero dependents, no release in over a decade, and no visible security response process. That makes it an unmaintained third-party dependency with supply-chain and upgrade-lock risk. For production, treat it as unaudited code that you would own patching and security review for indefinitely.
Can I use symfony/form standalone in Laravel without the bundle?
Yes, symfony/form can be installed as a standalone library without the bundle wrapper, but you lose Symfony's bundle wiring, Twig form themes, and framework integration. In Laravel you would have to bridge form rendering and validation into Blade and Laravel's request lifecycle yourself. For most Laravel apps, native validation and Blade components are simpler and better supported.
How would I port napas/form-extra-bundle features to Laravel?
Start with a timeboxed source review to identify which custom form types, data transformers, and helpers are actually needed. Then rebuild that behavior as Laravel validation rules, form requests, Blade components, and optionally Livewire components, with tests around the behavior you depend on. Budget this as a build task, not a migration, and do not let it block roadmap delivery.
What are the risks of forking napas/form-extra-bundle?
A fork means you own PHP and Symfony compatibility, security review, documentation, and future upgrades with no upstream fixes. You also need to confirm the license and audit the source before relying on it. If the functional value is small, the total cost of ownership usually outweighs the benefit; evaluate whether a Laravel-native rebuild is cheaper.
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.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource