PHPackages                             clutch-property-mgmt/business-domain - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. clutch-property-mgmt/business-domain

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

clutch-property-mgmt/business-domain
====================================

Pure business domain models for Clutch Property Management. Contains framework-agnostic entities such as Property, Unit, Address, CompanyInfo, ContactInfo, and related value objects. Designed for Clean Architecture: zero infrastructure, no PDO, no external dependencies.

1.2.1(2mo ago)0135proprietaryPHP

Since Feb 19Pushed 2mo agoCompare

[ Source](https://github.com/clutch-property-mgmt/business-domain)[ Packagist](https://packagist.org/packages/clutch-property-mgmt/business-domain)[ RSS](/packages/clutch-property-mgmt-business-domain/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (3)Versions (6)Used By (0)

business-domain
===============

[](#business-domain)

Pure business domain models for Clutch Property Management. Contains framework-agnostic entities such as Property, Unit, Address, CompanyInfo, ContactInfo, and related value objects. Designed for Clean Architecture: zero infrastructure, no PDO, no external dependencies.

---

Table of Contents
-----------------

[](#table-of-contents)

- [Goals](#goals)
- [What’s Included](#whats-included)
- [What’s *Not* Included](#whats-not-included)
- [Install](#install)
- [Usage](#usage)
    - [Entities](#entities)
    - [Value Objects](#value-objects)
- [Directory &amp; Namespaces](#directory--namespaces)
- [Versioning](#versioning)
- [Contributing](#contributing)
- [License](#license)

Goals
-----

[](#goals)

- Represent the **core business domain** of a property management company
- Provide **stable**, **pure**, **side‑effect‑free** domain entities
- Stay **framework‑agnostic** and **persistence‑agnostic**
- Serve as the business foundation for `storefront` and `storefront-admin`

What’s Included
---------------

[](#whats-included)

- Core business entities:
    - `Property`
    - `Unit`
    - `Address`
    - `Company`
    - `CompanyInfo`
    - `ContactInfo`
- Simple domain invariants and rules with no external I/O
- Immutable value objects where appropriate

What’s *Not* Included
---------------------

[](#whats-not-included)

- No PDO or repository implementations
- No validation framework
- No HTTP, controllers, or framework glue
- No CMS-related classes (see `content-domain`)

Install
-------

[](#install)

```
composer require clutch-property-mgmt/business-domain
```

> Requires PHP 8.2+.

Usage
-----

[](#usage)

### Entities

[](#entities)

```
