Questions tagged [zf3]

Zend Framework 3 is a 5.6+ MVC framework and component library.

Zend Framework 3 is an initiative encompassing a number of strategies and projects. Official release statement

Release Date : 28June2016

The main component of Zend Framework 3 remains the MVC components, which now is composed of many separeted components. This allows more code reuse and independent development cycles among the various components. Also many performance improvements were made with respect to the previous version of the framework.

The main news of the framework appearing in this version is Expressive, a microframework for building PSR-7 middleware applications based on the new PSR-7 specification, which abstracts HTTP messages.

59 questions
0
votes
1 answer

Zend framework: how to pass creation options to services

When registering a service in module.config.php like 'service_manager' => [ 'factories' => [ \Path\To\Your\Service\AService => \Path\To\Your\Service\Factory\AServiceFactory, ] ] I can't pass in creation options when calling the…
Dima Dz
  • 512
  • 1
  • 5
  • 17
0
votes
1 answer

Zend Framework, PhpRenderer unable to render template adds controllers into the template name

I migrated from ZF2 to ZF3. Now I have a problem. My view script is in the right place, the configuration seems ok, but I get the following error: Zend\View\Renderer\PhpRenderer::render: Unable to render template…
Dima Dz
  • 512
  • 1
  • 5
  • 17
0
votes
1 answer

ZF3 replacement of MutableCreationOptions

I wonder what is the replacement of MutableCreationOptionsInterface in Zend Framework 3 to provide the factories with the creation options?
Dima Dz
  • 512
  • 1
  • 5
  • 17
0
votes
0 answers

ZF3, zend\form annotations: how to create a Fieldset and add elements and input filters after the fact

I have two issues involving Zend\Form\Annotation\AnnotationBuilder. First, I want to tell the AnnotationBuilder to create a Zend\Form\Fieldset rather than a Zend\Form\Form (because the docs say it's good practice to use fieldsets for your entities).…
David
  • 815
  • 8
  • 18
0
votes
1 answer

Zend Framework, Architecture with Doctrine

im learning Zend Framework (3) ... I installed Doctrine because i do not want to write sql queries to learn all other stuff faster.... First Question: So know i configured a factory that loads me the doctrine entity manager to my Controllers (with…
Simon Müller
  • 451
  • 1
  • 4
  • 17
0
votes
2 answers

how to access local.php file from controller in zf3

I am working with Zend-framework 3. I want to access the content of config files (local.php) in the controller. please explain. Thank you all in advance.
Nitesh
  • 823
  • 1
  • 10
  • 15
0
votes
1 answer

Zendframework 3 - can't initialized Zend/http

As per subject, how to solve the initilizer problem for the Zend/Http? In my controller: use Zend\Http\Client; class AuthController extends AbstractActionController { /** * Entity manager. * @var Doctrine\ORM\EntityManager */ …
Louis Lee
  • 281
  • 5
  • 15
0
votes
1 answer

Module (Album) could not be initial - ZendFramework3 - Tutorial

I tried to follow the tutorial of Zend Fremework 3, step by step, but I get the following error: Fatal error: Uncaught exception 'Zend\ModuleManager\Exception\RuntimeException' with message 'Module (Album) could not be initialized.' in…
Lippux
  • 3
  • 1
  • 2
0
votes
2 answers

Access models from other modules zf3

I'm trying to configure ZF3 after a few projects with ZF2, but cannot access a model which is in another module. I have 3 tables in my database, and I defined the gateways as follow in my Application\src\Module.php public function…
jairusgr
  • 137
  • 2
  • 9
0
votes
1 answer

zend framework 3 tutorial

I am trying a Zend framework 3 tutorial and am getting stuck in "editing" a function in the in-depth part (Blog case). When trying to edit a blog message, the editing form doesn't show the original message. It seems that the original message…
Stwo
  • 1
  • 1
  • 2
0
votes
1 answer

PHP-FPM/ZF3 download php file when hit root domain

This baffled me big time. When I visit the domain, it download the index.php file. When I visit domain/index.php, it's working fine. I have tried to comment here and there, just can't fix it. This one is Zend Framework 3. I have other php site on…
Hao
  • 6,291
  • 9
  • 39
  • 88
0
votes
1 answer

i am using zend framework 3 with doctrine and i have a error Unable to resolve service to a factory

Unable to resolve service "doctrine.authenticationservice.orm_default" to a factory public function getServiceConfig() { return array( 'factories' => array( 'Zend\Authentication\AuthenticationService'…
pedro
  • 447
  • 4
  • 15
0
votes
4 answers

is it possible to install doctrine orm module with ZF3 skeleton app?

My knowledge of php composer is no more than basic, but... I've downloaded and installed the Zend Framework 3.0.0dev MVC skeleton app and wanted to find out if I could install the Doctrine ORM module along with it. composer require…
David
  • 815
  • 8
  • 18
-1
votes
1 answer

ZF3 unable to populate select field from db

Can anyone explain me the easiest way to populate select field in form from db? ChartsForm.php

        
1 2 3
4