PHPackages                             r3oath/hive - 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. [Framework](/categories/framework)
4. /
5. r3oath/hive

Abandoned → [enzyme/axiom](/?search=enzyme%2Faxiom)Framework[Framework](/categories/framework)

r3oath/hive
===========

Hexagonal architecture framework for Laravel 5.1

v2.1.0(10y ago)11872MITPHPPHP &gt;=5.3.0

Since Sep 27Pushed 7y ago1 watchersCompare

[ Source](https://github.com/r3oath/hive)[ Packagist](https://packagist.org/packages/r3oath/hive)[ Docs](https://github.com/r3oath/hive)[ RSS](/packages/r3oath-hive/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (5)Versions (25)Used By (0)

Deprecated
==========

[](#deprecated)

Hive has now been deprecated in favour of the more robust and framework agnostic [Enzyme/Axiom](https://github.com/enzyme/axiom) package. Axiom is unfortunately not backwards compatible with Hive. But don't worry, it still plays great with Laravel! So if you're just starting out with a new project, [try it out!](https://github.com/enzyme/axiom) 🎉

Current Build
=============

[](#current-build)

[![Build Status](https://camo.githubusercontent.com/be9d3e9cf3bb3450432e6ecdc55b4d8dbae9279a20d9e348ec33613ff7f9f01e/68747470733a2f2f7472617669732d63692e6f72672f72336f6174682f686976652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/r3oath/hive)[![Coverage Status](https://camo.githubusercontent.com/57cb7f6f3c62cb63cd48609940ccd95c028246ca6bef60d97d63587852331e61/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f72336f6174682f686976652f62616467652e7376673f6272616e63683d6d617374657226736572766963653d676974687562)](https://coveralls.io/github/r3oath/hive?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/0c768ce291eb3af1cbc40411939009a4b85680c547027816a538795194d9bbef/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f72336f6174682f686976652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/r3oath/hive/?branch=master)[![PHP version](https://camo.githubusercontent.com/ef373f3471591503ca3ad9ab68cb559171de7c206ce911e511c7df92442157a4/68747470733a2f2f62616467652e667572792e696f2f70682f72336f617468253246686976652e737667)](http://badge.fury.io/ph/r3oath%2Fhive)[![StyleCI](https://camo.githubusercontent.com/49c7ffba78efac06e4a3215ebcc1754db583a67d8e04b7e8733f0a7e90a9fac2/68747470733a2f2f7374796c6563692e696f2f7265706f732f34333130393236342f736869656c64)](https://styleci.io/repos/43109264)[![License MIT](https://camo.githubusercontent.com/c24f71524a92091a4825f5f46784c3049e3f76960c22e8320a841d71cc871f65/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f72336f6174682f686976652e737667)](https://camo.githubusercontent.com/c24f71524a92091a4825f5f46784c3049e3f76960c22e8320a841d71cc871f65/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f72336f6174682f686976652e737667)[![Documentation Status](https://camo.githubusercontent.com/08b75ea364f3a73196988d34bfb505086b7de90c95cbb3a3a3f7540656b13c56/68747470733a2f2f72656164746865646f63732e6f72672f70726f6a656374732f686976652f62616467652f3f76657273696f6e3d6c6174657374)](http://hive.readthedocs.org/en/latest/?badge=latest)

[![SensioLabsInsight](https://camo.githubusercontent.com/27038a9bc07508812d1675f61f793c8d0b5fe287aa4b0cef58e9a1176c01cf89/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f38623662343564372d313235632d346335362d616531632d6265613134663938616234632f6269672e706e67)](https://insight.sensiolabs.com/projects/8b6b45d7-125c-4c56-ae1c-bea14f98ab4c)

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

[](#installation)

Installation is simple, simply issue the following composer command

```
composer require r3oath/hive
```

Example App
===========

[](#example-app)

Want to have a play around with an example implementation of Hive? Check out the [example-app branch](https://github.com/r3oath/hive/tree/example-app).

Docs
====

[](#docs)

Check out the documentation at [ReadTheDocs](http://hive.readthedocs.org/)

Quick-fire
==========

[](#quick-fire)

Hive comes with its own Service Provider that exposes a few new Artisan commands that make generating concrete implementations faster.

To enable it, simply append the following line to the `'providers'` array inside `config\app.php`.

```
R\Hive\Providers\HiveServiceProvider::class,
```

The quickest way to setup a new collection of resources for a model is to fire off the the following command

```
php artisan hive:assemble X
```

In the example above, replace **X** with the name of your model. `hive:assemble` will create a new ***model***, ***migration***, ***mutator***, ***validator***, ***repo***, ***factory*** and ***controller*** for **Model**.

Implementations can also be generated seperately through artisan with the following Hive commands:

- hive:command
- hive:controller
- hive:factory
- hive:handler
- hive:instance
- hive:repo
- hive:validator
- hive:mutator

The Hive specific classes will be placed in the `app\Lib` directory, while the rest will be located in standard Laravel locations.

Example
=======

[](#example)

To play with an example implementation of Hive, check out the `example-app` branch of this repo.

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity68

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~2 days

Recently: every ~8 days

Total

22

Last Release

3884d ago

Major Versions

v0.5.5 → v1.0.02015-10-12

v1.0.0 → v2.0.02015-10-20

### Community

Maintainers

![](https://www.gravatar.com/avatar/148afe40f056b8f57e43ed0505c6040f762e26805b1d1bebed87484d529bae07?d=identicon)[r3oath](/maintainers/r3oath)

---

Top Contributors

[![r3oath](https://avatars.githubusercontent.com/u/2805249?v=4)](https://github.com/r3oath "r3oath (130 commits)")

---

Tags

frameworklaravelarchitecturehexagonal

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[laravel/sail

Docker files for running a basic Laravel application.

1.9k205.7M1.3k](/packages/laravel-sail)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M194](/packages/laravel-ai)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77022.3M151](/packages/laravel-mcp)[laravel/boost

Laravel Boost accelerates AI-assisted development by providing the essential context and structure that AI needs to generate high-quality, Laravel-specific code.

3.5k21.5M588](/packages/laravel-boost)[laravel/cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

2.6k29.9M146](/packages/laravel-cashier)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k15.1M131](/packages/laravel-pulse)

PHPackages © 2026

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