A powerful, production-ready full-stack development framework for building modern web applications. Enterprise-grade, Docker-ready, and continuously maintained since 2009.
Documentation • ? Tutorials • Live Demo • ⚡ Quick Start
Wizard's Toolkit (WTK) is a powerful full-stack development framework combining PHP, SQL, JavaScript, and MaterializeCSS. Originally created in 2009 and continuously maintained, WTK streamlines the development of data-driven websites and mobile applications. The framework has evolved through multiple PHP versions and is currently optimized for PHP 8.1 while maintaining compatibility with earlier versions.
It provides a comprehensive solution for building and maintaining full-featured data-driven websites and mobile apps quickly and efficiently. The repository includes SQL table definitions, initial data, PHP components, HTML templates, CSS styling, and JavaScript functionality, along with extensive documentation created via phpDocs and numerous demo files.
Website: https://wizardstoolkit.com
For Windows Users:
For Mac Users:
Clone the Repository:
git clone https://github.com/AlecBS/WizardsToolkit.git
cd WizardsToolkitInitialize Environment:
./WTK.shChoose and Setup Database:
./SETUP_MYSQL.shVerify Installation: Visit http://127.0.0.1/devUtils/testWTK.php to confirm:
WizardsToolkit/
├── app/ # Application source files
├── config/ # Configuration settings
├── SQL/ # Database scripts and migrations
│ ├── mySQL/ # MySQL specific scripts
│ └── postgresql/ # PostgreSQL specific scripts
├── Mounts/ # Docker volume mount points
└── *.sh # Utility scripts
Host Configuration (Optional but recommended):
# Add to /etc/hosts
127.0.0.1 dev.wtk.com
Environment Settings: Edit your database-specific config:
# In phpMySQL.env or phpPG.env
URL = "http://dev.wtk.com" # or http://127.0.0.1Choose your preferred database:
MySQL (Default):
/Mounts/mydataPostgreSQL:
docker-composePG.yml to docker-compose.yml/Mounts/pgdataDatabase: pgwiztools
Username: wizdba
Password: See docker-compose.yml
WTK.sh: Initialize environmentSTART_CONTAINERS.sh: Launch servicesSTOP_CONTAINERS.sh: Stop all containersREBUILD_CONTAINERS.sh: Rebuild environmentRESTART_WEBSITE.sh: Quick service restartSETUP_MYSQL.sh: Initialize MySQL databaseMYSQL.sh: MySQL CLI accessAccess phpMyAdmin at http://127.0.0.1:8080/ or http://dev.wtk.com:8080/
Login:
Basic Operations:
wiztools database from the left sidebarCommon Tasks:
Connection Details:
Recommended PostgreSQL GUI Client: DBeaver (free)
Note: Ensure no local PostgreSQL server is running before starting the Docker containers.
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
Docker Build Failure:
export DOCKER_BUILDKIT=0
./WTK.sh # Retry buildDatabase Reset:
./STOP_CONTAINERS.sh
rm -rf /Mounts/mydata # For MySQL
# or
rm -rf /Mounts/pgdata # For PostgreSQL
./START_CONTAINERS.sh
./SETUP_MYSQL.sh # MySQL onlyPort Conflicts:
First-Time Setup:
Connection Issues:
For security-related issues, please use our contact form.
Built and maintained with ❤️ since 2009