Adding array elements into a form using Zend 3

Form collection Zend 3 tutorial

You already know how to add elements to a form and attach filters and validators to them, but often you will need to add new elements dynamically or add several elements with the same name. In HTML it will end up with a name followed by square brackets [] : As an example check out […]

One to one relationship using Zend 3 and Doctrine 2

One 2 One relationship

Using Doctrine 2 annotations in a Zend project requires us to design our database model at first then we are integrating ou entities which themselves are instantiated within services. Today we are going to implement a simple example of using a One to one relationship using Doctrine and Zend 3. Example of a One2one relationship […]

On demand doctrine database switch with Zend 3

Configuration sequence - Zend 3

When working on different database with Zend, you may load defined parameters from your local configuration files depending on the action you need to trigger. In the case you need to load a database which is defined by a specific environment for instance from a session data, you need to update your configuration inside your […]

Zend script to create tables on demand

create table on fly with zend 3

When you are working on a large project like a CMS system, you provide different kind of modules and you allow the end user to enable or disable certain modules depending on his needs. There are different way of achieving this : You create the whole database with all tables in it, giving the possibility […]

Creating a Database using Zend 3 and Doctrine2

Database creation - Doctrine & ZF3

Let’s say we need to create a database on the fly and use it within our Zend 3 project. Typically you will create the database then store the credentials within your global or local php config file in your autoload directory. But this time we do need to create a second database which name depends […]

Adding Session Data to your authentication system using ZF 3

Session Management in Zend 3

If you have been following the tutorial on ZF3 authentication, you already have the user email stored in session as this is the default behavior of the Zend/Authentication module provided by Zend platform. The Zend authentication module & session management We will overview a little how is handled the session system within the authentication module […]

RuntimeException: Module could not be initialized in ModuleManager

Composer json edition

When adding a new module manually in Zend 3 platform, you basically add files within a defined folder structure of your own (you can just copy a skeleton application and rename the directory). See the tutorial on Zend 3 project for more details. Once you have added the files you will generally meet a few […]

Class is not a valid entity or mapped super class – ZF3

Doctrine Exception

As a way to help others and myself, I will continue to post Zend3 typical errors and their fix regularly. To reproduce the following error : “Class is not a valid entity or mapped super class” using ZF3 and Doctrine 2″ I’ve used the Yaml driver as described in this page, then switched back to […]

Populate Database using Doctrine and Zend 3

Zend 3 DataFixtures Doctrine

Some applications need to integrate data and using Zend and Doctrine all together requires us to do it properly. Of course you could simply insert your entries inside the database using the Mysql command line which is pretty straight forward but how about the case you need to automate the process with a different database, […]

Learn Yaml with Doctrine in a Zend 3 project


It’s been some time I planed on talking about Yaml and more precisely about its use for Mysql configuration tables and Entity generation. So today we will overview Yaml for Mysql automatic table integration using Doctrine and Zend 3. If you have never heard about Yaml, well you are better late than never ! What […]

Sign up function on Zend 3

Today we are going to implement a sign up form within our authentication module we’ve set up before. Note that we don’t want to be in competition with Zf Commons with their registration and login module, this article is more like a tutorial to train you on using Zend and handling a form. In later […]

Build an Authentication module with Zend 3

In this article, we will build a simple authentication module with a login form and a small administrative interface. Basically we will work on the userdemo module detailed on GitHub at this url : User Demo Starting from this code we will add a few tweaks to go further with Zend integration, so if you […]

Install Zend 3.0 on your Debian server

Let’s get started with the installation of Zend 3.0 along with Php 7 on a debian server (the same steps will be valid for Ubuntu). When you follow the following page : it will likely¬†need a few more easy steps to achieve as root user, here is what I did to get it fine […]

Want more information?

Related links will be displayed here in this section for you to pick up another good spot to get more details about Web marketing and Search Engine Optimization. There will be some sites which we selected to ease the work of any webmaster or/and web marketer on the Internet.