Need advice about which tool to choose?Ask the StackShare community!

Doctrine 2

276
206
+ 1
31
peewee

50
105
+ 1
19
Add tool

Doctrine 2 vs peewee: What are the differences?

Developers describe Doctrine 2 as "An object-relational mapper (ORM) for PHP 5.3.2+ that provides transparent persistence for PHP objects". Doctrine 2 sits on top of a powerful database abstraction layer (DBAL). One of its key features is the option to write database queries in a proprietary object oriented SQL dialect called Doctrine Query Language (DQL), inspired by Hibernates HQL. On the other hand, peewee is detailed as "A small, expressive ORM -- supports postgresql, mysql and sqlite". A small, expressive orm, written in python (2.6+, 3.2+), with built-in support for sqlite, mysql and postgresql and special extensions like hstore.

Doctrine 2 and peewee can be categorized as "Object Relational Mapper (ORM)" tools.

peewee is an open source tool with 6.64K GitHub stars and 1.1K GitHub forks. Here's a link to peewee's open source repository on GitHub.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Doctrine 2
Pros of peewee
  • 14
    Great abstraction, easy to use, good docs
  • 10
    Object-Oriented
  • 7
    Easy setup
  • 7
    Easy to start
  • 4
    Free
  • 4
    High Performance
  • 4
    Open Source

Sign up to add or upvote prosMake informed product decisions

- No public GitHub repository available -

What is Doctrine 2?

Doctrine 2 sits on top of a powerful database abstraction layer (DBAL). One of its key features is the option to write database queries in a proprietary object oriented SQL dialect called Doctrine Query Language (DQL), inspired by Hibernates HQL.

What is peewee?

A small, expressive orm, written in python (2.6+, 3.2+), with built-in support for sqlite, mysql and postgresql and special extensions like hstore.

Need advice about which tool to choose?Ask the StackShare community!

What companies use Doctrine 2?
What companies use peewee?
See which teams inside your own company are using Doctrine 2 or peewee.
Sign up for StackShare EnterpriseLearn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Doctrine 2?
What tools integrate with peewee?

Sign up to get full access to all the tool integrationsMake informed product decisions

What are some alternatives to Doctrine 2 and peewee?
Propel
Propel provides a GPU-backed numpy-like infrastructure for scientific computing in JavaScript.
Hibernate
Hibernate is a suite of open source projects around domain models. The flagship project is Hibernate ORM, the Object Relational Mapper.
JavaScript
JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
Git
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
GitHub
GitHub is the best place to share code with friends, co-workers, classmates, and complete strangers. Over three million people use GitHub to build amazing things together.
See all alternatives