dynamic/silverstripe-country-dropdown-field

A simple country dropdown field for SilverStripe forms

Fund package maintenance!
dynamic

Installs: 78 100

Dependents: 9

Suggesters: 0

Security: 0

Stars: 1

Watchers: 5

Forks: 7

Open Issues: 1

Type:silverstripe-vendormodule

pkg:composer/dynamic/silverstripe-country-dropdown-field

3.0.0 2025-11-18 19:27 UTC

README

A simple country dropdown field for SilverStripe forms.

CI GitHub Sponsors

Latest Stable Version Total Downloads License

Requirements

  • PHP: ^8.1
  • SilverStripe: ^6

Installation

composer require dynamic/silverstripe-country-dropdown-field

Features

  • Country Dropdown: Pre-configured dropdown field with all countries
  • Intl Integration: Uses SilverStripe's IntlLocales for standardized country data
  • Customizable Source: Optional custom country list support
  • Form Field Extension: Extends SilverStripe's DropdownField for seamless integration

Upgrading from version 2

Country Dropdown Field 3.0 is compatible with SilverStripe 6. Key changes:

  • Updated to SilverStripe CMS 6
  • Requires PHP 8.1 or higher
  • No breaking changes to API or functionality

See the SilverStripe 6 Upgrade Guide for more details.

Maintainers

Bugtracker

Bugs are tracked in the issues section of this repository. Before submitting an issue please read over existing issues to ensure yours is unique.

If the issue does look like a new bug:

  • Create a new issue
  • Describe the steps required to reproduce your issue, and the expected outcome. Unit tests, screenshots and screencasts can help here.
  • Describe your environment as detailed as possible: SilverStripe version, Browser, PHP version, Operating System, any installed SilverStripe modules.

Please report security issues to the module maintainers directly. Please don't file security issues in the bugtracker.

Development and contribution

If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.