i followed an online tutorial on integrating doctrine 2 and ZF2. i am able to insert data to database but whenever i run doctrine CLI it outputs:
#!/usr/bin/env sh
SRC_DIR="`pwd`"
cd "`dirname "$0"`"
cd "../doctrine/orm/bin"
BIN_TARGET="`pwd`/doctrine.php"
cd "$SRC_DIR"
"$BIN_TARGET" "$@"
which is the content to doctrine.php that i replaced with codes frome tutorial.
Copy the path to doctrine binaries (containing “doctrine”, “doctrine.php”, “doctrine.bat”…
Go to the root of your project, and type:
That should do it.