{"id":86301,"library":"doctrine-orm","title":"Doctrine ORM","description":"Object-Relational-Mapper for PHP","status":"active","version":"3.6.7","language":"php","source_language":null,"source_url":"https://github.com/doctrine/orm","tags":["orm","doctrine","database","entity","mapping"],"install":[{"cmd":"composer require doctrine/orm","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"EntityManager","correct":"use Doctrine\\ORM\\EntityManager;"}],"quickstart":{"code":"use Doctrine\\ORM\\EntityManager;\nuse Doctrine\\ORM\\ORMSetup;\n\n$config = ORMSetup::createAttributeMetadataConfiguration([__DIR__ . '/src'], true);\n$conn = ['driver' => 'pdo_sqlite', 'path' => __DIR__ . '/db.sqlite'];\n$entityManager = EntityManager::create($conn, $config);","lang":"php","description":"Create an EntityManager with SQLite and attribute mapping."},"warnings":[{"fix":"Use fetch joins or explicit eager loading to avoid N+1","message":"Lazy loading requires proxy generation; may cause unexpected queries","severity":"gotcha","affected_versions":">=2.0"}],"env_vars":null,"search_vec":"'databas':11 'doctrin':1,10 'entiti':12 'map':13 'mapper':6 'object':4 'object-relational-mapp':3 'orm':2,9 'php':8 'relat':5","created_at":"2026-06-19T07:59:08.232164+00:00","updated_at":"2026-06-19T07:59:08.232164+00:00","problems":[],"ecosystem":"packagist","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://www.doctrine-project.org/projects/orm.html","github":"https://github.com/doctrine/orm","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["orm","database"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}