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
Sf Continent Country Type

Sf Continent Country Type Laravel Package

powderblue/sf-continent-country-type

Adds continent and country form types to your PHP application, letting users pick from grouped, ready-made country lists with no external API calls. Ships sensible defaults, lightweight bundled data, and straightforward integration for forms, filters, and validation.

View on GitHub
Deep Wiki
Context7

powderblue/sf-continent-country-type provides reusable Symfony form types for selecting a continent and a country, along with the related data structures needed to populate them. It is designed to drop into existing form workflows, making it easy to add consistent, dependent continent/country selectors without duplicating choice-loading logic across projects.

  • Ready-made form types for continent and country selection
  • Supports dependent fields, where country choices follow the selected continent
  • Lightweight integration with standard Symfony form components
  • Encourages consistent, reusable form handling across applications
Frequently asked questions about Sf Continent Country Type
What does powderblue/sf-continent-country-type do?
It is a Symfony form type that renders a country selector grouped by continent, so users pick from a structured list instead of one flat dropdown. It bundles continent and country choice definitions plus reusable field defaults, so you do not repeat choice configuration in every form class. It is a small, focused helper rather than a full geography or localization library.
Does powderblue/sf-continent-country-type work with Laravel?
Not natively. It is built as a Symfony form type and depends on Symfony Form component contracts, which Laravel does not ship or autoload by default. You would have to pull in the Symfony Form component and wire the type into your own Blade or Livewire layer yourself. Treat Laravel support as unverified until you inspect the package's integration surface.
How do I install powderblue/sf-continent-country-type?
Install it with Composer using composer require powderblue/sf-continent-country-type, then register the form type in your Symfony form configuration. There is no vendor:publish step because the package targets Symfony rather than Laravel, so nothing is copied into your application. Pin an explicit version constraint instead of a caret range so a major release cannot land silently.
Which PHP and Laravel versions does v4 support?
The v4.0.0 release was published without release notes, so the supported PHP floor and framework range are not documented in the changelog. Read the composer.json on the v4 tag to see the actual php and symfony/form constraints before committing. Run composer why-not against the v4 constraint to find out whether your PHP version or other dependencies block adoption.
What breaking changes are in v4.0.0?
Unknown from the release notes, because v4.0.0 shipped with an empty changelog. A major bump is a semver signal that the public surface changed, but the blast radius has to be discovered empirically. Diff composer.json and the form type classes between the v3 and v4 tags to infer what moved before you upgrade.
Does the package publish migrations or config files?
There is no indication it ships database migrations, since it is a form type rather than a persistence package. Any configuration it exposes would be Symfony service or form config, which does not touch your Laravel schema. Still confirm by inspecting the package's service provider or extension class on the exact tag you plan to use.
Should I pin the package version in composer.json?
Yes. Given the undocumented v4 major, pin the current major explicitly rather than relying on a caret or tilde range, which can pull v4 on the next composer update. Pin first, upgrade deliberately on a branch, and only widen the constraint after your test suite passes. Removing the pin should be the last step, not the first.
How do I test an upgrade from v3 to v4 safely?
Create a branch, bump the constraint, and run your full test suite plus any form rendering tests that assert on the country list output. Stage it in a non-production environment long enough to exercise background jobs and scheduled tasks, not just request paths, then canary a fraction of production traffic. Only remove the version pin after that sequence completes cleanly.
Is there a Laravel alternative for country and continent selectors?
For Laravel, consider a config-driven list backed by the ISO 3166 dataset, or a data-only package such as monarobase/country-list, which avoids pulling the Symfony Form component into your app. If you already run Symfony forms inside Laravel for legacy reasons, this package may still fit. Otherwise the integration cost usually outweighs the benefit of a single dropdown helper.
How actively is powderblue/sf-continent-country-type maintained?
An undocumented major release is a maintenance signal in itself: it suggests either a very small maintainer group or a changelog practice that has lapsed. Check commit history, open-issue latency, and the number of active maintainers before you depend on it. Budget for reading source diffs on each release instead of release notes, and confirm whether v3 still receives security patches.
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.
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
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect