Quick search:

Application Framework and Component Model

PhpPeanuts is an open source MVC framework for developing database-backed applications in PHP. It supports high and sustainable developer productivity by adaptive components and reduces project risk by rapid prototyping.

With phpPeanuts you do not build an application from the bottom up. Initially you only build domain model classes in PHP in which you specify properties, relationships and database table names in meta data. The framework will then dynamically scaffold getters and setters, persistency, navigation over relations, input and delete validation and filtering by nested properties. On top of that the abstract user interface instantly offers a rich set of pages for searching, browsing, drilling down, edting and reporting over your domain model.

Once you got that working you extend and refine both the domain model and the user interface  step by step to make it more and more like you want it to be. As far as it is not overridden the scaffolded and abstract components will adapt dynamically to your changes and extensions. This allows you to start with the simpelest thing that could possibly work for your application, and refactor later if the need arises, without losing much productivity. The eXtreme Programming way.

Though phpPeanuts has been available since 2004 it is still light wheight and its abstract user interface and filtering by nested properties have been unchallenged until 2015. A composer release is still available, see downloads page.



  • There is now a worthy successor for phpPeanuts: API Platform, see the Forum,
  • The examples are currently off line.