I need PHP code that will take as input various attributes, and then create a well documented class using those attributes. There will be several base classes from which to extend the dynamic class. For instance, there will be a base class for Person. This will include properties such as first_name, last_name, gender, etc. Another base class would be Group. This will have properties like group_name, a collection of perons and/or other groups that are members of the group, etc.
For the class generator, code should take as input an array of class propeties in a property name, data type format. The data type can be any standard PHP type, or a base class type, or an extended class type.
At this point, no UI is needed. Ultimately, this class generator will be used as part of a website that will allow users to create their own business objects based on the base classes. For now, I just need the class generator to work.
The generated classes need to be persisted--I am not looking for "on the fly" dynamic classes that go away. Rather, they need to be created, saved to a file system, and updated to a database (metadata about the class, i.e., date created, base class used, properties added, etc.)
If this project is successful, I will use the same freelancer for additional projects related to this -- including implementing the UI in a website, etc.
10 freelancers are bidding on average $154 for this job
Sir, i'm a php coder from India, having 3 yrs expertise on Php plateform,i have read your requirement on freelancer, so regarding that i want to be in touch with you..