Here are the slides for my talk on how to organize your PHP projects:

organize-php-project-2007.pdf

Are you stuck with a legacy PHP application? You should buy my book because it gives you a step-by-step guide to improving you codebase, all while keeping it running the whole time.