A powerful tool that automatically generates UML class diagrams from PHP source code. This tool helps developers visualize their PHP codebase structure through interactive UML diagrams.
- Easy File Upload: Simple interface to upload PHP files
- Interactive UML Diagrams: Pan, zoom, and interact with generated diagrams
- Export Capability: Download generated UML diagrams as PNG images
- Multiple File Support: Upload and analyze multiple PHP files simultaneously
- Real-time Generation: Instant UML diagram generation
- Interactive Canvas: Easy navigation and manipulation of the generated diagram
- PHP 5.0 or higher
- Web server (Apache/Nginx)
- Modern web browser
# Clone the repository
git clone https://github.com/AzarguNazari/PHP-To-UML.git
# Navigate to project directory
cd PHP-To-UML
# Start the containers
docker-compose up -d
# Access the application at
http://localhost
- Clone the repository:
git clone https://github.com/AzarguNazari/PHP-To-UML.git
- Copy the files to your web server directory:
cp -r PHP-To-UML/* /var/www/html/
- Access through your web browser at
http://localhost
-
Access the Tool
- Open your web browser and navigate to the application URL
-
Upload PHP Files
- Click on the upload button
- Select one or multiple PHP files containing your classes
- Click "Upload" to generate the UML diagram
-
Interact with the Diagram
- Use mouse wheel to zoom in/out
- Click and drag to pan around the diagram
- Click the download button to save the diagram as PNG
The repository includes example PHP files that you can use to test the tool:
- Built with PHP 5.0
- Uses HTML5 Canvas for diagram rendering
- Implements object-oriented design principles
- Supports standard UML class diagram notation
Contributions are welcome! Feel free to:
- Fork the repository
- Create a feature branch
- Submit a pull request
This project is open source and available under the MIT License.
If you encounter any issues or have questions, please open an issue on GitHub.