-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
Shashank Patil edited this page Jul 26, 2026
·
1 revision
This guide explains how to install and configure the Generic SQL API Framework.
Before installing the framework, ensure your system meets the following requirements.
- Windows 10 / 11
- Windows Server 2019+
- Linux (Experimental)
- PHP 8.1 or later
Verify your installation:
php -vCurrently supported:
- Microsoft SQL Server
Future support:
- MySQL
- PostgreSQL
- MariaDB
Install the latest Microsoft ODBC Driver for SQL Server.
Verify the driver is installed before configuring the framework.
Supported web servers:
- Apache (Recommended)
- IIS
- Nginx
For beginners, XAMPP is the easiest option.
Clone the repository.
git clone https://github.com/itsshashanksp/Generic_SQL_API_Framework.gitMove into the project directory.
cd Generic_SQL_API_FrameworkGeneric_SQL_API_Framework/
├── api/
├── config/
├── queries/
├── docs/
├── logs/
├── public/
├── assets/
└── index.php
Open:
config/database.json
Example configuration:
{
"server": "localhost\\SQLEXPRESS",
"database": "AdventureWorks",
"username": "sa",
"password": "YourPassword"
}Copy the project into your web server.
Example using XAMPP:
C:\xampp\htdocs\
Start:
- Apache
- SQL Server
Open:
http://localhost/Generic_SQL_API_Framework/
Open the API endpoint.
/api/database/info
Expected response:
{
"success": true,
"database": "AdventureWorks",
"server": "localhost\\SQLEXPRESS"
}- Verify SQL Server is running.
- Verify the ODBC Driver is installed.
- Verify database credentials.
- Enable PHP error reporting.
- Check the application logs.
Ensure the SQL file exists inside the queries directory.
Congratulations! The framework is now installed.
Continue with:
- Database Configuration
- Your First API
- JSON Request Format