PHP Class Generator

This tool is intended to help PHP programmers write classes. For example, you could use this page to generate a class to represent a row in a table in a MySQL or PostgreSQL database. It creates classes for PHP 4 and 5.

Encapsulation is a fundamental part of object-oriented design. This tool ensures that private members of the classes are correctly wrapped in accessor methods.

The field list should be a space separated list of field names. e.g.

id foreign_key_id product_description foo bar

This could generate a class like this.

The class name and fields list boxes are the only required fields.

Database Class Generating

Latest Work

New Brighton Wok Site
Please take a look at the new Brighton Wok site. We're particularly pleased with the photo gallery software that we developed for this project.
Password Generator
Need a secure password? Use our random password generator.