This repository was archived by the owner on Jan 31, 2020. It is now read-only.
This repository was archived by the owner on Jan 31, 2020. It is now read-only.
[Suggestion] Code split for Array Utility #69
Open
Description
Looking at some dependency graph for zend components, one way of requiring zend-stdlib is to use the array functions.
Some of these libraries are:
- Zend\Config
- Zend\Router
- Zend\View
- Zend\ConfigAggregator - (copy-pasted code because it ONLY needs the array utility)
Separating this may have a relevant value to packages that utilizes array functions such as the framework itself since the default configuration is in array.
Ported repository: https://github.com/php-refactoring/zend-array-utility
- Supports PHP 5.6
- Added QA checks like Zend coding standard and license header validation
Pros:
- Be able to upgrade the array utility classes, such as array sort, merge, find, etc.
- Will be able to stress test and benchmark all scenarios.
- We can have separate documentation on how to use this library.
- Zend Components and other packages that requires zend-stblib but not using the Array* classes will not be (that much) affected.
Cons:
- Zend components and other packages that requires zend-stblib and uses the Array* classes will be affected. Thus, it will require zendframework/zend-array-utility as dependecy for zend-stdlib to be BC compatible.
To do:
- Include the array utility package as zendframework/zend-array-utility as dependecy for zend-stdlib
- Integration testing for components requiring zend-stdlib and uses the Array* classes
- Dedicated documentation for array utilities
Metadata
Metadata
Assignees
Labels
No labels