I need to integrate TCPDF as third party library in Symfony 2.1.
I tried in composer.json like
"repositories": [
{
"type": "vcs",
"url": "git://tcpdf.git.sourceforge.net/gitroot/tcpdf/tcpdf"
}
],
"require": {
"tcpdf/tcpdf":"*"
},
But it gives an error The requested package tcpdf * could not be found.
How to give third party libraries correct in composer.json file?
TCPDF library don't follow namespaces, so how we can access this library in our bundle?