-
Emails in Zend Framework 2 with ZF2-AcMailer version 5
20 June 2015 —
Comments About a month ago I released the Zend Framework 2 module ZF2-AcMailer version 5.0.0. This new major version includes some important improvements, and a new configuration system that allows multiple mail services to be registered. When this module was on its first version, I wrote an article explaini…
-
Working with custom column types in Doctrine. Enums.
28 July 2015 —
Comments Doctrine is currently the most used ORM in PHP. It makes it very easy to work with databases in an object oriented way. It comes with a set of built-in column types that map database types with PHP types. For example, the datetime column type, persists the value of an entity column as a datetime in …
-
Composer advanced concepts
25 April 2015 —
Comments Composer is The Tool in any modern PHP project. Nowadays I can't imagine to work without it. It is much more powerful than some people think, easily solving the integration of third party components in our projects, but there are some advanced features that are less known. I'm going to try to explai…
-
Dynamically create doctrine entity managers in Zend Framework 2
07 March 2015 —
Comments Some time ago I published an article talking about different Doctrine configurations when using the DoctrineORMModule in Zend Framework 2 applications, so that you can create multiple database connections, either by using one entity manager or more than one. Since then, many people have asked me how…
-
Managing objects creation and dependency injection with Zend\ServiceManager
06 February 2015 —
Comments Some time ago I wrote the most successful article of this blog, Advanced usage of ServiceManager in Zend Framework 2, explaining all the ways a service can be created by making use of Zend\ServiceManager, the service container component in Zend Framework 2. On this article I'm going to show a real e…