laminas-zendframework-bridge

Alias legacy ZF class names to Laminas Project equivalents.

BSD-3-CLAUSE License

Downloads
90.6M
Stars
1.2K
Committers
15

Bot releases are hidden (Show)

laminas-zendframework-bridge - laminas-zendframework-bridge 1.0.4

Published by weierophinney over 4 years ago

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #66 ensures that references to BjyAuthorize templates are not rewritten, so that they can be resolved during runtime.
laminas-zendframework-bridge - laminas-zendframework-bridge 1.0.3

Published by weierophinney over 4 years ago

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #63 fixes handling of dependency configuration to ensure each of delegators, initializers, and abstract factories are properly handled during configuraiton post processing. The new approach should allow delegators to work post-migration to Laminas or Mezzio.

  • #61 ensures configuration for delegator factories gets rewritten; the functionality broke in version 1.0.1.

laminas-zendframework-bridge - laminas-zendframework-bridge 1.0.2

Published by weierophinney over 4 years ago

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #55 adds provisions to ensure that references to legacy classes/interfaces in dependency configuration always create aliases from the legacy to the new classes. Previously, we did straight replacements in the configuration, which could lead to the legacy service no longer being available. Now it will remain available.

  • #59 fixes the replacement rules such as to avoid replacing references to API Skeletons packages, classes, or configuration keys.

  • #57 fixes how references to the "zf-apigility" key are replaced. Previously, they were rewritten to "laminas-api-tools", but the correct replacement is "api-tools".

  • #56 provides a mechanism to add additional maps with multiple levels of namespace separator escaping, in order to ensure that all various known permutations are matched. The escaping is applied to both the original and target, to ensure that rewrites conform to the original escaping.

  • #56 makes changes to the replacement rules to ensure we do not replace references to "Zend" or "ZF" if they occur as subnamespaces OR as class names (formerly, we only enforced subnamespaces). Additional rules were provided for cases where one or both occur within our own packages.

  • #52 fixes a scenario whereby factory values were not being rewritten during configuration post processing.

  • #52 fixes an issue that occurs with the configuration post processor. Previously, when a service name used as a factory or invokable was encountered that referenced a legacy class, it would get rewritten. This would cause issues if the service was not exposed in the original legacy package, however, as there would now be no alias of the legacy service to the new one. This patch modifies the configuration post processor such that it now tests to see if a service name it will rename exists as an alias; if not, it also creates the alias.

laminas-zendframework-bridge - laminas-zendframework-bridge 1.0.1

Published by weierophinney almost 5 years ago

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #47 adds entries for rewriting the various ::*Zend() methods exposed in the psr7bridge to ::*Laminas() during migrations.

  • #46 adds a rule to rewrite the config key use_zend_loader to use_laminas_loader.

  • #45 adds a rule to exclude rewriting of view paths provided by the various Doctrine modules targeting the developer tools.

laminas-zendframework-bridge - laminas-zendframework-bridge 1.0.0

Published by weierophinney almost 5 years ago

Added

  • First stable release.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.
laminas-zendframework-bridge - laminas-zendframework-bridge 0.4.5

Published by weierophinney almost 5 years ago

Added

  • Nothing.

Changed

  • #42 modifies the replacement rules to no longer rewrite zf-deploy; the package will not be coming to the new organizations.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.
laminas-zendframework-bridge - laminas-zendframework-bridge 0.4.4

Published by weierophinney almost 5 years ago

Added

  • Nothing.

Changed

  • #40 adds exclusion rules for subnamespaces that reference Zend, ZF, ZendService, or ZendOAuth to ensure they are not rewritten.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #40 adds exclusions for classes referencing Zend Server product features to ensure they are not rewritten (e.g., ZendServerDisk, ZendServerShm, ZendMonitor).
laminas-zendframework-bridge - laminas-zendframework-bridge 0.4.3

Published by weierophinney almost 5 years ago

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #39 fixes an issue when using the Auryn DI container. The class Northwoods\Container\Zend\Config was incorrectly being renamed to Northwoods\Container\Laminas\Config (which should not happen, as it is not a class under our control).
laminas-zendframework-bridge - laminas-zendframework-bridge 0.4.2

Published by weierophinney almost 5 years ago

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #36 adds some cases for classes that contain the verbiage "Expressive" and "Apigility" ot ensure they are rewritten correctly.
laminas-zendframework-bridge - laminas-zendframework-bridge 0.4.1

Published by weierophinney almost 5 years ago

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #35 removes zend-debug from the replacement list, as it is not being brought over to Laminas.
laminas-zendframework-bridge - laminas-zendframework-bridge 0.4.0

Published by weierophinney almost 5 years ago

Added

  • Nothing.

Changed

  • #32 changes all references to Expressive to instead reference Mezzio.

  • #32 changes all references to Apigility to instead reference Laminas API Tools. The vendor becomes laminas-api-tools, the URL becomes api-tools.getlaminas.org, packages and repos are prefixed with api-tools, and namespaces become Laminas\ApiTools.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.
laminas-zendframework-bridge - laminas-zendframework-bridge 0.3.8

Published by weierophinney almost 5 years ago

Added

  • #29 adds entries to translate ZendDeveloperTools to Laminas\DeveloperTools, and vice-versa.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.
laminas-zendframework-bridge - laminas-zendframework-bridge 0.3.7

Published by weierophinney almost 5 years ago

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #28 updates the zenddevelopertools string to rewrite to laminas-developer-tools instead of laminasdevelopertools.
laminas-zendframework-bridge - laminas-zendframework-bridge 0.3.6

Published by weierophinney almost 5 years ago

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #27 adds a rewrite rule for zend-framework.flf => laminas-project.flf.
laminas-zendframework-bridge - laminas-zendframework-bridge 0.3.5

Published by weierophinney almost 5 years ago

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #25 adds entries for ZendHttp and ZendModule, which are file name segments in files from the zend-feed and zend-config-aggregator-module packages, respectively.
laminas-zendframework-bridge - laminas-zendframework-bridge 0.3.4

Published by weierophinney almost 5 years ago

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #24 adds a rule to never rewrite the string Doctrine\Zend.

  • #23 adds a missing map for each of ZendAcl and ZendRbac, which occur in the zend-expressive-authorization-acl and zend-expressive-authorization-rbac packages, respectively.

laminas-zendframework-bridge - laminas-zendframework-bridge 0.3.3

Published by weierophinney almost 5 years ago

Added

  • #22 adds configuration post-processing features, exposed both as a laminas-config-aggregator post processor (for use with Expressive applications) and as a laminas-modulemanager EVENT_MERGE_CONFIG listener (for use with MVC applications). When registered, it will post-process the configuration, replacing known Zend Framework-specific strings with their Laminas replacements. A ruleset is provided that ensures dependency configuration is rewritten in a safe manner, routing configuration is skipped, and certain top-level configuration keys are matched exactly (instead of potentially as substrings or word stems). A later release of laminas-migration will auto-register these tools in applications when possible.

Changed

  • #22 removes support for PHP versions prior to PHP 5.6. We have decided to only support supported PHP versions, whether that support is via php.net or commercial. The lowest supported PHP version we have found is 5.6. Users wishing to migrate to Laminas must at least update to PHP 5.6 before doing so.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.
laminas-zendframework-bridge - laminas-zendframework-bridge 0.3.2

Published by weierophinney almost 5 years ago

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • #21 removes rewriting of the Amazon library, as it is not moving to Laminas.

  • #21 removes rewriting of the GCM and APNS libraries, as they are not moving to Laminas.

Fixed

  • #21 fixes how the recaptcha and twitter library package and namespaces are rewritten.
laminas-zendframework-bridge - laminas-zendframework-bridge 0.3.1

Published by weierophinney over 5 years ago

Added

  • #20 provides an additional autoloader that is prepended to the autoloader
    stack. This new autoloader will create class aliases for interfaces, classes,
    and traits referenced in type hints and class declarations, ensuring PHP is
    able to resolve them correctly during class_alias operations.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.
laminas-zendframework-bridge - laminas-zendframework-bridge 0.3.0

Published by weierophinney over 5 years ago

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • #16 removes the RewriteRules::classRewrite() method, as it is no longer
    needed due to internal refactoring.

Fixed

  • #16 fixes how the rewrite rules detect the word Zend in subnamespaces and
    class names to be both more robust and simpler.
Package Rankings
Top 0.54% on Packagist.org
Badges
Extracted from project README
Build Status
Related Projects