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

Remove plugins that are in standalone packages #108

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"container-interop/container-interop": "^1.1"
},
"require-dev": {
"zendframework/zend-authentication": "^2.5.3",
"zendframework/zend-cache": "^2.6.1",
"zendframework/zend-di": "^2.6",
"zendframework/zend-filter": "^2.6.1",
Expand All @@ -34,7 +33,6 @@
"zendframework/zend-json": "^2.6.1",
"zendframework/zend-log": "^2.7.1",
"zendframework/zend-modulemanager": "^2.7.1",
"zendframework/zend-session": "^2.6.2",
"zendframework/zend-serializer": "^2.6.1",
"zendframework/zend-text": "^2.6",
"zendframework/zend-validator": "^2.6",
Expand All @@ -56,6 +54,10 @@
"zendframework/zend-log": "Zend\\Log component",
"zendframework/zend-modulemanager": "Zend\\ModuleManager component",
"zendframework/zend-mvc-console": "zend-mvc-console provides the ability to expose zend-mvc as a console application",
"zendframework/zend-mvc-plugin-fileprg": "To provide Post/Redirect/Get functionality around forms that container file uploads",
"zendframework/zend-mvc-plugin-flashmessenger": "To provide flash messaging capabilities between requests",
"zendframework/zend-mvc-plugin-identity": "To access the authenticated identity (per zend-authentication) in controllers",
"zendframework/zend-mvc-plugin-prg": "To provide Post/Redirect/Get functionality within controllers",
"zendframework/zend-serializer": "Zend\\Serializer component",
"zendframework/zend-session": "Zend\\Session component for FlashMessenger, PRG, and FPRG plugins",
"zendframework/zend-text": "Zend\\Text component",
Expand Down
78 changes: 39 additions & 39 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

45 changes: 45 additions & 0 deletions doc/book/migration/to-v3-0.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,51 @@ the [component installer as detailed above](#dependency-reduction) before
installing the plugins, to automate injection into your application
configuration.

### fileprg()

The `fileprg()` plugin is now provided via the
[zend-mvc-plugin-fileprg](https://github.com/zendframework/zend-mvc-plugin-fileprg)
component.

```bash
$ composer require zendframework/zend-mvc-plugin-fileprg
```

`Zend\Mvc\Controller\Plugin\FilePostRedirectGet` becomes
`Zend\Mvc\Plugin\FilePrg\FilePostRedirectGet`. However, it is still mapped as
`fileprg()`.

### flashMessenger()

The `flashMessenger()` plugin is now provided via the
[zend-mvc-plugin-flashmessenger](https://github.com/zendframework/zend-mvc-plugin-flashmessenger)
component.

```bash
$ composer require zendframework/zend-mvc-plugin-flashmessenger
```

`Zend\Mvc\Controller\Plugin\FlashMessenger` becomes
`Zend\Mvc\Plugin\FlashMessenger\FlashMessenger`. However, it is still mapped as
`flashMessenger()` and `flashmessenger()`.

### identity()

The `identity()` plugin is now provided via the
[zend-mvc-plugin-identity](https://github.com/zendframework/zend-mvc-plugin-identity)
component.

```bash
$ composer require zendframework/zend-mvc-plugin-identity
```

`Zend\Mvc\Controller\Plugin\Identity` becomes
`Zend\Mvc\Plugin\Identity\Identity`. However, it is still mapped as
`identity()`.

Additionally, `Zend\Mvc\Controller\Plugin\Service\IdentityFactory` now becomes
`Zend\Mvc\Plugin\Identity\IdentityFactory`.

### prg()

The `prg()` plugin is now provided via the
Expand Down
Loading