PHPackages                             spheracle/spheracle - 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. spheracle/spheracle

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

spheracle/spheracle
===================

A library for creating Framework-independent application logic.

02PHP

Since Nov 2Pushed 7y ago1 watchersCompare

[ Source](https://github.com/Spheracle/Spheracle)[ Packagist](https://packagist.org/packages/spheracle/spheracle)[ RSS](/packages/spheracle-spheracle/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)DependenciesVersions (1)Used By (0)

Spheracle
=========

[](#spheracle)

Spheracle is PHP library for writing your application's domain logic in a framework-independent way. Spheracle makes use of [Domain-Driven Design](https://en.wikipedia.org/wiki/Domain-driven_design) concepts to help you create modular and readable domain logic code. Out of the box, Spheracle provides classes and interfaces for both your application's Domain layer and Application Service layer. For your Domain layer, Spheracle provides classes and interfaces for:

- Entities
- Value Objects
- Domain Services
- Factories
- Repositories

For your Application Service layer, Spheracle provides base classes for:

- Application Services
- Data Transport Objects (DTOs).

Installation
============

[](#installation)

To install Spheracle, run the following command in your project directory.

```
composer require spheracle/spheracle

```

Usage
=====

[](#usage)

See the [Wiki](https://github.com/PatrickL789/Spheracle/wiki) for the documentation.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/645361da1c7611216aca6d2fb2e4c9ee1cfbad6171d400172148cb93f4b29dec?d=identicon)[Spheracle](/maintainers/Spheracle)

---

Top Contributors

[![PatrickL789](https://avatars.githubusercontent.com/u/12914502?v=4)](https://github.com/PatrickL789 "PatrickL789 (30 commits)")

### Embed Badge

![Health badge](/badges/spheracle-spheracle/health.svg)

```
[![Health](https://phpackages.com/badges/spheracle-spheracle/health.svg)](https://phpackages.com/packages/spheracle-spheracle)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
