# Migration

**URL:** https://discourse.laminas.dev/c/migration/12.md?page=1

[Latest](https://discourse.laminas.dev/latest.md) · [Categories](https://discourse.laminas.dev/categories.md) · [Tags](https://discourse.laminas.dev/tags.md)

**Page:** 2

---

## [Request guidance and advice](https://discourse.laminas.dev/t/request-guidance-and-advice/2644)

<div class="topic-metadata">

**Author:** [@voltan](https://discourse.laminas.dev/u/voltan)\
**Replies:** 9\
**Last updated:** [December 9, 2021, 1:50pm UTC](https://discourse.laminas.dev/t/request-guidance-and-advice/2644 "2021-12-09T13:50:15Z")

</div>

Hello everyone We worked on CMS/Platform based on ZF2/ Laminas MVC that called Pi Engine, check it on : GitHub - pi-engine/pi: Multi-tenant application development engine for cloud ready SaaS platform. We started Pi 10…

---

## [How to get appliaction config in the entity class](https://discourse.laminas.dev/t/how-to-get-appliaction-config-in-the-entity-class/2614)

<div class="topic-metadata">

**Author:** [@bartek\_75](https://discourse.laminas.dev/u/bartek_75)\
**Replies:** 4\
**Last updated:** [December 8, 2021, 9:35pm UTC](https://discourse.laminas.dev/t/how-to-get-appliaction-config-in-the-entity-class/2614 "2021-12-08T21:35:23Z")

</div>

I am migrating fro ZF2 to Laminas. I used ServiceLocatorAwareInterface to get config into my entity classes: \<?php namespace Application\\Model; use Zend\\ServiceManager\\ServiceLocatorAwareInterface; use Zend\\ServiceMana…

---

## [What replaces Zend\_Mail\_Storage\_Maildir, or what do I install@](https://discourse.laminas.dev/t/what-replaces-zend-mail-storage-maildir-or-what-do-i-install/2621)

<div class="topic-metadata">

**Author:** [@chrisisbd](https://discourse.laminas.dev/u/chrisisbd)\
**Replies:** 4\
**Last updated:** [November 28, 2021, 11:08am UTC](https://discourse.laminas.dev/t/what-replaces-zend-mail-storage-maildir-or-what-do-i-install/2621 "2021-11-28T11:08:17Z")

</div>

I have some rather old PHP code (in a DokuWiki plugin) that I wrote to read E-Mail messages. It uses Zend\_Mail\_Storage\_Maildir. What do I need to install to provide this, or similar, functions? It’s on my own server w…

---

## [Passing config into model](https://discourse.laminas.dev/t/passing-config-into-model/2423)

<div class="topic-metadata">

**Author:** [@tompin](https://discourse.laminas.dev/u/tompin)\
**Replies:** 9\
**Last updated:** [August 7, 2021, 7:13pm UTC](https://discourse.laminas.dev/t/passing-config-into-model/2423 "2021-08-07T19:13:15Z")

</div>

Hello, I’m migrating quite a big project from ZF2 to Laminas and I’m nearly there. In the older version, I have an EmailModel which is accessed by various different controllers in order to send emails, with variables l…

---

## [Clarification ServiceLocator vs. ServiceManager deprecated](https://discourse.laminas.dev/t/clarification-servicelocator-vs-servicemanager-deprecated/2401)

<div class="topic-metadata">

**Author:** [@dickdono](https://discourse.laminas.dev/u/dickdono)\
**Replies:** 2\
**Last updated:** [July 15, 2021, 6:09am UTC](https://discourse.laminas.dev/t/clarification-servicelocator-vs-servicemanager-deprecated/2401 "2021-07-15T06:09:33Z")

</div>

Just a clarification: It is ServiceLocator that is going to be deprecated, not ServiceManager, is that correct? So in my factory, this will still be ok (not an anti-pattern), right? public function \_\_invoke(Container…

---

## [ServiceLocator vs controller-\>servicelocator](https://discourse.laminas.dev/t/servicelocator-vs-controller-servicelocator/2366)

<div class="topic-metadata">

**Author:** [@dickdono](https://discourse.laminas.dev/u/dickdono)\
**Replies:** 3\
**Last updated:** [June 26, 2021, 9:49am UTC](https://discourse.laminas.dev/t/servicelocator-vs-controller-servicelocator/2366 "2021-06-26T09:49:35Z")

</div>

I have a Controller that extends AbstractActionController'. This line of code generates a deprecated message: $config = $this-\>getServiceLocator()-\>get('Config'); But this line of code does not: $config = $this-\>se…

---

## [Migrating ZF2(v2.2.1) to Laminas](https://discourse.laminas.dev/t/migrating-zf2-v2-2-1-to-laminas/2361)

<div class="topic-metadata">

**Author:** [@Dev\_Inc](https://discourse.laminas.dev/u/Dev_Inc)\
**Replies:** 6\
**Last updated:** [June 21, 2021, 12:07pm UTC](https://discourse.laminas.dev/t/migrating-zf2-v2-2-1-to-laminas/2361 "2021-06-21T12:07:16Z")

</div>

Hi All, How to migrate ZF2(v2.2.1) project to Laminas? My application is ZF v2.2.1, don’t have vendor folder but have only library folder which has all the packages like Zend-authentication, Zend-Barcode etc. I have fo…

---

## [Converting from Zend 2.3 to Laminas getting could not be initialized error](https://discourse.laminas.dev/t/converting-from-zend-2-3-to-laminas-getting-could-not-be-initialized-error/2198)

<div class="topic-metadata">

**Author:** [@mgriswold](https://discourse.laminas.dev/u/mgriswold)\
**Replies:** 3\
**Last updated:** [March 29, 2021, 11:18am UTC](https://discourse.laminas.dev/t/converting-from-zend-2-3-to-laminas-getting-could-not-be-initialized-error/2198 "2021-03-29T11:18:54Z")

</div>

I’m converting a project (qatools) from Zend Framework 2.3 to Laminas. I went through the conversion steps. Now I’m seeing the following error. Uncaught Laminas\\ModuleManager\\Exception\\RuntimeException: Module (qatool…

---

## [Migration de Zf 1.11 vers laminas](https://discourse.laminas.dev/t/migration-de-zf-1-11-vers-laminas/2142)

<div class="topic-metadata">

**Author:** [@Nezha\_Tangi](https://discourse.laminas.dev/u/Nezha_Tangi)\
**Replies:** 4\
**Last updated:** [March 11, 2021, 10:23am UTC](https://discourse.laminas.dev/t/migration-de-zf-1-11-vers-laminas/2142 "2021-03-11T10:23:35Z")

</div>

J’ai développé depuis longtemps une application sous ZF 1.11 (année 2013), comment je peux faire la migration vers laminas, est-ce que possible ou non, si oui comment ?? Merci BCP.

---

## [Resources for ZF 1.12 project?](https://discourse.laminas.dev/t/resources-for-zf-1-12-project/1454)

<div class="topic-metadata">

**Author:** [@guyinpv](https://discourse.laminas.dev/u/guyinpv)\
**Replies:** 3\
**Last updated:** [March 4, 2021, 1:50pm UTC](https://discourse.laminas.dev/t/resources-for-zf-1-12-project/1454 "2021-03-04T13:50:45Z")

</div>

I’ve inherited a project that was on 1.12.3. It was built using a bundle called “Rend” which is defunct. Whatever it was, doesn’t have a website or anything now. I was able to get it updated to 1.12.20. My server is PHP…

---

## [ZF 1.11 Migration to Laminas](https://discourse.laminas.dev/t/zf-1-11-migration-to-laminas/2002)

<div class="topic-metadata">

**Author:** [@Frank](https://discourse.laminas.dev/u/Frank)\
**Replies:** 4\
**Last updated:** [December 21, 2020, 11:18am UTC](https://discourse.laminas.dev/t/zf-1-11-migration-to-laminas/2002 "2020-12-21T11:18:12Z")

</div>

I have an old project written in ZF1.11 that needs updating. Ideally up to PHP 7.2. It is in the older style without even any namespacing. I have brought in the use of composer and the framework itself (as well as PHP…

---

## [Laminas-migration don't change the code](https://discourse.laminas.dev/t/laminas-migration-dont-change-the-code/1984)

<div class="topic-metadata">

**Author:** [@cyrilr](https://discourse.laminas.dev/u/cyrilr)\
**Replies:** 2\
**Last updated:** [December 7, 2020, 7:29am UTC](https://discourse.laminas.dev/t/laminas-migration-dont-change-the-code/1984 "2020-12-07T07:29:28Z")

</div>

hi, I have a ZF3 application to migrate to laminas. I’ve followed the laminas-migration installation procedure and run the laminas-migration migrate command. everything seems ok, i have the message "\[OK\] Migration com…

---

## [No Apache error logging after migrate to Laminas](https://discourse.laminas.dev/t/no-apache-error-logging-after-migrate-to-laminas/1894)

<div class="topic-metadata">

**Author:** [@manolomaldonado](https://discourse.laminas.dev/u/manolomaldonado)\
**Replies:** 0\
**Last updated:** [October 15, 2020, 4:07pm UTC](https://discourse.laminas.dev/t/no-apache-error-logging-after-migrate-to-laminas/1894 "2020-10-15T16:07:09Z")

</div>

Hi folks, I have just migrated a project from ZF2 to Laminas. Everything seems to be running well but I have noticed errors messages are not shown in Apache logs anymore. Typical errors like ‘Call to undefined function…’…

---

## [Use Events for zf3/laminas](https://discourse.laminas.dev/t/use-events-for-zf3-laminas/1874)

<div class="topic-metadata">

**Author:** [@Afinogen](https://discourse.laminas.dev/u/Afinogen)\
**Replies:** 4\
**Last updated:** [October 14, 2020, 10:27am UTC](https://discourse.laminas.dev/t/use-events-for-zf3-laminas/1874 "2020-10-14T10:27:16Z")

</div>

In zf2 i use DelegatorFactory for add event listeners to services, controllers and etc. Now update framework to zf3 (3.0.0) and have problem with all events in listeners. This line broken my site https://github.com/lami…

---

## [Prepare old laminas version (2.4) for newer PHP versions](https://discourse.laminas.dev/t/prepare-old-laminas-version-2-4-for-newer-php-versions/1800)

<div class="topic-metadata">

**Author:** [@antiphp](https://discourse.laminas.dev/u/antiphp)\
**Replies:** 3\
**Last updated:** [August 25, 2020, 9:13pm UTC](https://discourse.laminas.dev/t/prepare-old-laminas-version-2-4-for-newer-php-versions/1800 "2020-08-25T21:13:45Z")

</div>

Hello there, I run a website with Zend Framework \<2.5 (2.4.13) which is kind of outdated, yay surprise. It runs with PHP 7.2, but not with PHP 7.3 or 7.4 anymore. Issues seem to be easy to fix, like: Warning: "continue…

---

## [Missing getServiceLocator method after migration to laminas-mvc 3.x](https://discourse.laminas.dev/t/missing-getservicelocator-method-after-migration-to-laminas-mvc-3-x/1657)

<div class="topic-metadata">

**Author:** [@Jorge\_Pavan](https://discourse.laminas.dev/u/Jorge_Pavan)\
**Replies:** 7\
**Last updated:** [June 24, 2020, 7:09pm UTC](https://discourse.laminas.dev/t/missing-getservicelocator-method-after-migration-to-laminas-mvc-3-x/1657 "2020-06-24T19:09:30Z")

</div>

I have migrated to Laminas an application that uses Doctrine for the connection to the database. In it I used db = this-\> getServiceLocator () -\> get (‘doctrine.connection.orm\_default’); to work on the database. Bu…

---

## [Migration from ZF 1.11](https://discourse.laminas.dev/t/migration-from-zf-1-11/1515)

<div class="topic-metadata">

**Author:** [@afarin](https://discourse.laminas.dev/u/afarin)\
**Replies:** 3\
**Last updated:** [June 18, 2020, 3:13pm UTC](https://discourse.laminas.dev/t/migration-from-zf-1-11/1515 "2020-06-18T15:13:02Z")

</div>

i have a website which is developed by zf 1.11. and now i want to upgrade it to use php 7. what is the best way to handle it? Is there a way to migrate to zf3 or laminas directly or should i first change it to zf2? or …

---

## [Deprecated: AbstractPluginManager expects ContainerInterface](https://discourse.laminas.dev/t/deprecated-abstractpluginmanager-expects-containerinterface/1666)

<div class="topic-metadata">

**Author:** [@WRZ](https://discourse.laminas.dev/u/WRZ)\
**Replies:** 0\
**Last updated:** [June 8, 2020, 8:19am UTC](https://discourse.laminas.dev/t/deprecated-abstractpluginmanager-expects-containerinterface/1666 "2020-06-08T08:19:32Z")

</div>

Hello, After running migration from ZF2.5.2dev I got a Php Deprecated displayed in development mode: Laminas\\ServiceManager\\AbstractPluginManager::\_\_construct now expects a Interop\\Container\\ContainerInterface instance…

---

## [Migration Problem with laminas/laminas-developer-tools](https://discourse.laminas.dev/t/migration-problem-with-laminas-laminas-developer-tools/1595)

<div class="topic-metadata">

**Author:** [@lbm-services](https://discourse.laminas.dev/u/lbm-services)\
**Replies:** 1\
**Last updated:** [May 12, 2020, 11:09am UTC](https://discourse.laminas.dev/t/migration-problem-with-laminas-laminas-developer-tools/1595 "2020-05-12T11:09:10Z")

</div>

Problem 1 Installation request for laminas/laminas-developer-tools dev-master -\> satisfiable by laminas/laminas-developer-tools\[dev-master\]. Can only install one of: laminas/laminas-servicemanager\[3.3.x-dev, 2.4.13\]. l…

---

## [Any nonprofits out there who've migrated to Laminas?](https://discourse.laminas.dev/t/any-nonprofits-out-there-whove-migrated-to-laminas/1581)

<div class="topic-metadata">

**Author:** [@Jesah](https://discourse.laminas.dev/u/Jesah)\
**Replies:** 1\
**Last updated:** [May 7, 2020, 6:54am UTC](https://discourse.laminas.dev/t/any-nonprofits-out-there-whove-migrated-to-laminas/1581 "2020-05-07T06:54:42Z")

</div>

Hi, I work for a nonprofit that is beginning the process of migrating to Laminas. Does anyone know if there any nonprofits organizations that’ve made the migration from a legacy system to Laminas? If so, we have a few …

---

## [Refactoring ZF2 to Lamians Module.php onBootstrap](https://discourse.laminas.dev/t/refactoring-zf2-to-lamians-module-php-onbootstrap/1557)

<div class="topic-metadata">

**Author:** [@mhaendler](https://discourse.laminas.dev/u/mhaendler)\
**Replies:** 3\
**Last updated:** [April 27, 2020, 4:12pm UTC](https://discourse.laminas.dev/t/refactoring-zf2-to-lamians-module-php-onbootstrap/1557 "2020-04-27T16:12:02Z")

</div>

Hello everyone :slight\_smile: i migrated a project from zf2 to laminas, everything went kinda smooth, but its an pretty old project. Now i want to make some elements in a better practice way and also include PHPUnit-Tes…

---

## [Session data migration from Zend to Laminas](https://discourse.laminas.dev/t/session-data-migration-from-zend-to-laminas/1513)

<div class="topic-metadata">

**Author:** [@Fabian\_Rahm](https://discourse.laminas.dev/u/Fabian_Rahm)\
**Replies:** 1\
**Last updated:** [April 15, 2020, 6:44am UTC](https://discourse.laminas.dev/t/session-data-migration-from-zend-to-laminas/1513 "2020-04-15T06:44:32Z")

</div>

Hi We’re about to migrate our applications using laminas-migration. Many thanks for providing this tool to the authors. For deployment to production, we aim to keep login states of logged-in users. We’re using zend-ses…

---

## [Benchmarking laminas](https://discourse.laminas.dev/t/benchmarking-laminas/1450)

<div class="topic-metadata">

**Author:** [@waghanza](https://discourse.laminas.dev/u/waghanza)\
**Replies:** 0\
**Last updated:** [March 18, 2020, 2:21pm UTC](https://discourse.laminas.dev/t/benchmarking-laminas/1450 "2020-03-18T14:21:25Z")

</div>

Hello, I have migrate zend-framework and zend-expressive to laminas and mezzio in my benchmarking project Feel free to contribute :heart: and to correct the code (if any mistake) Regards,

---

## [PHP Fatal Error after Migrate to Laminas](https://discourse.laminas.dev/t/php-fatal-error-after-migrate-to-laminas/1437)

<div class="topic-metadata">

**Author:** [@Pino](https://discourse.laminas.dev/u/Pino)\
**Replies:** 3\
**Last updated:** [March 13, 2020, 7:38pm UTC](https://discourse.laminas.dev/t/php-fatal-error-after-migrate-to-laminas/1437 "2020-03-13T19:38:03Z")

</div>

Hello. I am creating a new website with Magento 2. I have received several warnings on Zend Framework with Composer and so I followed instructions to Migrate to Laminas. Everything seems to have gone well. But now I c…

---

## [Laminas Transition Period](https://discourse.laminas.dev/t/laminas-transition-period/1426)

<div class="topic-metadata">

**Author:** [@Prasad\_Rajapaksha](https://discourse.laminas.dev/u/Prasad_Rajapaksha)\
**Replies:** 2\
**Last updated:** [March 10, 2020, 11:55pm UTC](https://discourse.laminas.dev/t/laminas-transition-period/1426 "2020-03-10T23:55:10Z")

</div>

Hi, I need some help. I m planing to migrate Zend project to Laminas. But laminas web site still shows its in transition period. Does anyone know when will the transition will be over.

---

## [Error after migration from ZF2](https://discourse.laminas.dev/t/error-after-migration-from-zf2/1424)

<div class="topic-metadata">

**Author:** [@chibexme](https://discourse.laminas.dev/u/chibexme)\
**Replies:** 2\
**Last updated:** [March 9, 2020, 4:46pm UTC](https://discourse.laminas.dev/t/error-after-migration-from-zf2/1424 "2020-03-09T16:46:22Z")

</div>

Migrating ZF2 project was successful composer install is giving below error message \[Composer\\Downloader\\TransportException\] Your configuration does not allow connections to http://packages.zendframework.com/packages…

---

## [Laminas migration symlink problem](https://discourse.laminas.dev/t/laminas-migration-symlink-problem/1353)

<div class="topic-metadata">

**Author:** [@peter](https://discourse.laminas.dev/u/peter)\
**Replies:** 8\
**Last updated:** [February 5, 2020, 8:27pm UTC](https://discourse.laminas.dev/t/laminas-migration-symlink-problem/1353 "2020-02-05T20:27:56Z")

</div>

We run an application which works for 32 websites. That means that we have 32 different configurations. In each of these config folders under autoload there is a symlink pointing to a file outside the app. The laminas m…

---

## [Coming from ZF 1 to ZR 3. Lots of config?](https://discourse.laminas.dev/t/coming-from-zf-1-to-zr-3-lots-of-config/1003)

<div class="topic-metadata">

**Author:** [@onthemovefit](https://discourse.laminas.dev/u/onthemovefit)\
**Replies:** 2\
**Last updated:** [March 27, 2019, 2:11pm UTC](https://discourse.laminas.dev/t/coming-from-zf-1-to-zr-3-lots-of-config/1003 "2019-03-27T14:11:23Z")

</div>

Hi Everyone - I decided to take a look at the latest ZF as I’ve been using 1.10.7 and it works great. Here’e where I’m confused. I’m going through the tutorial and there’s so much more config when it comes to Controlle…

[Previous page](https://discourse.laminas.dev/c/migration/12.md)
