Download the PHP package infocyph/dblayer without Composer

On this page you can find all versions of the php package infocyph/dblayer. 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 dblayer

DBLayer - High-Performance PHP Database Layer

Security & Standards Packagist Downloads License: MIT Packagist Version Packagist PHP Version GitHub Code Size Documentation

A robust, secure, and feature-rich database abstraction layer for PHP 8.4+ with multi-driver compatibility.

Features

Core Features

Performance

Security

Installation

Quick Start

Basic Configuration

Query Controls

Telemetry

Query Builder

Repository Layer

Choosing APIs (DB vs QueryBuilder vs Repository)

If the same table rules appear in multiple call sites, move that logic into a repository-oriented class.

TableRepository (Repository-Oriented, Non-ORM)

Transactions

Testing

Test execution is driver-aware:

So total test count increases when more drivers are available.

Benchmarking

Benchmarks

Latest composer bench:quick sample output:

Subject Mode RSD
benchBuildSelectSql 11.79μs ±0.80%
benchSelectByPrimaryKey 28.20μs ±1.27%
benchTransactionTwoPointReads 20.66μs ±1.61%
benchUpdateSingleColumn 23.45μs ±4.21%

Environment for this sample: PHP 8.5.4, xdebug disabled, opcache disabled, 10 revs x 3 iterations.

Security

DBLayer implements multiple layers of security:

  1. Parameterization - All values automatically bound
  2. Identifier Validation - Table/column names validated
  3. Operator Whitelist - Only safe operators allowed
  4. Injection Detection - Scans for suspicious patterns
  5. Rate Limiting - Prevents query flooding
  6. Audit Logging - Tracks all queries

Hardening controls:

Requirements

Security

Protected by PHPForge — an automated quality and security gate for PHP projects.


Made with ❤️ for the PHP community
MIT Licensed
Documentation • Security • Code of Conduct • Contributing • Report BugRequest Feature

All versions of dblayer with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
ext-pdo Version *
infocyph/arraykit Version ^4.1
infocyph/cachelayer Version ^1.2
psr/log Version ^3.0
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 infocyph/dblayer contains the following files

Loading the files please wait ...