PHPackages                             otaku/atomic - 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. otaku/atomic

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

otaku/atomic
============

This is an Atomic Repository template based on the OTAKU Manifesto.

v1.0.2(3mo ago)05MITPHPPHP ^8.4

Since Jan 22Pushed 3mo agoCompare

[ Source](https://github.com/phprise-foundation/otaku-atomic)[ Packagist](https://packagist.org/packages/otaku/atomic)[ RSS](/packages/otaku-atomic/feed)WikiDiscussions 1.x Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

{{PROJECT\_NAME}}
=================

[](#project_name)

The Atomic Repository is the smallest possible unit of granularity. It enforces a strict architectural boundary through the following rules:

1. **No Subdirectories**: Only one level of directory inside src/.
2. **Maximum 10 Files**: Only 10 files per package.
3. **Strict Typing**: Mandatory `declare(strict_types=1)` and full type hinting for all properties and methods.
4. **Object Calisthenics**: Maximum of 50 lines per class and 2 instance variables to ensure extreme cohesion.
5. **Value Objects**: All primitives must be wrapped. Raw strings or integers are not permitted in domain logic.
6. **First Class Collections**: Arrays are forbidden for data transport; use dedicated Collection objects.
7. **Tell, Don't Ask**: Getters and setters are prohibited. Objects must expose behavior, not state.
8. **Infrastructure Ignorance**: The domain core is decoupled from persistence, frameworks, and external tools.
9. **Logic Flow**: The `else` keyword is banned. Use guard clauses and early returns to minimize indentation.

Installation
------------

[](#installation)

To create a new Atomic Repository using this template:

```
composer create-project otaku/atomic
```

Usage
-----

[](#usage)

\[Describe here the usage\]

Philosophy
----------

[](#philosophy)

We follow **The OTAKU Manifesto: Fluid Structure Design**.

1. **O** - Own your Discipline (Be strict with yourself)
2. **T** - Tools for Composition (Compose like Unix)
3. **A** - Armor the Core (Protect the heart of the business)
4. **K** - Keep Infrastructure Silent (Infrastructure is just a detail)
5. **U** - Universal Language &amp; Contracts (Speak the user's language via clear contracts)

Please read more about it in [PHILOSOPHY.md](PHILOSOPHY.md).

License
-------

[](#license)

MIT License

Free to use, modify, and distribute.

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance78

Regular maintenance activity

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60% 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.

###  Release Activity

Cadence

Every ~0 days

Total

4

Last Release

116d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3b1815540bc9ab8012b61aa12e1a35025d9a0b11a1642977192fd173b6bfc5aa?d=identicon)[esdras-schonevald](/maintainers/esdras-schonevald)

---

Top Contributors

[![esdras-schonevald](https://avatars.githubusercontent.com/u/64711203?v=4)](https://github.com/esdras-schonevald "esdras-schonevald (3 commits)")[![esdrasprogramer](https://avatars.githubusercontent.com/u/93490691?v=4)](https://github.com/esdrasprogramer "esdrasprogramer (2 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[strictus/strictus

Strict Typing for local variables in PHP

1606.9k](/packages/strictus-strictus)[kunstmaan/generator-bundle

If you're like us, you like to build applications without having to do the same things over and over again and dislike copy/pasting code and change a couple of words every time you need feature X. The KunstmaanGeneratorBundle gives you the possibility to generate code for new bundles, adminlists and can even make you a basic default website. That way you don't have to wait too long before you see some results and you have more time to do other things. Easy no?

23113.5k2](/packages/kunstmaan-generator-bundle)[ollyxar/websockets-chat

Laravel WebSockets Chat

431.1k](/packages/ollyxar-websockets-chat)

PHPackages © 2026

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