What are some best practices for organizing the structure of a PHP website with multiple included files?

When organizing the structure of a PHP website with multiple included files, it is important to follow best practices to maintain a clean and manageable codebase. One approach is to create separate folders for different types of files, such as one for scripts, one for stylesheets, and one for templates. This can help improve readability and make it easier to locate specific files when needed.

// Example folder structure:
// - scripts/
// - styles/
// - templates/
// - index.php

// Including files in index.php
include 'scripts/script1.php';
include 'styles/style1.css';
include 'templates/header.php';
include 'templates/footer.php';