📄️ Clone SwartzDB
In this first step, you will clone the SwartzDB repository from GitHub. Cloning the repository copies all the necessary files to your local machine, allowing you to modify and integrate SwartzDB into your project.
📄️ Secure SwartzDB Folder
Securing the SwartzDB directory is important to prevent unauthorized access to its sensitive files. You can achieve this by creating or updating the .htaccess file in the /SwartzDB directory.
📄️ Modify Encryption Keys
Before using SwartzDB, you must update its configuration to secure your data. Open the /SwartzDB/config.php file and modify the following parameters:
📄️ Include Connection
This step involves including the connection file in your PHP code. The connect.php file is responsible for establishing the connection to your SwartzDB, making its functionalities available in your project.
📄️ Call SwartzDB Class
After including the connect.php file, you can start using SwartzDB by initializing its class.