Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Releases: rkeet/zf-doctrine-mvc

Updated as abandoned

22 Mar 09:59
8302fcf
Compare
Choose a tag to compare
Added "abandoned" flag

Have not and will no longer update Zend Framework (now Laminas) packages. Have not worked with them for quite some time.

Updated Doctrine ORM Module requirement

06 Nov 21:01
f9494fe
Compare
Choose a tag to compare

Updated Doctrine ORM Module requirement.

This module already adhered the requirements set forth in Doctrine ORM Module 2.1.x as they matched with 1.1.x. The biggest change is full on usage of > PHP 7.2, which this module also already did.

Doctrine Type UtcDateTimeType class added

30 Aug 20:53
Compare
Choose a tag to compare

Added class UtcDateTimeType and dist config to make it an option.

Class can be used to overwrite Doctrine DateTime Type class. This new class makes sure to always modify the DateTime object received to use the UTC DateTimeZone, thus making sure that all data stored in the DB has the UTC timezone.

  • Store date & time in uniform timezone
  • Config to enable provided in *.dist file in module

0.0.3 - Next iteration: MvcTranslator, PHP module requirements and some helpers

29 Aug 17:56
Compare
Choose a tag to compare
  • AbstractEntity id property now unsigned integer, allowing for double the amount of auto-increment records
  • Requiring ext-intl, ext-json and ext-gettext PHP modules
  • Requiring zendframework/zend-mvc-i18n translator module
  • Changed the Translator to the MvcTranslator, integrating multiple translators at once, see docs. Setup MvcTranslator to be default translator and it's made availabe as Controller plugin
  • Added EntityManager to AbstractDoctrineActionController property, constructor and getter/setter for the ObjectManager. This is the most commonly used EntityManager and having it set in the annotation helps IDE's show correct hints.
  • Added InvokableEntityManagerFactory, usable in same way as ZF3 InvokableFactory, only immediately setting ObjectManager, leaving the options property as optional second parameter

Release 0.0.2

22 Jul 17:20
Compare
Choose a tag to compare
  • Allows getId of AbstractEntity to return null - EntityManager will call all getters on object creation, not allowing this causes a fatal error
  • Updated AbstractModule.php to assume Module.php is within src/ folders of modules, per ZF3 standards
  • Applied code styling and import optimization across module