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.
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
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
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
Documentation is still very much a work in progress...
Have a look in the docs Folder