zendframework/zend-filter
Filtering and normalization utilities for PHP from Zend Framework. Provides a range of filters to sanitize, convert, and transform input (strings, numbers, arrays, etc.), with extensible interfaces for custom filters—useful for validation pipelines and data processing.
Zend\Filter\File\RenameUpload via the traditional SAPI.#70 Adds compatibility with the PSR-7 UploadedFileInterface to the
RenameUpload filter. The functionality requires PHP 7 and a
psr/http-factory-implementation in your application. When present,
RenameUpload will accept a PSR-7 UploadedFileInterface, and return a new
one representing the renamed file.
#71 adds the ToFloat filter, to complement the ToInt filter.
#69 adds Zend\Filter\StringSufix; when provided with a string suffix
option, it will suffix scalar values with that string.
#69 adds Zend\Filter\StringPrefix; when provided with a string prefix
option, it will prefix scalar values with that string.
FilterManager. Now it regisers Zend\Filter\FilterPluginManager as a
factory service, and FilterManager as an alias to that service.#26 adds the interface
Zend\Filter\FilterProviderInterface, which can be used to provide
configuration for the FilterPluginManager via zend-mvc Module classes.
#61 adds support for PHP 7.2.
#61 removes support for PHP 5.5.
#61 removes support for HHVM.
#61 removes support for zend-crypt versions prior to 3.0. This was done as PHP deprecated the mcrypt extension starting in PHP 7.1, and does not ship it by default starting in PHP 7.2. zend-crypt 3.0 adds an OpenSSL adapter for its BlockCipher capabilities, and acts as a polyfill for mcrypt usage. Since this functionality has been used by default since 2.7.2, users should be able to upgrade seamlessly.
Callback filter's setCallback() method to allow passing a string name of a
class that is instantiable without constructor arguments, and which defines
__invoke().File\Rename filter when the target already exists to
indicate the target filename path.FilterPluginManagerFactory factory initializes the plugin manager instance,
ensuring it is injecting the relevant configuration from the config service
and thus seeding it with configured translator loader services. This means
that the filters configuration will now be honored in non-zend-mvc contexts.Boolean and ToNull filters to use boolean rather than arithmetic
operations, ensuring that if the same type is specified multiple times via the
options, it will be aggregated correctly internally, and thus ensure correct
operation of the filter.Word\SeparatorToSeparatorFactory.Module::init() method to properly receive a ModuleManager instance, and
not expect a ModuleEvent.FilterPluginManagerFactory, which can be consumed by container-interop /
zend-servicemanager to create and return a FilterPluginManager instance.ConfigProvider, which maps the service FilterManager to the above
factory.Module, which does the same as ConfigProvider, but specifically for
zend-mvc applications. It also provices a specification to
Zend\ModuleManager\Listener\ServiceListener to allow modules to provide
filter configuration.FilterPluginManager to reference the NumberFormat filter, instead of
the view helper.UpperCaseWords filter to the default list of filters known to the
FilterPluginManager.How can I help you explore Laravel packages today?