Download the PHP package simplecomplex/database without Composer

On this page you can find all versions of the php package simplecomplex/database. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package database

(PHP) Database

Scope

Compact cross-engine relational database abstraction which handles common engine-specific peculiarities.

Features

Client

Query

Result

MariaDB/MySQL features

MS SQL features

Database engine specifics

MariaDB/MySQL (PHP MySQLi/mysqlnd)

A MariaDB/MySQL multi-query is an SQL string containing more queries delimited by semicolon.
Every query may be a SELECT (or likewise) producing a result set.

PHP's MySQLi extension only offers native ?-parameter substitution for prepared statements, however the ** method mends that (somewhat); for simple statements.
Still,
go for prepared statements if security is the major concern**.

The MySQLi extension encompasses around 100 functions/methods/properties. Fairly confusing; this abstraction only utilizes a dozen or so of them.

MS SQL (PHP Sqlsrv)

PHP's Sqlsrv offers native ?-parameter substitution for simple statements as well as prepared statements.

There's no MS SQL result mode which supports (INSERT) affected-rows as well as (SELECT) num-rows.
So care should be taken to use 'forward' when inserting and 'static' or 'keyset' when selecting;
use **** option .

MS SQL/Sqlsrv has no direct means for getting insert ID, but supports likewise via a 'magic' query appended to an INSERT statement.
+ handles the issue transparently when **** receives the option .

The Sqlsrv extension is a well-made tight no-nonsense API consisting of 20-odd functions.

Examples

MariaDB/MySQL

MS SQL

Requirements

MariaDB equires the mysqlnd driver (PHP default since v. 5.4), or better.

Suggestions


All versions of database with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0
ext-ctype Version *
psr/log Version ^1.0
simplecomplex/time Version ^1 || dev-develop
simplecomplex/utils Version ^2.2 || dev-develop
simplecomplex/validate Version ^2.5 || dev-develop
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package simplecomplex/database contains the following files

Loading the files please wait ....