PHP Classes

PHP Payment Management System: Web application to manage company payments

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 enough user ratingsTotal: 119 All time: 9,519 This week: 571Up
Version License PHP version Categories
paymentmng 1.0.0The PHP License5PHP 5, Finances
Description 

Author

This package implements a Web application to manage company payments.

It implements a Web interface to allow users to execute operations related to payments done by a company.

Currently it implement operations:

- Manage application users like user login, list users and get user details

- Manage company department information like services, grades and salaries

Innovation Award
PHP Programming Innovation award nominee
June 2022
Number 2
Many companies need to perform several types of operations to manage payments sent and received by different people like customers, employees, etc..

This package implements an application that provides a Web-based interface to allow users to manage the operations related to payments that involve a company.

Manuel Lemos
Picture of Boss Ibrahim Mussa
  Performance   Level  
Name: Boss Ibrahim Mussa <contact>
Classes: 13 packages by
Country: Congo Congo
Age: ???
All time rank: 28911 in Congo Congo
Week rank: 178 Up1 in Congo Congo Equal
Innovation award
Innovation award
Nominee: 5x

Example

<?php
    $route
=new Router();
   
$route->get('/',function(){
       
// echo "welcom to the beggining";
       
Response::send("welcome to the Payment Management API");
   
    });
   
//user routing
   
include("user.php");
    include(
"departement.php");

   
$route->run();
?>


Details

Payment Management v2.0

this is payment management web app develloped

FrondEnd

in angularjs ,w3.css

route

the route allow to access speciphic pages of the aaplucaion according to the configuration and your need. - /: this is the root of the aplication after login. - /login: this route allow to acces the login page; - /addAgent: this route help to create a new agent as admin; - /detailEmployee: this route allow to access detail of a selected employee; - /listEmployee: this route help to get a list of all the employee; - /config: this route help to access the configuration pages af the aplication;

BackEnd

php with #WEPESI library this library help design mvc web application in simple way of doing things. there are 3 important folder: * route : where you define all the route, and call a specific controller (class) methode to execute an operation, on where all validation took place before do an operation. * controller : where you define all your controller, and where you can call all you model (class) with interact with the database * class: on this folder there are one folder app, the one you dont need care about(don't modify if you dont know what you are doing), this folder is the core of the libray,

     then, can create your file out of that folder. id where you will find class of model.

route

Is where you define all you route to reach find out all route define to do operation on the index.php

    <?php
    $route=new Router(); // create new instance of the router
    //create the default `GET` route when reaching the home routing
    $route->get('/',function(){ 
        // echo "welcom to the beggining";
        Response::send("welcome to the Payment Management API"); // return a wecom message whille connect
    
    });
    //include other routing for a better accessibility
    //user routing
    include("user.php"); 
    include("departement.php");

    $route->run(); //run the routing method to be execute
?>

as you can see on this exemple bellow. it provide example on how the libray. for more detail you can check wepesy libray documentation.

    <?php 
        $route->post('/users/login', "userCtrl#connexion");      
    ?>

This a simple example of the login route to log a user /users/login, userCtrl#connexion is a methode has been call to execute the operation on the controller. as you can see with have the class userCrl and inside we have the methode connexion that help to connect a user.

DataBASE

find out a file name sentinel, import it into your your database call sentinel phpmyadmin. you can change the database name.

change Database configuration

to change the database name with your own. go into api\config\global.php from there you can change

    define("HOST", "localhost"); //you set the host: where is locate your server. for this exemple is on localhost
    define("DATABASE", "sentinel"); // `sentinel` is the database by default.
    define("USER", "root"); //`root` is the user by default you can changer with yours
    define("PASSWORD", ""); //the password is empty by default

  Files folder image Files (71)  
File Role Description
Files folder image.vscode (2 files)
Files folder imageapi (3 files, 6 directories)
Files folder imagefront (1 file, 4 directories)
Files folder imagenbproject (2 files)
Accessible without login Plain text file README.md Doc. Read me

  Files folder image Files (71)  /  .vscode  
File Role Description
  Accessible without login Plain text file launch.json Data Auxiliary data
  Accessible without login Plain text file settings.json Data Auxiliary data

  Files folder image Files (71)  /  api  
File Role Description
Files folder imageclass (3 directories)
Files folder imageconfig (6 files)
Files folder imagecontroller (4 files)
Files folder imagelang (2 files)
Files folder imagerequest (1 file)
Files folder imageroute (3 files)
  Accessible without login Plain text file .htaccess Data Auxiliary data
  Accessible without login Plain text file index.php Aux. Auxiliary script
  Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files (71)  /  api  /  class  
File Role Description
Files folder imageapp (14 files, 3 directories)
Files folder imagehelper (1 file)
Files folder imagemodel (2 files)

  Files folder image Files (71)  /  api  /  class  /  app  
File Role Description
Files folder imagedb (4 files)
Files folder imagelocal (1 file)
Files folder imageroute (2 files)
  Plain text file BoxMessage.php Class Class source
  Plain text file Bundles.php Class Class source
  Plain text file Config.php Class Class source
  Plain text file Controller.php Class Class source
  Plain text file Export.php Class Class source
  Plain text file Hash.php Class Class source
  Plain text file Input.php Class Class source
  Plain text file Media.php Class Class source
  Plain text file Redirect.php Class Class source
  Plain text file Response.php Class Class source
  Plain text file Session.php Class Class source
  Plain text file Token.php Class Class source
  Plain text file Validate.php Class Class source
  Plain text file View.php Class Class source

  Files folder image Files (71)  /  api  /  class  /  app  /  db  
File Role Description
  Plain text file DB.php Class Class source
  Plain text file DBQeury.php Class Class source
  Plain text file DBSelect.php Class Class source
  Plain text file QueryParams.php Class Class source

  Files folder image Files (71)  /  api  /  class  /  app  /  local  
File Role Description
  Accessible without login Plain text file en.json Data Auxiliary data

  Files folder image Files (71)  /  api  /  class  /  app  /  route  
File Role Description
  Plain text file Route.php Class Class source
  Plain text file Router.php Class Class source

  Files folder image Files (71)  /  api  /  class  /  helper  
File Role Description
  Plain text file ExceptionError.php Class Class source

  Files folder image Files (71)  /  api  /  class  /  model  
File Role Description
  Plain text file configurations.php Class Class source
  Plain text file users.php Class Class source

  Files folder image Files (71)  /  api  /  config  
File Role Description
  Accessible without login Plain text file config.ini Data Auxiliary data
  Accessible without login Plain text file connection.php Example Example script
  Accessible without login Plain text file cors.php Aux. Auxiliary script
  Accessible without login Plain text file global.php Example Example script
  Accessible without login Plain text file init.php Aux. Auxiliary script
  Accessible without login Plain text file sentinell.sql Data Auxiliary data

  Files folder image Files (71)  /  api  /  controller  
File Role Description
  Plain text file departementCtrl.php Class Class source
  Accessible without login Plain text file function.php Aux. Auxiliary script
  Plain text file userCtrl.php Class Class source
  Plain text file validateToken.php Class Class source

  Files folder image Files (71)  /  api  /  lang  
File Role Description
  Accessible without login Plain text file en.php Aux. Auxiliary script
  Accessible without login Plain text file fr.php Aux. Auxiliary script

  Files folder image Files (71)  /  api  /  request  
File Role Description
  Accessible without login Plain text file myconfig.php Example Example script

  Files folder image Files (71)  /  api  /  route  
File Role Description
  Accessible without login Plain text file departement.php Example Example script
  Accessible without login Plain text file index.php Example Example script
  Accessible without login Plain text file user.php Example Example script

  Files folder image Files (71)  /  front  
File Role Description
Files folder imagecss (2 files, 1 directory)
Files folder imagejs (4 files)
Files folder imagelib (3 files)
Files folder imagetemplate (6 files, 1 directory)
  Accessible without login HTML file index.html Doc. Documentation

  Files folder image Files (71)  /  front  /  css  
File Role Description
Files folder imagefont-awesome-4.7.0 (2 directories)
  Accessible without login Plain text file index.css Data Auxiliary data
  Accessible without login Plain text file w3.css Data Auxiliary data

  Files folder image Files (71)  /  front  /  css  /  font-awesome-4.7.0  
File Role Description
Files folder imagecss (2 files)
Files folder imagefonts (1 file)

  Files folder image Files (71)  /  front  /  css  /  font-awesome-4.7.0  /  css  
File Role Description
  Accessible without login Plain text file font-awesome.css Data Auxiliary data
  Accessible without login Plain text file font-awesome.min.css Data Auxiliary data

  Files folder image Files (71)  /  front  /  css  /  font-awesome-4.7.0  /  fonts  
File Role Description
  Accessible without login Plain text file fontawesome-webfont.svg Data Auxiliary data

  Files folder image Files (71)  /  front  /  js  
File Role Description
  Accessible without login Plain text file index.js Data Auxiliary data
  Accessible without login Plain text file iniApp.js Data Auxiliary data
  Accessible without login Plain text file services.js Data Auxiliary data
  Accessible without login Plain text file w3.js Data Auxiliary data

  Files folder image Files (71)  /  front  /  lib  
File Role Description
  Accessible without login Plain text file angular-route.min.js Data Auxiliary data
  Accessible without login Plain text file angular-sanitize.min.js Data Auxiliary data
  Accessible without login Plain text file angular.min.js Data Auxiliary data

  Files folder image Files (71)  /  front  /  template  
File Role Description
Files folder imagemessage (4 files)
  Accessible without login HTML file addAgent.html Doc. Documentation
  Accessible without login HTML file config.html Doc. Documentation
  Accessible without login HTML file detailEmployee.html Doc. Documentation
  Accessible without login HTML file home.html Doc. Documentation
  Accessible without login HTML file listEmployee.html Doc. Documentation
  Accessible without login HTML file login.html Doc. Documentation

  Files folder image Files (71)  /  front  /  template  /  message  
File Role Description
  Accessible without login HTML file alert.html Doc. Documentation
  Accessible without login HTML file confirm.html Doc. Documentation
  Accessible without login HTML file danger.html Doc. Documentation
  Accessible without login HTML file succes.html Doc. Documentation

  Files folder image Files (71)  /  nbproject  
File Role Description
  Accessible without login Plain text file project.properties Data Auxiliary data
  Accessible without login Plain text file project.xml Data Auxiliary data

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:119
This week:0
All time:9,519
This week:571Up