PHP Classes

PHP Microservices Framework: Setup microservices apps with configuration arrays

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-10-03 (Less than 1 hour ago) RSS 2.0 feedNot enough user ratingsTotal: 141 This week: 4All time: 9,196 This week: 9Up
Version License PHP version Categories
microservices 5.10MIT/X Consortium ...7.4Design Patterns, PHP 7
Description 

Author

This package can be used to setup microservices apps using configuration arrays.

It can read configuration PHP scripts that contain values that will be used to set up details of operation of an application based on microservices.

Currently it allows to configure:

- SQL query templates to perform CRUD operations on data stored in a database

- Scripts that should handle HTTP requests of methods GET, POST, DELETE, PATCH and PUT

Innovation Award
PHP Programming Innovation award winner
April 2023
Winner
Many PHP applications are based in microservices that implement Web or API interfaces.

These applications can be implemented using base core code that developers can customize in several ways.

This package implements a microservices approach based on configuration PHP scripts that contain arrays with values to set the application's behavior.

This way, it is straightforward and fast to create microservices-based applications.

Manuel Lemos
Picture of Ramesh Narayan Jangid
  Performance   Level  
Name: Ramesh Narayan Jangid <contact>
Classes: 9 packages by
Country: India India
Age: 48
All time rank: 3139203 in India India
Week rank: 7 Up1 in India India Up
Innovation award
Innovation award
Nominee: 4x

Winner: 3x

Recommendations

Online examination system for staff recruitment
Web based Online examination system for staff recruitment

Instructions

import global.sql in global database import cache.sql in cache database import client_master.sql in client_001 database

Make required config changes in .env.example

HttpAuthenticationRestrictedIp='127.0.0.1' HttpAuthenticationUser='reload_username' HttpAuthenticationPassword='reload_password'

cacheHostname='127.0.0.1' cachePort=3306 cacheUsername='root' cachePassword='shames11'

defaultDbHostname='127.0.0.1' defaultDbPort=3306 defaultDbUsername='root' defaultDbPassword='shames11'

Save .env.example as .env

Open a browser and access below once to complete with setting-up things. http://localhost/Microservices/public_html/index.php?r=/reload Make required changes as per Microservices folder path. Username/Password: reload_username/reload_password

Ready to go !

Open Postname and try requesting for access token. http://localhost/Microservices/public_html/index.php?r=/login admin/shames11 client_1_user_1/shames11

Documentation

PHP Microservices Framework

This is very light & easy Framework for Microservices. It can be used to create API's in very short time once you are done with your database.

Important Files

  • .env.example Create a copy of this file as .env
  • global.sql Import this SQL file on your MySQL global instance
  • client\_master.sql Import this SQL file on your MySQL client instance
  • cache.sql Import this SQL file for cache in MySQL cache instance if Redis is not the choice (To be configured in .env)

> Note: One can import all three sql's in a single database to start with. Just configure the same details in the .env file.

.env.example

Below are the configuration settings details in .env

  • ENVIRONMENT=0 >Environment PRODUCTION = 1 / DEVELOPMENT = 0
  • OUTPUT_PERFORMANCE_STATS=1 >Add Performance Stats in Json output: 1 = true / 0 = false
  • allowConfigRequest=1 >Allow config request (global flag): 1 = true / 0 = false
  • cronRestrictedIp='127.0.0.1' >Crons Details
  • maxPerpage=10000 >;Maximum value of perpage (records per page)

Cache Server Details (Redis)

  • cacheType='Redis'
  • cacheHostname='127.0.0.1'
  • cachePort=6379
  • cacheUsername='ramesh'
  • cachePassword='shames11'
  • cacheDatabase=0

Global Database details - global.sql

  • globalType='MySQL'
  • globalHostname='127.0.0.1'
  • globalPort=3306
  • globalUsername='root'
  • globalPassword='shames11'
  • globalDatabase='global'

global Database tables details

  • groups='m002_master_groups'
  • clients='m001_master_clients'

Default application database/server for clients

  • defaultDbType='MySQL'
  • defaultDbHostname='127.0.0.1'
  • defaultDbPort=3306
  • defaultDbUsername='root'
  • defaultDbPassword='shames11'
  • defaultDbDatabase='global'

Dedicated application database/server for client 1

  • dbHostnameClient001='127.0.0.1'
  • dbUsernameClient001='root'
  • dbPasswordClient001='shames11'
  • dbDatabaseClient001='client_001'

Dedicated application database/server for client 2

  • dbHostnameClient002='127.0.0.1'
  • dbUsernameClient002='root'
  • dbPasswordClient002='shames11'
  • dbDatabaseClient002='client_002'

Additional client database details

  • clientMasterDbName='client_master' >contains all entities required for a new client.
  • client_users='master_users' >Table in client database containing user details.

Folders

  • App Basic Microservices application folder
  • Config Basic Microservices configuration folder
  • Crons Contains classes for cron API's
  • Custom Contains classes for custom API's
  • Dropbox Folder for uploaded files.
  • public\_html Microservices doc root folder
  • ThirdParty Contains classes for third-party API's
  • Upload Contains classes for upload file API's
  • Validation Contains validation classes.

Route Folder

  • Config/Routes/&lt;GroupName&gt;

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.

&lt;GroupName&gt; assigned group to a user for accessing the API's

Example

  • For configuring route /tableName/parts GET method
    return [
    'tableName' => [
    	'parts' => [
    		'__file__' => 'SQL file location'
    	]
    ]
    ];
    
  • For configuring route /tableName/{id} where id is dynamic integer value to be collected.
    return [
    'tableName' => [
    	'{id:int}' => [
    		'__file__' => 'SQL file location'
    	]
    ]
    ];
    
  • Same dynamic variable but with a different data type, for e.g. {id} will be treated differently for string and integer values to be collected.
    return [
    'tableName' => [
    	'{id:int}' => [
    		'__file__' => 'SQL file location for integer data type'
    	],
    	'{id:string}' => [
    		'__file__' => 'SQL file location for string data type'
    	]
    ]
    ];
    
  • To restrict dynamic values to a certain set of values. One can do the same by appending comma-separated values after OR key.
    return [
    '{tableName:string|admin,group,client,routes}' => [
    	'{id:int}' => [
    		'__file__' => 'SQL file location'
    	]
    ]
    ];
    

Queries Folder

  • Config/Queries/GlobalDB for global database.
  • Config/Queries/ClientDB for Clients (including all hosts and their databases).

Files

  • /GET/&lt;filenames&gt;.php GET method SQL.
  • /POST/&lt;filenames&gt;;.php POST method SQL.
  • /PUT/&lt;filenames&gt;.php PUT method SQL.
  • /PATCH/&lt;filenames&gt;.php PATCH method SQL.
  • /DELETE/&lt;filenames&gt;.php DELETE method SQL.

> One can replace &lt;filenames&gt; tag with desired name as per functionality.

Example

  • GET method.
<?php
	return [
		 'query' => "SELECT * FROM TableName WHERE id = ? AND group_id = ? AND client_id = ?",
		'__WHERE__' => [//column => [uriParams|payload|function|readOnlySession|{custom}, key|{value}]
		'id' => ['uriParams', 'id'],
		'group_id' => ['payload', 'group_id'],
		'client_id' => ['readOnlySession', 'client_id'],
		'mode' => 'singleRowFormat',// Single row returned.
		'subQuery' => [
			'Clients' => [
				'query' => "MySQL Query here",
				'__WHERE__' => [],
				'mode' => 'multipleRowFormat'// Multiple rows returned.
			],
			...
		],
		'validate' => [
		[
			'fn' => 'validateGroupId',
			'fnArgs' => [
				'group_id' => ['payload', 'group_id']
			],
			'errorMessage' => 'Invalid Group Id'
		],
		...
	]
];

> Here query & mode keys are required keys

  • For POST/PUT/PATCH/DELETE method.
<?php
	return [
		'query' => "INSERT TableName SET SET WHERE WHERE ",
		// Fields present in below __CONFIG__ shall be supported for DB operation. Both Required and Optional
		'__CONFIG__' => [// Set your payload/uriParams fields config here.
			['payload', 'group_id', Constants::$REQUIRED], // Required field
			['payload', 'password'], // Optional field
			['payload', 'client_id'], // Optional field
		],
		'__SET__' => [
			//column => [uriParams|payload|readOnlySession|insertIdParams|{custom}|function, key|{value}|function()],
			'group_id' => ['payload', 'group_id'],
			'password' => ['function', function($input) {
				return password_hash($input['payload']['password'], PASSWORD_DEFAULT);
			}],
			'client_id' => ['readOnlySession', 'client_id']
		],
		'__WHERE__' => [// column => [uriParams|payload|function|readOnlySession|insertIdParams|{custom}, key|{value}
			'id' => ['uriParams', 'id']
		],
		'insertId' => 'tablename1:id',// Last insert id key name in $input['insertIdParams'][<tableName>:id];
		'subQuery' => [
			'module1' => [
				'query' => "MySQL Query here",
				'__SET__' => [
					'previous_table_id' => ['insertIdParams', '&lt;tableName&gt;:id'],
				],
				'__WHERE__' => [],
			],
			...
		],
		'validate' => [
			[
				'fn' => 'validateGroupId',
				'fnArgs' => [
					'group_id' => ['payload', 'group_id']
				],
				'errorMessage' => 'Invalid Group Id'
			],
			...
		]
	];

> Note: If there are modules or configurations repeated. One can reuse them by palcing them in a separate file and including as below.

'subQuery' => [
	//Here the module1 properties are reused for write operation.
	'module1' => include DOC_ROOT . 'Config/Queries/ClientDB/Common/reusefilename.php',
]

> Note: For POST, PUT, PATCH, and DELETE methods we can configure both INSERT as well as UPDATE queries.

HTTP Request

GET Request

> One can clean the URL by making the required changes in the web server .conf file.

POST, PUT, PATCH, and DELETE Request

  • Single
    {
    "Payload":
    {
    	"key1": "value1",
    	"key2": "value2",
    	...
    }
    };
    
  • Multiple
    {
    "Payload":
    [
    	{
    		"key1": "value1",
    		"key2": "value2",
    		...
    	},
    	{
    		"key1": "value1",
    		"key2": "value2",
    		...
    	},
    	...
    ]
    };
    

HttpRequest Variables

  • $input\['readOnlySession'\] Session Data. > This remains same for every request and contains keys like id, group\_id, client\_id
  • $input\['uriParams'\] Data passed in URI. > Suppose our configured route is /{table:string}/{id:int} and we make an HTTP request for /tableName/1 then $input\['uriParams'\] will hold these dynamic values as below.
  • $input\['payload'\] Request data. > For GET method, the $\_GET is the payload.
  • $input\['insertIdParams'\] Insert ids Data as per configuration. >For POST/PUT/PATCH/DELETE we perform both INSERT as well as UPDATE operation. The insertIdParams contains the insert ids of the executed INSERT queries.
  • $input\['hierarchyData'\] Hierarchy data. >For GET method, one can use previous query results if configured to use hierarchy.

Hierarchy

  • Config/Queries/ClientDB/GET/Category.php
    >In this file one can confirm how previous select data is used recursively in subQuery select as indicated by useHierarchy flag.
    'parent_id' => ['hierarchyData', 'return:id'],
    
  • Config/Queries/ClientDB/POST/Category.php .Here a request can handle the hierarchy for write operations.
return [
	'query' => "INSERT INTO `category` SET SET",
		'__CONFIG__' => [
			['payload', 'name', Constants::$REQUIRED],
		],
		'__SET__' => [
			'name' => ['payload', 'name'],
			'parent_id' => ['custom', 0],
		],
		'insertId' => 'category:id',
		'subQuery' => [
			'module1' => [
				query' => "INSERT INTO `category` SET SET",
				'__CONFIG__' => [
					['payload', 'subname', Constants::$REQUIRED],
				],
				'__SET__' => [
					'name' => ['payload', 'subname'],
					'parent_id' => ['insertIdParams', 'category:id'],
				],
				'insertId' => 'sub:id',
			]
		],
	'useHierarchy' => true
];

Hierarchy Request

  • Request - 1: Single object.
{
	"Payload":
	{
		"name":"name",
		"module1": {
			"subname":"subname",
		}
	}
}

  • Request - 2: Array of module1
{
	"Payload":
	{
		"name":"name",
		"module1":
		[
			{
				"subname":"subname1",
			},
			{
				"subname":"subname2",
			},
			...
		]
	}
}

  • Request - 3: Array of payload and arrays of module1
{
	"Payload":
	[
		{
			"name":"name1",
			"module1":
			[
				{
					"subname":"subname1",
				},
				{
					"subname":"subname2",
				},
				...
			]
		},
		{
		{
			"name":"name2",
			"module1":
			[
				{
					"subname":"subname21",
				},
				{
					"subname":"subname22",
				},
				...
			]
		},
		...
	]
}

Route ending with /config

  • Adding keyword config at the end of route after a slash returns the payload information that should be supplied; both required and optional with desired format.

Examples:

  • r=/registration/config
  • r=/category/config

One need to configure for same in route with a flag as config => true

Only these configured routes will be supported the config feature.

>For controlling globally there is a flag in env file labled allowConfigRequest

r=/routes

This lists down all allowed routes for HTTP methods respectively.

r=/check

Perform basic checks on Config folder.

Database

  • Dedicated database for respective client can be configured
  • This can also handle Master / Slave implementaion respectively

fetchFrom

  • fetchFrom is a SQL config feature where one can force the fetch from Master (Since usually it is Slave)

Javascript - HTTP request example

Login

var handlerUrl = "http://api.client001.localhost/Microservices/public_html/index.php?r=/login";
var xmlhttp = new XMLHttpRequest();

xmlhttp . open( "POST", handlerUrl );
xmlhttp . setRequestHeader('Content-type', 'text/plain');

xmlhttp . onreadystatechange = function() {
    if (this.readyState == 4 && this.status == 200) {
        var responseJson = this.responseText;
        var responseArr = JSON.parse(responseJson);
        console.log(responseArr);
        var token = responseArr\['Output'\]\['Results'\]\['Token'\];
        console.log(token);
    }
};

var params = {
	"Payload": {
		"username":"client_1_user_1",
		"password":"shames11"
	}
};

xmlhttp . send( JSON.stringify(params) );

For other API's

  • GET Request
  var handlerUrl = "http://api.client001.localhost/Microservices/public_html/index.php?r=/routes";
  var xmlhttp = new XMLHttpRequest();

  xmlhttp . open( "GET", handlerUrl );
  xmlhttp . setRequestHeader('Authorization', 'Bearer &lt;Token-from-login-api&gt;');

  xmlhttp . onreadystatechange = function() {
      if (this.readyState == 4 && this.status == 200) {
          var responseJson = this.responseText;
          var responseArr = JSON.parse(responseJson);
          console.log(responseArr);
      }
  };

  xmlhttp . send();

  • POST Request
var handlerUrl = "http://api.client001.localhost/Microservices/public_html/index.php?r=/ajax-handler-route";
var xmlhttp = new XMLHttpRequest();

xmlhttp . open( "POST", handlerUrl );
xmlhttp . setRequestHeader('Content-type', 'text/plain');
xmlhttp . setRequestHeader('Authorization', ?Bearer &lt;Token-from-login-api&gt;');

xmlhttp . onreadystatechange = function() {
    if (this.readyState == 4 && this.status == 200) {
        var responseJson = this.responseText;
        var responseArr = JSON.parse(responseJson);
        console.log(responseArr);
    }
};

var params = {
	"Payload": {
		"key1": "value1",
		"key2": "value2",
	}
};

xmlhttp . send( JSON.stringify(params) );

  • PUT Request
var handlerUrl = "http://api.client001.localhost/Microservices/public_html/index.php?r=/custom/password";
var xmlhttp = new XMLHttpRequest();

xmlhttp . open( "PUT", handlerUrl );
xmlhttp . setRequestHeader('Content-type', 'text/plain');
xmlhttp . setRequestHeader('Authorization', ?Bearer &lt;Token-from-login-api&gt;');

xmlhttp . onreadystatechange = function() {
    if (this.readyState == 4 && this.status == 200) {
        var responseJson = this.responseText;
        var responseArr = JSON.parse(responseJson);
        console.log(responseArr);
    }
};

var params = {
	"Payload": {
		"old_password": "shames11",
		"new_password": "ramesh",
	}
};

xmlhttp . send( JSON.stringify(params) );

  Files folder image Files (131)  
File Role Description
Files folder imageApp (23 files, 1 directory)
Files folder imageConfig (2 directories)
Files folder imageCron (2 files)
Files folder imageCustom (3 files)
Files folder imageDropbox (1 file)
Files folder imagepublic_html (1 file)
Files folder imageThirdParty (2 files)
Files folder imageUpload (3 files)
Files folder imageValidation (3 files)
Accessible without login Plain text file .env.example Data Auxiliary data
Accessible without login Plain text file cache.sql Data Auxiliary data
Accessible without login Plain text file client_master.sql Data Auxiliary data
Accessible without login Plain text file global.sql Data Auxiliary data
Accessible without login Plain text file License Lic. License text
Plain text file Microservices.php Class Class source
Accessible without login Plain text file README.md Doc. Example script
Plain text file Start.php Class Class source

  Files folder image Files (131)  /  App  
File Role Description
Files folder imageServers (2 directories)
  Plain text file Api.php Class Class source
  Plain text file AppTrait.php Class Class source
  Plain text file CacheHandler.php Class Class source
  Plain text file CacheKey.php Class Class source
  Plain text file Check.php Class Class source
  Plain text file Common.php Class Class source
  Plain text file Constants.php Class Class source
  Plain text file Cron.php Class Class source
  Plain text file Custom.php Class Class source
  Plain text file Env.php Class Class source
  Plain text file HttpRequest.php Class Class source
  Plain text file HttpResponse.php Class Class source
  Plain text file JsonDecode.php Class Class source
  Plain text file JsonEncode.php Class Class source
  Plain text file Login.php Class Class source
  Plain text file Logs.php Class Class source
  Plain text file Read.php Class Class source
  Plain text file Reload.php Class Class source
  Plain text file Routes.php Class Class source
  Plain text file ThirdParty.php Class Class source
  Plain text file Upload.php Class Class source
  Plain text file Validator.php Class Class source
  Plain text file Write.php Class Class source

  Files folder image Files (131)  /  App  /  Servers  
File Role Description
Files folder imageCache (3 files)
Files folder imageDatabase (2 files)

  Files folder image Files (131)  /  App  /  Servers  /  Cache  
File Role Description
  Plain text file AbstractCache.php Class Class source
  Plain text file MySQL.php Class Class source
  Plain text file Redis.php Class Class source

  Files folder image Files (131)  /  App  /  Servers  /  Database  
File Role Description
  Plain text file AbstractDatabase.php Class Class source
  Plain text file MySQL.php Class Class source

  Files folder image Files (131)  /  Config  
File Role Description
Files folder imageQueries (2 directories)
Files folder imageRoutes (4 directories)

  Files folder image Files (131)  /  Config  /  Queries  
File Role Description
Files folder imageClientDB (6 directories)
Files folder imageGlobalDB (6 directories)

  Files folder image Files (131)  /  Config  /  Queries  /  ClientDB  
File Role Description
Files folder imageCommon (2 files)
Files folder imageDELETE (2 files)
Files folder imageGET (7 files)
Files folder imagePATCH (2 files)
Files folder imagePOST (3 files)
Files folder imagePUT (2 files)

  Files folder image Files (131)  /  Config  /  Queries  /  ClientDB  /  Common  
File Role Description
  Accessible without login Plain text file Address.php Example Example script
  Accessible without login Plain text file Registration.php Example Example script

  Files folder image Files (131)  /  Config  /  Queries  /  ClientDB  /  DELETE  
File Role Description
  Accessible without login Plain text file Address.php Aux. Auxiliary script
  Accessible without login Plain text file Registration.php Aux. Auxiliary script

  Files folder image Files (131)  /  Config  /  Queries  /  ClientDB  /  GET  
File Role Description
  Accessible without login Plain text file Address-all.php Aux. Auxiliary script
  Accessible without login Plain text file Address-single.php Aux. Auxiliary script
  Accessible without login Plain text file Category.php Example Example script
  Accessible without login Plain text file Registration-all.php Aux. Auxiliary script
  Accessible without login Plain text file Registration-single.php Aux. Auxiliary script
  Accessible without login Plain text file Registration.php Example Example script
  Accessible without login Plain text file SearchCategory.php Aux. Auxiliary script

  Files folder image Files (131)  /  Config  /  Queries  /  ClientDB  /  PATCH  
File Role Description
  Accessible without login Plain text file Address.php Aux. Auxiliary script
  Accessible without login Plain text file Registration.php Aux. Auxiliary script

  Files folder image Files (131)  /  Config  /  Queries  /  ClientDB  /  POST  
File Role Description
  Accessible without login Plain text file Address.php Aux. Auxiliary script
  Accessible without login Plain text file Category.php Example Example script
  Accessible without login Plain text file Registration.php Example Example script

  Files folder image Files (131)  /  Config  /  Queries  /  ClientDB  /  PUT  
File Role Description
  Accessible without login Plain text file Address.php Aux. Auxiliary script
  Accessible without login Plain text file Registration.php Aux. Auxiliary script

  Files folder image Files (131)  /  Config  /  Queries  /  GlobalDB  
File Role Description
Files folder imageCommon (1 file)
Files folder imageDELETE (2 files)
Files folder imageGET (2 files)
Files folder imagePATCH (2 files, 3 directories)
Files folder imagePOST (2 files)
Files folder imagePUT (2 files)

  Files folder image Files (131)  /  Config  /  Queries  /  GlobalDB  /  Common  
File Role Description
  Accessible without login Plain text file Common.php Aux. Auxiliary script

  Files folder image Files (131)  /  Config  /  Queries  /  GlobalDB  /  DELETE  
File Role Description
  Accessible without login Plain text file clients.php Example Example script
  Accessible without login Plain text file groups.php Example Example script

  Files folder image Files (131)  /  Config  /  Queries  /  GlobalDB  /  GET  
File Role Description
  Accessible without login Plain text file clients.php Example Example script
  Accessible without login Plain text file groups.php Example Example script

  Files folder image Files (131)  /  Config  /  Queries  /  GlobalDB  /  PATCH  
File Role Description
Files folder imageapprove (2 files)
Files folder imagedisable (2 files)
Files folder imageenable (2 files)
  Accessible without login Plain text file clients.php Example Example script
  Accessible without login Plain text file groups.php Example Example script

  Files folder image Files (131)  /  Config  /  Queries  /  GlobalDB  /  PATCH  /  approve  
File Role Description
  Accessible without login Plain text file clients.php Example Example script
  Accessible without login Plain text file groups.php Example Example script

  Files folder image Files (131)  /  Config  /  Queries  /  GlobalDB  /  PATCH  /  disable  
File Role Description
  Accessible without login Plain text file clients.php Example Example script
  Accessible without login Plain text file groups.php Example Example script

  Files folder image Files (131)  /  Config  /  Queries  /  GlobalDB  /  PATCH  /  enable  
File Role Description
  Accessible without login Plain text file clients.php Example Example script
  Accessible without login Plain text file groups.php Example Example script

  Files folder image Files (131)  /  Config  /  Queries  /  GlobalDB  /  POST  
File Role Description
  Accessible without login Plain text file clients.php Example Example script
  Accessible without login Plain text file groups.php Example Example script

  Files folder image Files (131)  /  Config  /  Queries  /  GlobalDB  /  PUT  
File Role Description
  Accessible without login Plain text file clients.php Example Example script
  Accessible without login Plain text file groups.php Example Example script

  Files folder image Files (131)  /  Config  /  Routes  
File Role Description
Files folder imageAdminGroup (5 files)
Files folder imageClient001UserGroup1 (5 files)
Files folder imageClient001UserGroup2 (5 files)
Files folder imageCommon (2 directories)

  Files folder image Files (131)  /  Config  /  Routes  /  AdminGroup  
File Role Description
  Accessible without login Plain text file DELETEroutes.php Aux. Auxiliary script
  Accessible without login Plain text file GETroutes.php Aux. Auxiliary script
  Accessible without login Plain text file PATCHroutes.php Aux. Auxiliary script
  Accessible without login Plain text file POSTroutes.php Aux. Auxiliary script
  Accessible without login Plain text file PUTroutes.php Aux. Auxiliary script

  Files folder image Files (131)  /  Config  /  Routes  /  Client001UserGroup1  
File Role Description
  Accessible without login Plain text file DELETEroutes.php Aux. Auxiliary script
  Accessible without login Plain text file GETroutes.php Aux. Auxiliary script
  Accessible without login Plain text file PATCHroutes.php Aux. Auxiliary script
  Accessible without login Plain text file POSTroutes.php Aux. Auxiliary script
  Accessible without login Plain text file PUTroutes.php Aux. Auxiliary script

  Files folder image Files (131)  /  Config  /  Routes  /  Client001UserGroup2  
File Role Description
  Accessible without login Plain text file DELETEroutes.php Aux. Configuration script
  Accessible without login Plain text file GETroutes.php Aux. Configuration script
  Accessible without login Plain text file PATCHroutes.php Aux. Configuration script
  Accessible without login Plain text file POSTroutes.php Aux. Configuration script
  Accessible without login Plain text file PUTroutes.php Aux. Configuration script

  Files folder image Files (131)  /  Config  /  Routes  /  Common  
File Role Description
Files folder imageClientDB (5 files, 4 directories)
Files folder imageGlobalDB (5 files)

  Files folder image Files (131)  /  Config  /  Routes  /  Common  /  ClientDB  
File Role Description
Files folder imageCron (5 files)
Files folder imageCustom (5 files)
Files folder imageThirdParty (5 files)
Files folder imageUpload (5 files)
  Accessible without login Plain text file DELETEroutes.php Aux. Configuration script
  Accessible without login Plain text file GETroutes.php Aux. Configuration script
  Accessible without login Plain text file PATCHroutes.php Aux. Configuration script
  Accessible without login Plain text file POSTroutes.php Aux. Configuration script
  Accessible without login Plain text file PUTroutes.php Aux. Configuration script

  Files folder image Files (131)  /  Config  /  Routes  /  Common  /  ClientDB  /  Cron  
File Role Description
  Accessible without login Plain text file DELETEroutes.php Aux. Configuration script
  Accessible without login Plain text file GETroutes.php Aux. Configuration script
  Accessible without login Plain text file PATCHroutes.php Aux. Configuration script
  Accessible without login Plain text file POSTroutes.php Aux. Configuration script
  Accessible without login Plain text file PUTroutes.php Aux. Configuration script

  Files folder image Files (131)  /  Config  /  Routes  /  Common  /  ClientDB  /  Custom  
File Role Description
  Accessible without login Plain text file DELETEroutes.php Aux. Configuration script
  Accessible without login Plain text file GETroutes.php Aux. Configuration script
  Accessible without login Plain text file PATCHroutes.php Aux. Configuration script
  Accessible without login Plain text file POSTroutes.php Aux. Configuration script
  Accessible without login Plain text file PUTroutes.php Aux. Configuration script

  Files folder image Files (131)  /  Config  /  Routes  /  Common  /  ClientDB  /  ThirdParty  
File Role Description
  Accessible without login Plain text file DELETEroutes.php Aux. Configuration script
  Accessible without login Plain text file GETroutes.php Aux. Configuration script
  Accessible without login Plain text file PATCHroutes.php Aux. Configuration script
  Accessible without login Plain text file POSTroutes.php Aux. Configuration script
  Accessible without login Plain text file PUTroutes.php Aux. Configuration script

  Files folder image Files (131)  /  Config  /  Routes  /  Common  /  ClientDB  /  Upload  
File Role Description
  Accessible without login Plain text file DELETEroutes.php Aux. Configuration script
  Accessible without login Plain text file GETroutes.php Aux. Configuration script
  Accessible without login Plain text file PATCHroutes.php Aux. Configuration script
  Accessible without login Plain text file POSTroutes.php Aux. Configuration script
  Accessible without login Plain text file PUTroutes.php Aux. Configuration script

  Files folder image Files (131)  /  Config  /  Routes  /  Common  /  GlobalDB  
File Role Description
  Accessible without login Plain text file DELETEroutes.php Aux. Configuration script
  Accessible without login Plain text file GETroutes.php Aux. Configuration script
  Accessible without login Plain text file PATCHroutes.php Aux. Configuration script
  Accessible without login Plain text file POSTroutes.php Aux. Configuration script
  Accessible without login Plain text file PUTroutes.php Aux. Configuration script

  Files folder image Files (131)  /  Cron  
File Role Description
  Plain text file Category.php Class Class source
  Plain text file CronApi.php Class Class source

  Files folder image Files (131)  /  Custom  
File Role Description
  Plain text file Category.php Class Class source
  Plain text file CustomApi.php Class Class source
  Plain text file Password.php Class Class source

  Files folder image Files (131)  /  Dropbox  
File Role Description
  Accessible without login Image file test.txt Icon Icon image

  Files folder image Files (131)  /  public_html  
File Role Description
  Accessible without login Plain text file index.php Aux. Auxiliary script

  Files folder image Files (131)  /  ThirdParty  
File Role Description
  Plain text file Google.php Class Class source
  Plain text file ThirdPartyApi.php Class Class source

  Files folder image Files (131)  /  Upload  
File Role Description
  Plain text file Module1.php Class Class source
  Plain text file UploadApi.php Class Class source
  Plain text file UploadTrait.php Class Class source

  Files folder image Files (131)  /  Validation  
File Role Description
  Plain text file ClientValidator.php Class Class source
  Plain text file GlobalValidator.php Class Class source
  Plain text file ValidatorTrait.php Class Class source

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:141
This week:4
All time:9,196
This week:9Up
User Comments (1)