More on writing PHP libraries.PHP / By Oscar M. Really good set of guidelines for writing php libraries that others might be able to use can be found at LaughingMeme.