🔮 How Auto-Discovery Works
When you add a project, the system automatically detects important configuration details:
🤖 We Automatically Detect:
- Project Type - Drupal, Laravel, WordPress, or generic PHP
- Web Root - Where your public files are (web/, public/, docroot/)
- Database - Connection info from config files
- PHP Version - Which PHP your project needs
Project Type Detection
We identify your project type by looking for:
- Drupal - core/lib/Drupal.php or includes/bootstrap.inc
- Laravel - artisan file and Laravel framework
- WordPress - wp-config.php and wp-includes
- Generic - Any other PHP project
Web Root Detection
We check for common public directories:
web/- Drupal, Symfonypublic/- Laraveldocroot/- Acquia-style Drupalhtml/- Legacy setups- Project root if none found
Smart Database Detection
For Drupal sites with complex setups (like environment-based configuration), we:
- Check your Apache VHost for environment variables (SetEnv)
- Read settings.php for conditional includes
- Follow the include chain to find the actual config file
- Extract database credentials from the right file
Configuration Sources
Database credentials are read from:
- Drupal:
settings.php,settings.local.php, environment includes - Laravel:
.envfile - WordPress:
wp-config.php
💡 Safe Approach
If we can't figure it out, we'll show "undetermined" rather than guess wrong! You can always manually configure the database in project settings.

