Cough is an extremely lightweight PHP ORM framework for dealing with objects that have single table counterparts in a database. Cough is built to be easy to learn, use, and extend.
Cough generates all the code you need for managing the object model-to-relational model mapping. This includes simple methods for all your CRUD functionality. This also includes Cough Collection classes that represent the relationships between tables in your data model.
Unlike many other ORM frameworks (in PHP and other languages), Cough doesn't control how you handle your views and controllers. In an MVC application, it intends to only be the model, or a portion of the model. Because of this, it is an excellent choice for projects that involve custom development that must integrate with other existing applications.
Cough is an open source software project and is driven by community contributions.
All code Code
- Version control system:
- Programming languages:
All questions Latest questions
How to load an object based on unique contraint, and join with other table[s]?
Posted on 2011-03-21
Using other databases e.g. SQLite
Posted on 2010-07-15
How to start
Posted on 2010-03-03
Foreign keys in Generator config
Posted on 2010-01-18
Help with collections and relational database
Posted on 2009-10-13
All bugs Latest bugs reported
Bug #613851: Circular references and PHP's memory management
Reported on 2010-08-05
Bug #458371: Can't use remove() in a loop
Reported on 2009-10-22
Bug #347901: Handling of magic_quotes_gpc is wrong
Reported on 2009-03-24
Bug #340114: concrete classes should include generated classes
Reported on 2009-03-09
Bug #297308: hasKeyId returns wrong value
Reported on 2008-11-12
All blueprints Latest blueprints
generate from sql/ddl file
Registered on 2010-09-03
Add DB alias config option
Registered on 2009-07-15
dynamically generate object setters/getters/loaders via __call
Registered on 2009-04-21
Refactor Generated remove*() methods
Registered on 2009-03-24
Registered on 2009-03-23