nswdpc / silverstripe-filetype-management
Allow management of configured allowed file types in the administration area and on a per-upload field basis.
Installs: 199
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 1
Type:silverstripe-vendormodule
Requires
- silverstripe/siteconfig: ^6
- symbiote/silverstripe-multivaluefield: ^7 || dev-7
Requires (Dev)
- cambis/silverstan: ^2
- cambis/silverstripe-rector: ^2
- friendsofphp/php-cs-fixer: ^3
- nswdpc/ci-files: dev-v-4
- phpstan/phpstan: ^2
- phpstan/phpstan-phpunit: ^2
- phpunit/phpunit: ^11.5
- rector/rector: ^2
- vlucas/phpdotenv: ^5
Suggests
- silverstripe/userforms: For EditableFileField support
Replaces
- nswdpc/silverstripe-editablefilefield-filetypes: v2.0.0-rc2
This package is auto-updated.
Last update: 2025-07-17 05:37:09 UTC
README
This module uses the values of File.allowed_extensions to provide an interface for the configuration of allowed file types both in site settings and on a per-field/model basis, the main use-case being the editable file upload field in silverstripe/userforms.
Usage
See Documentation
Installation
composer require nswdpc/silverstripe-filetype-management
License
Configuration
See Configuration for advanced configuration.
Maintainers
- PD web team
Bugtracker
We welcome bug reports, pull requests and feature requests on the Github Issue tracker for this project.
Please review the code of conduct prior to opening a new issue.
Security
If you have found a security issue with this module, please email digital[@]dpc.nsw.gov.au in the first instance, detailing your findings.
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.
Please review the code of conduct prior to completing a pull request.