Skip to content
This repository was archived by the owner on Jan 21, 2020. It is now read-only.

Expressive zend-view integration 1.2.0

Compare
Choose a tag to compare
@weierophinney weierophinney released this 11 Jan 21:43
· 214 commits to master since this release

Added

  • #30 adds support for zend-expressive-router 2.0.

  • #30 adds support for zend-expressive-helpers 2.2 and 3.0.

  • #30 adds new arguments to the url() helper:

    echo $this->url(
        $routeName,   // (optional) string route for which to generate URI; uses matched when absent
        $routeParams, // (optional) array route parameter substitutions; uses matched when absent
        $queryParams, // (optional) array query string arguments to include
        $fragment,    // (optional) string URI fragment to include
        $options,     // (optional) array of router options. The key `router` can
                      //     contain options to pass to the router; the key
                      //     `reuse_result_params` can be used to disable re-use of
                      //     matched routing parameters.
    );

    If using zend-expressive-router versions prior to 2.0 and/or zend-expressive-helpers versions prior to 3.0, arguments after $routeParams will be ignored.

Changed

  • #26 updated the zend-view dependency to 2.8.1+.

Deprecated

  • Nothing.

Removed

  • #26 removes the dependencies for the zend-i18n and zend-filter packages, as they are no longer required by the minimum version of zend-view supported.

    If you depended on features of these, you may need to re-add them to your application:

    $ composer require zendframework/zend-filter zendframework/zend-i18n
  • This release removes support for PHP 5.5.

Fixed

  • Nothing.