PHP Classes

PHP School Management System with Student Payroll: Manage payments from school students

Recommend this page to a friend!
     
  Info   Example   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 147 This week: 1All time: 9,125 This week: 42Up
Version License PHP version Categories
payroll 1.0.0The PHP License5PHP 5, Finances, Business
Description 

Author

This package implements an application to manage payments from school students.

It implements several operations with school system users and student payments, storing the information in a database.

Currently, it can:

- Add a new student

- Change student information

- Delete student information records

- Get the list of students

- Get student information details

- Add a new student payment

- Get all payments of a student

- Get the list of system users

- Get the list of school departments

- Get the list of the type of payment fees

Innovation Award
PHP Programming Innovation award nominee
June 2022
Number 8
Payroll systems are helpful to many businesses that need to keep track of the payments that their customers have made.

One type of business that usually can make good use of a payroll system is a school.

This package implements a payroll system dedicated to school business.

Manuel Lemos
Picture of Boss Ibrahim Mussa
  Performance   Level  
Innovation award
Innovation award
Nominee: 5x

 

Example

<?php
header
("Access-Control-Allow-Origin: *");
// header("Content-Type: application/json; charset=UTF-8");

include '../config/connection.php';
include_once
'../class/student.php';

$id=NULL;
$fname=NULL;
$lname=NULL;
$sex=NULL;
$phone=NULL;
$email=NULL;
$depart=NULL;


if(isset(
$_POST['student'])){
    switch(
$_POST['student']){
        case
'addstudent':
           
$fname=$_POST['fname'];
           
$lname=$_POST['lname'];;
           
$sex=$_POST['sexe'];;
           
$phone=$_POST['phone'];;
           
$email=$_POST['email'];;
           
$depart=$_POST['departement'];
           
$user = new student($connexion,$id,$fname,$lname,$sex,$email,$phone);
           
$user->insertStudent();
        break;
        case
'studentPay':
           
$iduser=$_POST['idstudent'];
           
$user = new student($connexion,$iduser,$fname,$lname,$sex,$email,$phone);
           
$user->studentPay($_POST['bkproof'],$_POST['stdAmount'],$_POST['idTypefess'],$_POST['iduser']);
        break;
       
    }
   
}
if(isset(
$_GET['student'])){
    switch(
$_GET['student']){
        case
'getStudents':
       
$user = new student($connexion,$id,$fname,$lname,$sex,$email,$phone);
       
$user->displayStudents();
        break;
        case
'getStudentInfos':
       
$id=$_GET['rollnumber'];
       
$user = new student($connexion,$id,$fname,$lname,$sex,$email,$phone);
       
$user->detailStudent();
        break;
        case
'getTransactions':
       
$id=$_GET['userid'];
       
$user = new student($connexion,$id,$fname,$lname,$sex,$email,$phone);
       
$user->studentTransaction();
        break;
    }
}




  Files folder image Files (39)  
File Role Description
Files folder imageapi (3 directories)
Files folder imagecss (2 files, 1 directory)
Files folder imagejs (4 files)
Files folder imagelib (3 files)
Files folder imagetemplate (5 files)
Accessible without login HTML file index.html Output Sample output

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:147
This week:1
All time:9,125
This week:42Up