1
I read the Documentation the only thing I didn’t understand was what his structure is like.
Explain:
My file composer.json at the root of the project
{
"require": {
"doctrine/dbal": "2.4.*"
}
}
When executing the command:
php composer.phar install
it downloads the dependencies generating the folder vendor ok. But there are many files that according to the documentation are unnecessary. See in the image my project:

I want to understand the structure of this project so I’ve been reading the only important part is the \lib\DBAL the others don’t. That’s right. And in relation to the project I wanted to use it like this. Have a folder \class and inside put the files both of doctrine\dbal as to classes bootstrap.php and crud (would be crud.php with the functions of CRUD and a require(bootstrap.php) Bootstrap is where the connection to the bank would be). And outside the folder class(project root) make function calls on my pages. It’s how I do in a normal project.
I’m asking this question because I haven’t found anything on the internet that talks about this subject or in the documentation. I’m starting at doctrine\dbal, I’m sorry if I’m being incomprehensible.
Blz. I’m trying to do something to impregnate this knowledge in it, Thanks, doubts put yes.
– JB_
Did it work out? If so, don’t forget to validate the answer. :)
– Rodrigo Rigotti
I am testing yes. Thanks I believe it will work, I will press it. How validate the answer here? I do not know how to validate.
– JB_
Just dial with an "ok" near the beginning of the answer, on the left side.
– Rodrigo Rigotti