Question: how orm works in php?
Answer: (Object-Relational Mapping) is a tool that allows you query database table and manipulate data from a database using an object paradigm (Object Oriented). ORM is library which helps you in query the data using functions so that PHP developer do not have to write database query manually.