nswdpc / silverstripe-filetype-management
Allow management of configured allowed file types in the administration area and on a per-upload field basis.
Installs: 13
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:silverstripe-vendormodule
Requires
Requires (Dev)
- cambis/silverstripe-rector: <1
- friendsofphp/php-cs-fixer: ^3
- nswdpc/ci-files: ^1
- phpunit/phpunit: ^9.5
- syntro/silverstripe-phpstan: ^5
Suggests
- silverstripe/userforms: For EditableFileField support
Replaces
- nswdpc/silverstripe-editablefilefield-filetypes: v1.0.1
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.