whatisgithub

What is synapse_ag?

rafael-fu2025/synapse_ag — explained in plain English

Analysis updated 2026-05-18

27PHPAudience · developerComplexity · 4/5LicenseSetup · moderate

In one sentence

A campus health and counselling system that puts clinic records, mental health appointments, and outreach under one login for a university.

Mindmap

mindmap
  root((SYNAPSE))
    What it does
      Clinic records
      Counselling appointments
      Crisis alerts
    Tech stack
      PHP
      CodeIgniter
      MySQL
    Use cases
      Campus health office
      Mental health screening
      Medicine inventory
    Audience
      Developers
      University staff

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Manage patient and counselling records for a school or college health office.

USE CASE 2

Run mental health screening with PHQ-9 and GAD-7 questionnaires and route urgent cases automatically.

USE CASE 3

Track medicine inventory with expiration and low-stock alerts.

USE CASE 4

Scan student IDs at a kiosk to check in for clinic or counselling visits.

What is it built with?

PHPCodeIgniterMySQLChart.jsJavaScript

How does it compare?

rafael-fu2025/synapse_aghuydatvn/telegram-cloud-drivesmskit/smskit
Stars272929
LanguagePHPPHPPHP
Setup difficultymoderatemoderatemoderate
Complexity4/53/53/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Needs PHP 8.2+, Composer, and a MySQL/MariaDB database imported from a provided SQL dump.

MIT license: use freely for any purpose, including commercial use, as long as you keep the copyright notice.

So what is it?

SYNAPSE is a web application built to run the health and counselling services on a college campus, tying together the clinic, the counselling office, and outreach programs that would otherwise track things separately in spreadsheets or chat messages. The project was built for Foundation University and describes itself as bringing everyone under one login with different access levels for administrators, clinic staff, counsellors, and students. The system stores patient records including consultation history, allergies, vitals, and emergency contacts. It tracks medicine inventory with expiration and low stock alerts, and lets students book counselling appointments online. It includes two standard mental health screening questionnaires, PHQ-9 for depression and GAD-7 for anxiety, and if a student's answers suggest they may be in crisis, the system automatically flags a counsellor. Referrals can move between the clinic and the counselling office with an expected response time, and every action taken in the system, from logins to record changes, gets written to an audit log. The project also includes an ID scanning feature meant for a physical kiosk, using QR codes or RFID tags, with a way to keep working temporarily if the network connection drops. A few AI-assisted features are mentioned as well, including risk scoring, predicting which patients need urgent attention, and forecasting medicine stock needs, though the README does not go into detail on how these are implemented. Under the hood it is a PHP application using the CodeIgniter framework with a MySQL database, plain JavaScript on the frontend, and Chart.js for the report dashboards. The code is organized into modules for each part of the system, such as authentication, the clinic, counselling, inventory, IoT scanning, reports, and admin functions. Setup involves installing dependencies with Composer, importing a provided SQL database file, and configuring an Apache or Nginx web server.

Copy-paste prompts

Prompt 1
Explain how the crisis alert protocol works when a student's PHQ-9 answers indicate risk.
Prompt 2
Walk me through setting up SYNAPSE locally with XAMPP and MySQL.
Prompt 3
Show me how role-based access control is enforced across the Clinic and Counselling modules.
Prompt 4
How would I adapt the medicine inventory module for a different type of institution?

Frequently asked questions

What is synapse_ag?

A campus health and counselling system that puts clinic records, mental health appointments, and outreach under one login for a university.

What language is synapse_ag written in?

Mainly PHP. The stack also includes PHP, CodeIgniter, MySQL.

What license does synapse_ag use?

MIT license: use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is synapse_ag to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is synapse_ag for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.