{"id":25418844,"url":"https://github.com/complexheart/php-sdk","last_synced_at":"2026-02-02T01:31:52.907Z","repository":{"id":130602013,"uuid":"366008074","full_name":"ComplexHeart/php-sdk","owner":"ComplexHeart","description":"Provide a set of useful classes and tools to ease the adoption of Domain-Driven Design into your PHP project.","archived":false,"fork":false,"pushed_at":"2026-01-22T07:59:29.000Z","size":15,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-22T22:21:30.947Z","etag":null,"topics":["aggregates","clean-architecture","cqrs","ddd","entities","hexagonal-architecture","ports-and-adapters","value-object"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ComplexHeart.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-05-10T10:44:22.000Z","updated_at":"2026-01-22T07:59:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"ce878790-b3d6-45d9-9141-cc3533ead0fe","html_url":"https://github.com/ComplexHeart/php-sdk","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/ComplexHeart/php-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ComplexHeart%2Fphp-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ComplexHeart%2Fphp-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ComplexHeart%2Fphp-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ComplexHeart%2Fphp-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ComplexHeart","download_url":"https://codeload.github.com/ComplexHeart/php-sdk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ComplexHeart%2Fphp-sdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28999605,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T23:10:54.274Z","status":"ssl_error","status_checked_at":"2026-02-01T23:10:47.298Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aggregates","clean-architecture","cqrs","ddd","entities","hexagonal-architecture","ports-and-adapters","value-object"],"created_at":"2025-02-16T18:28:19.756Z","updated_at":"2026-02-02T01:31:52.903Z","avatar_url":"https://github.com/ComplexHeart.png","language":null,"readme":"# Complex Heart PHP SDK\n\n[![Test](https://github.com/ComplexHeart/php-sdk/actions/workflows/test.yml/badge.svg)](https://github.com/ComplexHeart/php-sdk/actions/workflows/test.yml)\n\nAn SDK for building Domain-Driven Design (DDD) applications in PHP. This metapackage bundles the essential Complex Heart libraries to provide a complete toolset for implementing DDD patterns with value objects, entities, aggregates, and flexible query criteria.\n\n## Overview\n\nThe Complex Heart SDK is designed to ease the adoption of Domain-Driven Design principles in PHP projects by providing well-tested, production-ready components that handle common DDD patterns and challenges.\n\n## Features\n\nThis SDK includes three core packages:\n\n- **[Contracts](https://github.com/ComplexHeart/php-contracts)** - Common interfaces and contracts to decouple domain logic from infrastructure concerns\n- **[Domain Model](https://github.com/ComplexHeart/php-domain-model)** - Base classes and utilities for building Aggregates, Entities, and Value Objects\n- **[Criteria](https://github.com/ComplexHeart/php-criteria)** - Flexible query pattern implementation for building type-safe, repository-agnostic queries\n\n## Requirements\n\n- PHP ^8.2\n- ext-json\n\n## Installation\n\nInstall via Composer:\n\n```bash\ncomposer require complex-heart/sdk\n```\n\nThis will install all three packages and their dependencies.\n\n## What's Included\n\n### Contracts Package\nProvides foundational interfaces for:\n- Value Objects\n- Entities and Aggregates\n- Domain Events\n- Repositories\n- Services\n\n### Domain Model Package\nOffers base implementations for:\n- Value Objects with validation and immutability\n- Entities with identity management\n- Aggregate roots with domain event handling\n- Rich domain behaviors\n\n### Criteria Package\nEnables flexible querying with:\n- Type-safe query building\n- Filtering, ordering, and pagination\n- Repository-agnostic design\n- Composable query specifications\n\n## Documentation\n\nFor detailed documentation on each package, please visit:\n\n- [Contracts Documentation](https://github.com/ComplexHeart/php-contracts#readme)\n- [Domain Model Documentation](https://github.com/ComplexHeart/php-domain-model#readme)\n- [Criteria Documentation](https://github.com/ComplexHeart/php-criteria#readme)\n\n## License\n\nThis project is licensed under the Apache License 2.0 - see the [LICENSE](LICENSE) file for details.\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.\n\n## Support\n\nIf you encounter any issues or have questions:\n\n- Open an issue on [GitHub Issues](https://github.com/ComplexHeart/php-sdk/issues)\n- Check existing issues and discussions\n- Review the documentation for each individual package\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomplexheart%2Fphp-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcomplexheart%2Fphp-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomplexheart%2Fphp-sdk/lists"}