# Questions

**URL:** https://discourse.laminas.dev/c/questions/5.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

---

## [How to create module in module.config.php file?](https://discourse.laminas.dev/t/how-to-create-module-in-module-config-php-file/3860)

<div class="topic-metadata">

**Author:** [@eguvenc](https://discourse.laminas.dev/u/eguvenc)\
**Replies:** 1\
**Last updated:** [March 4, 2025, 10:53am UTC](https://discourse.laminas.dev/t/how-to-create-module-in-module-config-php-file/3860 "2025-03-04T10:53:46Z")

</div>

I downloaded the mezzio latest version. I register modules using below the command. After that the creation i could not see the module name in my module.config.php. Is this normal ? Do i have to do it by mannually ? com…

---

## [Memory usage exceeds limit - with nested fieldsets & doctrine](https://discourse.laminas.dev/t/memory-usage-exceeds-limit-with-nested-fieldsets-doctrine/3857)

<div class="topic-metadata">

**Author:** [@MaSa759](https://discourse.laminas.dev/u/MaSa759)\
**Replies:** 2\
**Last updated:** [February 14, 2025, 11:47am UTC](https://discourse.laminas.dev/t/memory-usage-exceeds-limit-with-nested-fieldsets-doctrine/3857 "2025-02-14T11:47:52Z")

</div>

Hi, I get the error “Memory usage exeeds limit” on validating the form containing nested fieldsets: #0 ...vendor\\laminas\\laminas-cache\\src\\Storage\\Adapter\\AbstractAdapter.php(664): Laminas\\Cache\\Storage\\Adapter\\Memory…

---

## [Return structur response](https://discourse.laminas.dev/t/return-structur-response/3853)

<div class="topic-metadata">

**Author:** [@blacklions](https://discourse.laminas.dev/u/blacklions)\
**Replies:** 1\
**Last updated:** [February 14, 2025, 10:26am UTC](https://discourse.laminas.dev/t/return-structur-response/3853 "2025-02-14T10:26:46Z")

</div>

Hi, I hope you can help me as I can’t find a reference in the guide. I have a controller that generates the WSDL in the index method, and I’ll provide the code below: public function index(){ $autoDiscover = new AutoDi…

---

## [Factory and dynamic dependency](https://discourse.laminas.dev/t/factory-and-dynamic-dependency/3854)

<div class="topic-metadata">

**Author:** [@Davide](https://discourse.laminas.dev/u/Davide)\
**Replies:** 2\
**Last updated:** [February 13, 2025, 3:14pm UTC](https://discourse.laminas.dev/t/factory-and-dynamic-dependency/3854 "2025-02-13T15:14:07Z")

</div>

Hello everyone, I have a restful resource that fetch common anagraphics data from a table, and provides additional information based on them by calling the specified service in the table (In a fqdn form): name surn…

---

## [Pass domain as file pattern in translation config](https://discourse.laminas.dev/t/pass-domain-as-file-pattern-in-translation-config/3846)

<div class="topic-metadata">

**Author:** [@wiryonolau](https://discourse.laminas.dev/u/wiryonolau)\
**Replies:** 2\
**Last updated:** [February 8, 2025, 10:27am UTC](https://discourse.laminas.dev/t/pass-domain-as-file-pattern-in-translation-config/3846 "2025-02-08T10:27:09Z")

</div>

Hi is it possible to pass domain in translation file pattern so that it could find the file without declaring every domain in the config For example , currently every domain need to have it’s own config since it lock th…

---

## ['session.cookie\_domain' is not a valid sessions-related ini setting](https://discourse.laminas.dev/t/session-cookie-domain-is-not-a-valid-sessions-related-ini-setting/3202)

<div class="topic-metadata">

**Author:** [@Chithra\_C.T](https://discourse.laminas.dev/u/Chithra_C.T)\
**Replies:** 7\
**Last updated:** [January 30, 2025, 12:37am UTC](https://discourse.laminas.dev/t/session-cookie-domain-is-not-a-valid-sessions-related-ini-setting/3202 "2025-01-30T00:37:12Z")

</div>

We have upgraded PHP version to 8.2.1 from 7.1.33. When we run PHPUnit tests, it gives the below errors: Laminas\\Session\\Exception\\InvalidArgumentException: 'session.name' is not a valid sessions-related ini setting. in…

---

## [How to know which version Zend framework used to build website](https://discourse.laminas.dev/t/how-to-know-which-version-zend-framework-used-to-build-website/418)

<div class="topic-metadata">

**Author:** [@dineshkumarbh](https://discourse.laminas.dev/u/dineshkumarbh)\
**Replies:** 2\
**Last updated:** [January 15, 2025, 1:19pm UTC](https://discourse.laminas.dev/t/how-to-know-which-version-zend-framework-used-to-build-website/418 "2025-01-15T13:19:25Z")

</div>

My name is Dineshkumar BH from India. I have outsourced build website "www.firstimpressiion.com. The developer no more available. Still some work is pending and need to update it. When he was developing he told me he use…

---

## [Module (Laminas\\Cache\\Storage\\Adapter\\FileSystem) could not be initialized](https://discourse.laminas.dev/t/module-laminas-cache-storage-adapter-filesystem-could-not-be-initialized/3833)

<div class="topic-metadata">

**Author:** [@LIMHUB](https://discourse.laminas.dev/u/LIMHUB)\
**Replies:** 5\
**Last updated:** [January 1, 2025, 9:58pm UTC](https://discourse.laminas.dev/t/module-laminas-cache-storage-adapter-filesystem-could-not-be-initialized/3833 "2025-01-01T21:58:41Z")

</div>

The issue seems to be with the cache configuration, as the system is unable to initialize the Filesystem cache adapter. Steps Taken: I have verified that the laminas/laminas-cache package is installed via Composer. …

---

## [Filters that throw Errors](https://discourse.laminas.dev/t/filters-that-throw-errors/3827)

<div class="topic-metadata">

**Author:** [@earthiverse](https://discourse.laminas.dev/u/earthiverse)\
**Replies:** 2\
**Last updated:** [December 29, 2024, 4:15am UTC](https://discourse.laminas.dev/t/filters-that-throw-errors/3827 "2024-12-29T04:15:46Z")

</div>

laminas-filter’s FilterInterface’s filter() has @throws Exception\\RuntimeException If filtering $value is impossible. but almost no filters throw exceptions. In reality, most filters seem to follow the approach if we …

---

## [Form Dependencies - Best practice?](https://discourse.laminas.dev/t/form-dependencies-best-practice/3824)

<div class="topic-metadata">

**Author:** [@jAsgeir](https://discourse.laminas.dev/u/jAsgeir)\
**Replies:** 1\
**Last updated:** [December 20, 2024, 4:14pm UTC](https://discourse.laminas.dev/t/form-dependencies-best-practice/3824 "2024-12-20T16:14:31Z")

</div>

Hello, good people. I simply cannot get my head around form dependencies and how to do it. The problem at hand: Getting data from controller to filter select box options inside a fieldset inside fieldset inside form… …

---

## [When using $this-\>forward()-\>dispatch() the controller information is lost](https://discourse.laminas.dev/t/when-using-this-forward-dispatch-the-controller-information-is-lost/3790)

<div class="topic-metadata">

**Author:** [@vigcraig](https://discourse.laminas.dev/u/vigcraig)\
**Replies:** 6\
**Last updated:** [December 19, 2024, 1:18am UTC](https://discourse.laminas.dev/t/when-using-this-forward-dispatch-the-controller-information-is-lost/3790 "2024-12-19T01:18:29Z")

</div>

Hi, this seems to be an old issue similar to this, but still existing in Laminas MVC: https://github.com/laminas/laminas-mvc/issues/27 and here: https://github.com/zendframework/zendframework/issues/7389 I am using this…

---

## [Clear-config-cache error with new Mezzo install](https://discourse.laminas.dev/t/clear-config-cache-error-with-new-mezzo-install/3820)

<div class="topic-metadata">

**Author:** [@tompin](https://discourse.laminas.dev/u/tompin)\
**Replies:** 3\
**Last updated:** [December 17, 2024, 7:58pm UTC](https://discourse.laminas.dev/t/clear-config-cache-error-with-new-mezzo-install/3820 "2024-12-17T19:58:59Z")

</div>

Hello, I’m getting the following error on a new Mezzo install. On macOS using home-brew - I have tried with PHP 8.3 and 8.4. Does anyone have an idea of the cause, please? Tom php bin/clear-config-cache.php PHP Fata…

---

## [Prevent Route Parameter Translation in Mezzio with Laminas\\I18n Integration](https://discourse.laminas.dev/t/prevent-route-parameter-translation-in-mezzio-with-laminas-i18n-integration/3822)

<div class="topic-metadata">

**Author:** [@sanjivsharmalv](https://discourse.laminas.dev/u/sanjivsharmalv)\
**Replies:** 2\
**Last updated:** [December 17, 2024, 1:43pm UTC](https://discourse.laminas.dev/t/prevent-route-parameter-translation-in-mezzio-with-laminas-i18n-integration/3822 "2024-12-17T13:43:29Z")

</div>

I am encountering an issue where the route parameter in my Mezzio application seems to be causing errors due to unintended translation behavior. Here is my route configuration for editing a Locale: // Edit Locale Route…

---

## [How to make laminas soap headar](https://discourse.laminas.dev/t/how-to-make-laminas-soap-headar/3815)

<div class="topic-metadata">

**Author:** [@beyazsapka](https://discourse.laminas.dev/u/beyazsapka)\
**Replies:** 0\
**Last updated:** [December 12, 2024, 8:35pm UTC](https://discourse.laminas.dev/t/how-to-make-laminas-soap-headar/3815 "2024-12-12T20:35:59Z")

</div>

Hello, we want to create the soap server that we wrote before in Laravel. wsdl structure of old soap server request xml \<?xml version="1.0" encoding="utf-8"?\> \<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-…

---

## [Why does InputFilter allow\_empty + required with ArrayInput differ to regular Inputs?](https://discourse.laminas.dev/t/why-does-inputfilter-allow-empty-required-with-arrayinput-differ-to-regular-inputs/3809)

<div class="topic-metadata">

**Author:** [@GLuskin](https://discourse.laminas.dev/u/GLuskin)\
**Replies:** 3\
**Last updated:** [December 10, 2024, 8:43am UTC](https://discourse.laminas.dev/t/why-does-inputfilter-allow-empty-required-with-arrayinput-differ-to-regular-inputs/3809 "2024-12-10T08:43:20Z")

</div>

Hi All I have been having issues dealing with arrays and the InputFilter’s “required” and “allow\_empty” options. It is my understanding that: required = The input array must contain the field name as a key allow\_empt…

---

## [Installation Expressive Skeleton Application](https://discourse.laminas.dev/t/installation-expressive-skeleton-application/3807)

<div class="topic-metadata">

**Author:** [@dragon95959](https://discourse.laminas.dev/u/dragon95959)\
**Replies:** 3\
**Last updated:** [December 5, 2024, 8:50am UTC](https://discourse.laminas.dev/t/installation-expressive-skeleton-application/3807 "2024-12-05T08:50:24Z")

</div>

I’m trying to install Zend 3 (Expressive Skeleton Application) . Gives an error and does not put vendor It does not update composer 2.1.2. I have a version 2.8.3 And inside the file composer.json is not the right versi…

---

## [Are there any courses/video tutorials anywhere on Mezzio?](https://discourse.laminas.dev/t/are-there-any-courses-video-tutorials-anywhere-on-mezzio/3788)

<div class="topic-metadata">

**Author:** [@Nerji](https://discourse.laminas.dev/u/Nerji)\
**Replies:** 5\
**Last updated:** [November 2, 2024, 11:57am UTC](https://discourse.laminas.dev/t/are-there-any-courses-video-tutorials-anywhere-on-mezzio/3788 "2024-11-02T11:57:47Z")

</div>

I can’t seem to find anything current at all as far as training material goes, am I just looking in the wrong spots?

---

## [What have most public methods been deprecated for Validators?](https://discourse.laminas.dev/t/what-have-most-public-methods-been-deprecated-for-validators/3794)

<div class="topic-metadata">

**Author:** [@smallred](https://discourse.laminas.dev/u/smallred)\
**Replies:** 4\
**Last updated:** [October 21, 2024, 2:20pm UTC](https://discourse.laminas.dev/t/what-have-most-public-methods-been-deprecated-for-validators/3794 "2024-10-21T14:20:39Z")

</div>

I’ve noticed that most of the get and set functions for working with validators are to be removed in version 3 of laminas-validator. I’m curious how I would work with validators in the case where I need to modify it? Wha…

---

## [Best Practice: Laminas MVC vs Mezzio vs DotKernel API](https://discourse.laminas.dev/t/best-practice-laminas-mvc-vs-mezzio-vs-dotkernel-api/3784)

<div class="topic-metadata">

**Author:** [@COMCDUARTE](https://discourse.laminas.dev/u/COMCDUARTE)\
**Replies:** 3\
**Last updated:** [October 8, 2024, 1:17pm UTC](https://discourse.laminas.dev/t/best-practice-laminas-mvc-vs-mezzio-vs-dotkernel-api/3784 "2024-10-08T13:17:45Z")

</div>

I’m interested in everyone’s opinion on the matter. Here’s a brief of my use case. I develop a variety of applications. All of which require a frontend, which Laminas MVC ( and ZF2 & ZF3) has handled solely thus far. …

---

## [Implementing redis cache in laminas mvc application](https://discourse.laminas.dev/t/implementing-redis-cache-in-laminas-mvc-application/3782)

<div class="topic-metadata">

**Author:** [@Arif\_Ak](https://discourse.laminas.dev/u/Arif_Ak)\
**Replies:** 3\
**Last updated:** [October 7, 2024, 9:15am UTC](https://discourse.laminas.dev/t/implementing-redis-cache-in-laminas-mvc-application/3782 "2024-10-07T09:15:35Z")

</div>

I have installed php redis in my local system and have added the redis adapter via the composer command: composer require laminas/laminas-cache-storage-adapter-redis I tried following this documentation: Adapters - lami…

---

## [Skip optional Route-Params](https://discourse.laminas.dev/t/skip-optional-route-params/3777)

<div class="topic-metadata">

**Author:** [@MaSa759](https://discourse.laminas.dev/u/MaSa759)\
**Replies:** 6\
**Last updated:** [October 2, 2024, 10:49pm UTC](https://discourse.laminas.dev/t/skip-optional-route-params/3777 "2024-10-02T22:49:14Z")

</div>

Hi, I want to set up different languages for my application. Therefore I configured my routes like this: \[ 'type' =\> 'segment', 'options' =\> \[ 'route' =\> '\[/:lang\]/', 'defau…

---

## [Is it possible to set multiple values to Laminas SQL from function?](https://discourse.laminas.dev/t/is-it-possible-to-set-multiple-values-to-laminas-sql-from-function/3776)

<div class="topic-metadata">

**Author:** [@eguvenc](https://discourse.laminas.dev/u/eguvenc)\
**Replies:** 1\
**Last updated:** [September 25, 2024, 9:20pm UTC](https://discourse.laminas.dev/t/is-it-possible-to-set-multiple-values-to-laminas-sql-from-function/3776 "2024-09-25T21:20:05Z")

</div>

I am trying to convert this sql code into Laminas way ? Is it possible to set multiple values ​​to Laminas SQL from function ? SELECT node.name, (COUNT(parent.name) - 1) AS depth FROM categories AS node, catego…

---

## [Using laminas-router regex with a Mezzio application](https://discourse.laminas.dev/t/using-laminas-router-regex-with-a-mezzio-application/3768)

<div class="topic-metadata">

**Author:** [@earthiverse](https://discourse.laminas.dev/u/earthiverse)\
**Replies:** 1\
**Last updated:** [September 20, 2024, 2:22am UTC](https://discourse.laminas.dev/t/using-laminas-router-regex-with-a-mezzio-application/3768 "2024-09-20T02:22:51Z")

</div>

I have this route set up, which works OK, but I’d like to know if it’s possible to make a route that captures /s in a parameter Right now I have return static function (Application $app): void { //... $app-\>get( sp…

---

## [Package laminas/laminas-crypt is abandoned](https://discourse.laminas.dev/t/package-laminas-laminas-crypt-is-abandoned/3771)

<div class="topic-metadata">

**Author:** [@voltan](https://discourse.laminas.dev/u/voltan)\
**Replies:** 2\
**Last updated:** [September 18, 2024, 8:08am UTC](https://discourse.laminas.dev/t/package-laminas-laminas-crypt-is-abandoned/3771 "2024-09-18T08:08:13Z")

</div>

Hello Today I get this error Package laminas/laminas-crypt is abandoned, you should avoid using it. No replacement was suggested. I use this package for create a password by Bcrypt, What is the alternative method to …

---

## [Is laminas-test dead?](https://discourse.laminas.dev/t/is-laminas-test-dead/3764)

<div class="topic-metadata">

**Author:** [@sw1024](https://discourse.laminas.dev/u/sw1024)\
**Replies:** 3\
**Last updated:** [September 18, 2024, 12:18am UTC](https://discourse.laminas.dev/t/is-laminas-test-dead/3764 "2024-09-18T00:18:54Z")

</div>

Hello everyone, I have posted an issue about two weeks ago on the git hub page of laminas-test but no response till now. That is why I’m asking if this project is dead. This was the issue which I had opened → Testing o…

---

## [Twbs-helper-plugin: Reset row\_class or assign a different value instead of adding a new one](https://discourse.laminas.dev/t/twbs-helper-plugin-reset-row-class-or-assign-a-different-value-instead-of-adding-a-new-one/3762)

<div class="topic-metadata">

**Author:** [@oliver681](https://discourse.laminas.dev/u/oliver681)\
**Replies:** 3\
**Last updated:** [September 12, 2024, 11:53am UTC](https://discourse.laminas.dev/t/twbs-helper-plugin-reset-row-class-or-assign-a-different-value-instead-of-adding-a-new-one/3762 "2024-09-12T11:53:43Z")

</div>

I’m using the twbs-helper-plugin to render form elements. I can’t figure out how to define form elements without a spacing between them. By default, class="mb-3" is added to all divs containing an input element. Setting…

---

## [Laminas-component-installer does not add modules into config](https://discourse.laminas.dev/t/laminas-component-installer-does-not-add-modules-into-config/3765)

<div class="topic-metadata">

**Author:** [@bitkorn](https://discourse.laminas.dev/u/bitkorn)\
**Replies:** 4\
**Last updated:** [September 12, 2024, 3:29am UTC](https://discourse.laminas.dev/t/laminas-component-installer-does-not-add-modules-into-config/3765 "2024-09-12T03:29:58Z")

</div>

I have a repository on GitLab that installs all dependencies with the command composer create-project -s dev lerp/lingana-erp-project /var/www/html/lingana\_test. But it doesn’t add any modules to /config/\*config.php. ht…

---

## [Laminas services cant access bearer token passed in header.?](https://discourse.laminas.dev/t/laminas-services-cant-access-bearer-token-passed-in-header/3759)

<div class="topic-metadata">

**Author:** [@Hadi\_Rafad](https://discourse.laminas.dev/u/Hadi_Rafad)\
**Replies:** 6\
**Last updated:** [September 3, 2024, 8:29am UTC](https://discourse.laminas.dev/t/laminas-services-cant-access-bearer-token-passed-in-header/3759 "2024-09-03T08:29:37Z")

</div>

Same code is working in others system. I use the same composer, xamp and php versions they using. Composer 2.7.4 Xamp 8.2 Iam using laminas AuthenticationService for accessing token. Token passed as bearer token in h…

---

## [How to bootstrap a log library so that it is available everywhere?](https://discourse.laminas.dev/t/how-to-bootstrap-a-log-library-so-that-it-is-available-everywhere/3754)

<div class="topic-metadata">

**Author:** [@modir](https://discourse.laminas.dev/u/modir)\
**Replies:** 16\
**Last updated:** [August 19, 2024, 6:33am UTC](https://discourse.laminas.dev/t/how-to-bootstrap-a-log-library-so-that-it-is-available-everywhere/3754 "2024-08-19T06:33:40Z")

</div>

I would like to use a log library like e.g laminas-log or monolog within LaminasMvc and my question is how should I initiate it so that it is available in all models, controllers and views. I have an idea how to do it i…

---

## [Laminas authentication using lmcuser package with custom db adaper](https://discourse.laminas.dev/t/laminas-authentication-using-lmcuser-package-with-custom-db-adaper/3752)

<div class="topic-metadata">

**Author:** [@Praveen\_Maurya](https://discourse.laminas.dev/u/Praveen_Maurya)\
**Replies:** 2\
**Last updated:** [August 12, 2024, 2:08pm UTC](https://discourse.laminas.dev/t/laminas-authentication-using-lmcuser-package-with-custom-db-adaper/3752 "2024-08-12T14:08:36Z")

</div>

My Zendframework2 application is working fine in the php 7.4 and i have to update it to support php 8.1 and for that i am migrating zf2 to laminas. It was zfcuser implemented in the ZF2. Currently i am replacing zfcuser …

[Previous page](https://discourse.laminas.dev/c/questions/5.md)

[Next page](https://discourse.laminas.dev/c/questions/5.md?page=2)
