fork of lexpress/doctrine1