Skip to content

An implementation of Doctrine using the PHP Static Meta Data driver and no annotations

License

Notifications You must be signed in to change notification settings

edmondscommerce/doctrine-static-meta

Folders and files

NameName
Last commit message
Last commit date
Sep 8, 2020
Feb 3, 2018
Sep 8, 2020
Sep 9, 2020
Sep 9, 2020
Feb 20, 2024
Sep 9, 2020
Sep 14, 2017
May 17, 2018
Jun 21, 2018
Mar 9, 2020
Nov 1, 2018
Oct 29, 2018
Sep 14, 2017
Sep 9, 2020
May 21, 2019
Dec 7, 2018
Sep 8, 2020
Sep 8, 2020
Feb 8, 2018
May 15, 2018

Repository files navigation

Doctrine Static Meta

Codacy Badge

Scrutinizer Code Quality

Code Intelligence Status

Maintainability

An implementation of Doctrine using the PHP Static Meta Data driver and no annotations.

This library includes extensive traits and interfaces and also full code generation allowing you to set up a project quickly.

Install

composer require edmondscommerce/typesafe-functions dev-master@dev
composer require gossi/php-code-generator "^0.5.0" --dev
composer require sebastian/diff ^3.0 --dev
composer require edmondscommerce/doctrine-static-meta dev-master@dev

Limitations

Whilst this is now at a stage where we are using it in production, it is still a work in progress.

  • Currently we have only targeted MySQL

Suggested .my.cnf File

As DSM is using binary ID columns, it is worth customising your .my.cnf file to make this easier to work with

[mysql]
auto-rehash
binary-as-hex = true                                                                                              
[client]
user=root
password=YOURPASSWORDHERE

Further Reading

Documentation is still very much a work in progress...

Have a look in the docs Folder