PHP Classes

File: README.md

Recommend this page to a friend!
  Packages of Ramesh Narayan Jangid (Sharma)   PHP Microservices Framework   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Example script
Class: PHP Microservices Framework
Setup microservices apps with configuration arrays
Author: By
Last change: Lines
Copyright
Readme
Readme
Readme
Readme
Readme
Readme
Readme
Readme
Readme
Readme
Readme
Readme
Date: 16 days ago
Size: 3,900 bytes
 

Contents

Class file image Download

PHP low code API generator

This is a light & easy low code API generator using configuration arrays. It can be used to create API's in very short time once you are done with your database.

.env Files

Configuration Rules

JavaScript Examples

SQL Files

  • Sql/global.sql Import this SQL file on your MySql global instance
  • Sql/client\_master.sql Import this SQL file on your MySql client instance

> Note: One can import both sql's in a single database to start with. Just configure the same details in the environment files.

Folders

Files Folder

  • Logs Folder for application Logs.
  • TestCases Folder for Test Cases

public\_html Folder

  • Config Basic configuration folder
  • Files Folder for uploaded files.
  • Hooks Hooks.
  • Supplement Customised coding for APIs
  • Validation Contains validation classes.

public\_html/Files Folder

  • Dropbox/Open Uploaded files for open to web
  • Dropbox/Closed Uploaded files by authorised users
  • ServingFiles/HTML HTML files to be served with dynamic response (XSLT)
  • ServingFiles/PHP PHP view files to be served with dynamic response
  • ServingFiles/XSLT XSLT files to be served with dynamic response

public\_html/Supplement Folder

  • Crons Contains classes for cron API's
  • Custom Contains classes for custom API's
  • ThirdParty Contains classes for third-party API's
  • Upload Contains classes for upload file API's

Routes Folder

public\_html/Config/Routes

  • /Config/Routes/Auth/<GroupName>
  • /Config/Routes/Open

<GroupName> is the group user belongs to for accessing the API's

Files

  • /GETroutes.php for all GET method routes configuration.
  • /POSTroutes.php for all POST method routes configuration.
  • /PUTroutes.php for all PUT method routes configuration.
  • /PATCHroutes.php for all PATCH method routes configuration.
  • /DELETEroutes.php for all DELETE method routes configuration.

Queries Folder

These files locations are used in routes config to be used for generating response.

public\_html/Config/Queries

  • /Config/Queries/Auth/GlobalDB for global database.
  • /Config/Queries/Auth/ClientDB for clients (including all hosts and their databases).
  • /Config/Queries/Open for Open to Web API's (No Authentication).

Files

  • /GET/<filenames>.php GET method SQL.
  • /POST/<filenames>;.php POST method SQL.
  • /PUT/<filenames>.php PUT method SQL.
  • /PATCH/<filenames>.php PATCH method SQL.
  • /DELETE/<filenames>.php DELETE method SQL.

> One can replace <filenames> tag with desired name as per functionality.

? Contributing

Issues and feature requests are welcome.<br /> Feel free to share them on issues page

Author

? Ramesh N. Jangid (Sharma)

? License

Copyright © 2026 Ramesh N. Jangid (Sharma).<br /> This project is MIT licensed.