Download the PHP package maatify/data-repository without Composer

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

Maatify Data Repository

Unified repository abstraction layer normalizing MySQL, MongoDB, and Redis real & fake drivers.

Maatify.dev


Version PHP PHP Version

Build

Monthly Downloads Total Downloads

Stars Status Code Quality

PHPStan Coverage

๐Ÿš€ Overview

Maatify Data Repository separates domain logic from database-specific implementations and provides a unified API supporting:

Why this library?

Supported Drivers

Type Real Drivers Fake Drivers
MySQL PDO / Doctrine DBAL In-memory SQL-like tables
MongoDB mongodb/mongodb In-memory BSON-like collections
Redis redis / predis In-memory key-value store

๐Ÿ“ฆ Installation

`


โšก Quick Usage

1) Create a Repository

2) Use in Production (Real Adapter)

3) Use in Testing (Fake Adapter)


๐Ÿ’Ž Hydration & DTOs


๐Ÿงฉ Key Features


๐Ÿ›‘ MongoDB ObjectId Casting Rules

Important: To ensure predictability, this library enforces strict rules for MongoDB ID casting.

Positive Example (Casting happens):

Negative Example (No casting happens):


๐Ÿ“„ Documentation

๐Ÿ“š Development History & Phase Details The development of this library follows a strict phase-based roadmap. * [**Phase 1: Bootstrap**](docs/phases/README.phase1.md) * [**Phase 3: Generic CRUD**](docs/phases/README.phase3.md) * [**Phase 15: Pagination**](docs/phases/README.phase15.md) * [**Phase 16: Pagination Optimization**](docs/phases/README.phase16.md) * [**Phase 17: Hydrated Pagination**](docs/phases/README.phase17.md) * [**Phase 20: SQL & Filter Improvements**](docs/phases/README.phase20.md) * [**Phase 21: Architecture Decoupling**](docs/phases/README.phase21.md) * [**Phase 22: FilterParser Extraction**](docs/phases/README.phase22.md) * [**Phase 26: Public API Tightening**](docs/phases/README.phase26.md) * [**Phase 28: PHPStan Generics**](docs/phases/README.phase28.md) * [**Phase 29: Developer Experience**](docs/phases/README.phase29.md)

๐Ÿ“š Development History & Phase Details

Click to expand This library evolves through a strict phase-based roadmap. ### Major Completed Phases * Phase 1 โ€“ Bootstrap & Foundation * Phase 3 โ€“ Generic CRUD * Phase 15โ€“17 โ€“ Pagination Improvements & Hydration * Phase 20 โ€“ SQL & Filter Enhancements * Phase 21 โ€“ Architecture Decoupling * Phase 22 โ€“ FilterParser Extraction * Phase 26 โ€“ Public API Tightening * Phase 28 โ€“ PHPStan Generics * Phase 29 โ€“ Developer Experience Full details available in `docs/phases/`.

๐Ÿงฑ Dependencies Overview

maatify/data-repository relies on Maatify core ecosystem + selected open-source libraries.


๐Ÿงฉ Maatify Ecosystem Dependencies

Package Description Role
maatify/bootstrap Environment loader, diagnostics, helpers Powers .env and adapter bootstrapping
maatify/data-adapters Real MySQL/Mongo/Redis adapters Production database connectivity
maatify/data-fakes Fake in-memory drivers Deterministic, Docker-free testing

๐Ÿ”Œ Direct Open-Source Dependencies

Library Purpose
psr/log Logging interface
phpunit/phpunit Test suite
phpstan/phpstan Static analysis
mongodb/mongodb MongoDB driver
predis/predis / php-redis Redis driver
doctrine/dbal (optional) MySQL DBAL abstraction

๐Ÿ”„ Indirect Dependencies (via bootstrap)

Library Purpose
vlucas/phpdotenv .env loader
psr/container DI compatibility

Special thanks to the maintainers of these open-source libraries for providing the stable foundations that make this project possible. โค๏ธ

๐Ÿงช Testing

Runs:


๐Ÿชช License

MIT License
ยฉ Maatify.dev โ€” Free to use, modify, and distribute with attribution.


๐Ÿ‘ค Author

Engineered by Mohamed Abdulalim (@megyptm)
Backend Lead & Technical Architect โ€” https://www.maatify.dev


๐Ÿค Contributors

Special thanks to the Maatify.dev engineering team and all open-source contributors.
Your efforts help make this repository stronger and more reliable.

Contributions are always welcome!
Before opening a Pull Request, please make sure to read our
Code of Conduct.


Built with โค๏ธ by Maatify.dev โ€” Unified Ecosystem for Modern PHP Libraries


All versions of data-repository with dependencies

PHP Build Version
Package Version
Requires php Version >=8.4
maatify/common Version ^1.0
maatify/data-adapters Version ^1.0
maatify/bootstrap Version ^1.0
maatify/psr-logger Version ^1.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 maatify/data-repository contains the following files

Loading the files please wait ...