Note: This project was developed entirely by AI.
A user-friendly tool to easily switch between different XAMPP and PHP versions on Windows.
- 🎨 Simple Graphical User Interface: Modern and intuitive UI built with CustomTkinter.
- 🌍 Multilingual: Supports multiple languages (English, German) and is easily extendable via JSON translation files.
- 📥 Automatic Downloads: Automatically fetches and downloads missing PHP/XAMPP versions directly from SourceForge.
- 🔄 Easy Version Switching: Seamlessly switch between installed XAMPP or PHP versions with a single click.
- ⚙️ PHP Configuration Management: Integrated tools to manage PHP extensions and edit
php.inifiles. - 📦 Standalone Executable: Can be built into a standalone
.exefile for easy distribution.
- Install Python 3.8+
- Install the required dependencies:
pip install -r requirements.txt- Run the application:
python main.pyA compiled xampp-switcher.exe will be available after building.
- Start the program.
- Select your desired XAMPP/PHP version from the list.
- Click on "Switch Version" (or "Version wechseln").
- If the selected version is not installed, the tool will automatically download and install it for you.
To create a standalone .exe file:
pyinstaller --onefile --windowed --name xampp-switcher main.pyOr use the included build script:
python build.pyThe interface language can be changed in the settings. New languages can be added by creating a new language JSON file in the locales/ directory.