Download the PHP package welshdev/doctrix without Composer

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

Doctrix

A powerful, flexible query builder library for Doctrine ORM that provides an enhanced array-based criteria system and modern fluent interfaces for building complex queries.

Features

Core Query Features

Data Operations

Error Handling & Recovery

Memory-Efficient Processing

Existence & Counting

Random Selection

Relationship Management

Data Validation & Integrity

Advanced Features

Installation

Install via Composer:

Quick Start

Option 1: Inheritance (Simple & Clean)

Option 2: Service Approach (Flexible & Testable)

Basic Usage

Array-Based Criteria

Fluent Interface

Pagination

Available Operators

Comparison

Text

Null Checks

Collections

Logical

Advanced Features

Named Filters (One-Time Application)

Named filters are pre-defined, reusable query modifications that are applied once per query:

Note: Named filters are cleared after each query execution. For filters that need to persist across operations like pagination (where count() and fetch() are called separately), use Persistent Filters instead (see below).

Global Scopes

Query Caching

Aggregations

Bulk Operations

Persistent Filters

Persistent filters allow you to apply filters that remain active across multiple query operations, especially useful with pagination where count() and fetch() are called separately.

Convention-Based Filter Application

The PersistentFiltersTrait uses a naming convention to automatically find and apply filter methods:

  1. Call withFilter('filterName', $value) to register a filter
  2. Define applyFilterNameFilter(QueryBuilder $qb, $value) to handle the filter
  3. The trait automatically calls your method when building queries

Complex Filter Example

Macros (Custom Query Methods)

Query Debugging

Request-Based Queries

Quick Method Reference

Fetching Data

Checking Existence

Processing Large Datasets

Working with Relationships

Data Validation

Random Selection

Using Traits

Mix and match traits for additional functionality:


All versions of doctrix with dependencies

PHP Build Version
Package Version
Requires php Version >=8.1
doctrine/orm Version ^2.14 || ^3.0
doctrine/dbal Version ^3.0 || ^4.0
doctrine/persistence Version ^2.0 || ^3.0 || ^4.0
symfony/doctrine-bridge Version ^6.0 || ^7.0 || ^8.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 welshdev/doctrix contains the following files

Loading the files please wait ...