The best way to install Kdyby/Doctrine is using Composer:
$ composer require kdyby/doctrine
Learn more in the documentation.
Homepage http://www.kdyby.org and repository http://github.com/kdyby/doctrine.