In this article, we will build a simple authentication module with a login form and We also advice to copy/paste the lines and not download the whole project As the userdemo project on GitHub, we will implement Doctrine to manage I assume you already followed a tutorial from Zend on setting up the MVC framework, .