Message Sent!

Thank you for getting in touch. We will respond to your query shortly.

TIE Compliant
English & Swahili
AI Powered

Digital Transformation for Tanzanian Schools

Streamline your educational administration with our comprehensive platform. Automate timetables, track student attendance, and generate modern curriculum lesson plans efficiently.

New Syllabus Lesson Plan (Form 1 & Form 2)

Empowering Modern Education

Explore our core digital tools built specifically to support teachers, school administrators, and students across Tanzania.

Curriculum Alignment

All generated materials and structured modules align directly with the Tanzania Institute of Education (TIE) guidelines, ensuring standard quality instruction.

Automated Efficiency

Cut down administrative overhead hours. Handle school metrics, performance analytics, and dynamic scheduling within a single unified workspace.

Secure & Reliable

Your institutional records and student datasets remain completely private, backed by resilient cloud infrastructure and seamless recovery safeguards.

Source Codes & Local Setup

Download the complete PHP source code package and follow our comprehensive guides to deploy the AI Lesson Plan Generator on your servers.

Lesson Plan System Source Code

Includes Google Gemini AI integration scripts, Beem SMS notification modules, user authentication system, and PDF generator libraries.

Download ZIP
×

System Installation Guide

Running on Localhost (XAMPP / WAMP)

  1. Download lessonplan.zip and extract it into your server directory (e.g., C:/xampp/htdocs/lessonplan/).
  2. Open your browser and navigate to http://localhost/phpmyadmin.
  3. Create a new database named lessonplan_db.
  4. Click Import and upload the database.sql file included in the root folder.
  5. Update your database connection credentials in config.php:
<?php $host = 'localhost'; $user = 'root'; $pass = ''; // Default XAMPP has no password $dbname = 'lessonplan_db'; $conn = new mysqli($host, $user, $pass, $dbname); if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } ?>

Deploying to Live Server (cPanel)

  1. Login to your cPanel and open File Manager.
  2. Navigate to your domain directory (e.g., public_html/), upload lessonplan.zip, and click Extract.
  3. Go to MySQL Databases in cPanel. Create a new database and a new database user. Link the user to the database with ALL PRIVILEGES.
  4. Go to phpMyAdmin, select your new database, and import database.sql.
  5. Edit the config.php file via File Manager with your live credentials:
<?php $host = 'localhost'; $user = 'yourcpaneluser_dbuser'; $pass = 'Your_Strong_Password_123'; $dbname = 'yourcpaneluser_lessonplan_db'; $conn = new mysqli($host, $user, $pass, $dbname); ?>

Configuring Google Gemini AI

To enable automatic lesson plan generation, you must connect the Google Gemini API.

  1. Visit Google AI Studio.
  2. Click Get API key and generate a new key for your project.
  3. Open the gemini_config.php file in your downloaded source code and paste your key:
<?php // Paste your Google Gemini API Key here define('GEMINI_API_KEY', 'AIzaSyYourGeneratedGeminiApiKeyHere'); ?>

Configuring Beem SMS Gateway

To enable automated SMS notifications to teachers upon lesson plan approval, configure Beem Africa.

  1. Register or login at Beem Africa.
  2. Navigate to the API Dashboard to retrieve your API Key and Secret Key.
  3. Open the sms_config.php file in your downloaded source code and paste your keys:
<?php // Paste your Beem SMS API credentials here define('BEEM_API_KEY', 'your_beem_api_key_here'); define('BEEM_SECRET_KEY', 'your_beem_secret_key_here'); define('BEEM_SENDER_ID', 'INFO'); // Or your approved sender ID ?>