How do I find out which version of Doctrine I am running?

slugmandrew picture slugmandrew · Sep 22, 2010 · Viewed 21.6k times · Source

Have been using it for a while with CodeIgniter and I can't remember if I installed v2 or just copied the files from another project.

Any ideas?

Answer

Chuck Vose picture Chuck Vose · Sep 22, 2010

Check out the file lib/Doctrine/ORM/Version.php, there is a constant in there that shows the version. It's also accessible from a running app but this is easier.