awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
doctrine avatar

doctrine/persistence

0
View on GitHub↗
4,049 星标·75 分支·PHP·MIT·10 次浏览www.doctrine-project.org/projects/persistence.html↗

Persistence

这是一个对象持久化库和数据映射器抽象层。它提供了一组共享接口和基类,旨在将领域逻辑与特定的对象映射器实现解耦,从而将业务领域层与底层数据访问实现分离开来。

该库包含一个数据库模式管理和迁移工具,用于定义、版本化和部署跨不同环境的数据库结构增量更新。它还可用作文档数据库映射器,将对象状态转换为结构化文档格式以进行存储和检索。

该系统涵盖了广泛的持久化功能,包括对象集合的管理以及在不调用构造函数的情况下实例化对象以恢复状态的能力。它还提供了用于数据库模式版本化和调度自定义事件的实用程序,以允许解耦组件对持久化更改做出反应。

Features

  • Object Mappers - Provides an abstraction layer that maps application data models to database structures to simplify storage and retrieval.
  • Persistence Abstractions - Implements a comprehensive persistence abstraction layer that decouples domain logic from specific database storage backends.
  • Data Abstraction Layers - Defines interfaces that decouple application logic from specific database storage backends.
  • Data Persistence and Storage - Implements architectures dedicated to the durable storage and long-term management of object-oriented digital information.
  • Generic Base Mapper Interfaces - Provides generic base mapper interfaces to ensure consistent behavior across different object mapping implementations.
  • Persistence Provider Interfaces - Provides standardized interfaces that allow the implementation of custom storage backends for the persistence layer.
  • Database Schema Migrations - Automates the application of versioned updates to database schemas to maintain structural compatibility with application code.
  • Database Schema Managers - Provides a declarative toolset for defining and managing database structures across different environments.
  • Object-Document Mappers - Maps application objects to document database structures using translation logic.
  • Object Persistence - Defines shared interfaces for saving and retrieving complex objects from persistent data stores.
  • Object Persistence Tools - Provides mechanisms for saving and restoring the internal state of language-native objects to and from external storage.
  • Schema Version Tracking - Tracks database schema changes by recording unique identifiers of applied updates in a database table.
  • Database Schema Migrations - Includes a system for versioning and applying incremental database schema updates to maintain consistency across environments.
  • Object-to-Document Mappings - Translates object states into structured document formats for storage and retrieval within document-oriented databases.
  • Domain Data Presentation Layers - Implements architectural patterns that separate an application into domain, data, and presentation layers.
  • Domain-Persistence Decoupling - Separates business entity definitions from database schemas to allow domain rules to drive the model.
  • Document Database Modeling - Provides a framework for mapping application data structures to document-oriented database formats.
  • Schema Migration Executors - Applies incremental updates to a database schema to migrate it to a target version without losing data.
  • Object Collection Management - Implements specialized methods for handling groups of objects during data persistence operations.
  • Reflection-Based Instantiators - Utilizes reflection to instantiate class objects without invoking constructors to restore their state from storage.
  • Persistence Event Dispatchers - Dispatches custom signals throughout the application lifecycle to let decoupled components react to persistence changes.
  • PHP Event Dispatchers - Implements PHP libraries that dispatch named events to registered listeners for decoupled communication.

Star 历史

doctrine/persistence 的 Star 历史图表doctrine/persistence 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

常见问题解答

doctrine/persistence 是做什么的?

这是一个对象持久化库和数据映射器抽象层。它提供了一组共享接口和基类,旨在将领域逻辑与特定的对象映射器实现解耦,从而将业务领域层与底层数据访问实现分离开来。

doctrine/persistence 的主要功能有哪些?

doctrine/persistence 的主要功能包括:Object Mappers, Persistence Abstractions, Data Abstraction Layers, Data Persistence and Storage, Generic Base Mapper Interfaces, Persistence Provider Interfaces, Database Schema Migrations, Database Schema Managers。

doctrine/persistence 有哪些开源替代品?

doctrine/persistence 的开源替代品包括: doctrine/orm — Doctrine ORM is a PHP object-relational mapper that connects application objects to relational database tables. It… mattes/migrate — This project is a database schema migration engine that provides a command-line interface and a library for managing… doctrine/instantiator — Instantiator is a PHP library designed to create class instances without invoking their constructors. It uses the PHP… threedotslabs/wild-workouts-go-ddd-example — This project is a reference implementation of Domain-Driven Design, Clean Architecture, and Command Query… thuss/standalone-migrations — Standalone Migrations is a Ruby-based utility that provides database schema management and migration capabilities… goravel/goravel — Goravel is a full-featured development scaffold and framework for building web applications, REST APIs, and gRPC…

Persistence 的开源替代方案

相似的开源项目,按与 Persistence 的功能重合度排序。
  • doctrine/ormdoctrine 的头像

    doctrine/orm

    10,172在 GitHub 上查看↗

    Doctrine ORM is a PHP object-relational mapper that connects application objects to relational database tables. It uses the data mapper and identity map patterns to decouple the in-memory object model from the database schema, allowing developers to manage data persistence without writing manual SQL. The project features a dedicated object-oriented query language and programmatic builder for retrieving data based on entities rather than tables. It implements a unit-of-work system to track object changes during a request and synchronize them via atomic transactions. The capability surface inc

    PHPhacktoberfest
    在 GitHub 上查看↗10,172
  • mattes/migratemattes 的头像

    mattes/migrate

    2,282在 GitHub 上查看↗

    This project is a database schema migration engine that provides a command-line interface and a library for managing sequential structural changes. It functions as a version control utility for database schemas, enabling the application, reversion, and synchronization of incremental updates across development and production environments. The tool distinguishes itself through a driver-based abstraction layer that supports a wide range of relational and non-relational storage systems. It maintains schema consistency by using a dedicated metadata table to track versions and prevent concurrent up

    Goaws-s3cassandracrate
    在 GitHub 上查看↗2,282
  • doctrine/instantiatordoctrine 的头像

    doctrine/instantiator

    10,999在 GitHub 上查看↗

    Instantiator is a PHP library designed to create class instances without invoking their constructors. It uses the PHP Reflection API to allocate objects in memory and initialize them in a predefined state, bypassing standard constructor logic. The project functions as a data hydration tool and a testing helper. It enables the population of PHP objects from external data sources by mapping values directly to properties, regardless of whether those properties are public, protected, or private. This capability allows for the generation of objects in specific internal states for unit tests withou

    PHP
    在 GitHub 上查看↗10,999
  • threedotslabs/wild-workouts-go-ddd-exampleThreeDotsLabs 的头像

    ThreeDotsLabs/wild-workouts-go-ddd-example

    6,348在 GitHub 上查看↗

    This project is a reference implementation of Domain-Driven Design, Clean Architecture, and Command Query Responsibility Segregation (CQRS) patterns using the Go programming language. It serves as a sample application to demonstrate how to decouple core domain rules from infrastructure and delivery mechanisms. The system is built as a gRPC microservices architecture, utilizing type-safe communication and service contracts. It implements an event-driven architecture to manage eventual consistency and asynchronous processing, specifically employing the Outbox pattern to ensure reliable messagin

    Goclean-architecturecqrsddd
    在 GitHub 上查看↗6,348
查看 Persistence 的所有 30 个替代方案→