Skip to content

Releases: michelphp/paper-orm

improve collection handling and query parameter serialization

16 Mar 12:52

Choose a tag to compare

  • QueryBuilder: Convert iterable parameters/entities into a comma-separated string (ideal for SQL IN clauses).
  • MigrationDirectory: Add auto-creation of missing directories with recursive permissions.
  • ObjectStorage: Add fromArray and fromObjectStorage static factory methods.
  • MichelPaperORMPackage: Fix incorrect PackageInterface namespace and optimize logger injection.

Allow entity objects as QueryBuilder params and relax SyncCommand env check

16 Mar 11:01

Choose a tag to compare

  • DatabaseSyncCommand is no longer restricted to 'dev' or 'test'.
  • QueryBuilder now automatically extracts primary keys from entities in params.
  • Fixed length calculation in AutoIncrementColumn using IDBuilder.

Initial alpha release v0.0.1-alpha

16 Dec 11:32

Choose a tag to compare

This commit marks the first public alpha release of PaperORM, a lightweight and powerful Object-Relational Mapping (ORM) library for PHP.

This version is an early preview of the core functionalities and is intended for testing and feedback purposes. It is not recommended for production use as the API is still subject to change.

Core Features included in this alpha:

  • Entity Manager & Unit of Work: Initial implementation of the Unit of Work pattern for object persistence.
  • Repository Pattern: Basic repository classes for querying entities.
  • Query Builder: A flexible API for creating SQL queries.
  • Schema & Migrations: Foundational tools for database schema management.
  • Metadata & Mapping: Initial support for entity mapping.
  • Lazy Loading: Basic implementation of proxy objects for lazy loading.
  • Event System: Core event dispatcher for extensibility.
  • Caching: Initial caching support for query results.
  • Console Commands: A set of CLI tools for development tasks.
  • Database Abstraction: Support for different database platforms through a driver-based approach.