PHP Classes

PHP Database Web Service Layer: Execute queries prepared to use in Web services

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog (1)    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 193 All time: 8,515 This week: 129Up
Version License PHP version Categories
database-connect 1.0.0The PHP License5PHP 5, Databases


This package can execute queries prepared to use in Web services.

It provides a class that can connect to a SQL database and executes prepared queries using PDO.

Another class provides a database access layer that developers can use to call from a Web service handling application to perform additional functions with the SQL queries.

Currently, it can:

- Execute a query and automatically determine if it returns query results or not. The result values are stored in an array class variable if the query execution has results.

- Return query results as a JSON encoded string

- Execute a SQL query and automatically assign prepared statement parameter values after parsing the query

Innovation Award
PHP Programming Innovation award winner
April 2022
Web services often need to store and retrieve data from SQL databases.

Web service clients pass parameters that the Web service providers need to process to perform the operations controlled by the parameter values sent by the Web service clients.

This package simplifies using the parameter values passed by Web service clients and executing prepared queries by assigning automatically prepared query values to the parameter values passed to Web service.

Manuel Lemos
Picture of António Lira Fernandes
Name: António Lira Fernandes <contact>
Classes: 10 packages by
Country: Portugal Portugal
Age: ???
All time rank: 248936 in Portugal Portugal
Week rank: 161 Up5 in Portugal Portugal Up
Innovation award
Innovation award
Nominee: 3x

Winner: 2x

  Files folder image Files  
File Role Description
Plain text file Database.php Class Class source
Plain text file LayerDB.php Class Class source

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:8,515
This week:129Up
User Comments (2)
Usages? Examples?
1 year ago (Luiz Claudio)
Usages? Examples?
1 year ago (Luiz Claudio)