PHPackages                             dhii/action-interface - 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. dhii/action-interface

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

dhii/action-interface
=====================

Interfaces for runnable actions.

048PHP

Since May 25Pushed 7y ago2 watchersCompare

[ Source](https://github.com/Dhii/action-interface)[ Packagist](https://packagist.org/packages/dhii/action-interface)[ RSS](/packages/dhii-action-interface/feed)WikiDiscussions develop Synced 3d ago

READMEChangelogDependenciesVersions (2)Used By (0)

Dhii - Action Interface
=======================

[](#dhii---action-interface)

[![Build Status](https://camo.githubusercontent.com/a8b5db0218babea59f35256e7cb26868bc013013d97fff72df941359dfb3576d/68747470733a2f2f7472617669732d63692e6f72672f446869692f616374696f6e2d696e746572666163652e7376673f6272616e63683d646576656c6f70)](https://travis-ci.org/Dhii/action-interface)[![Code Climate](https://camo.githubusercontent.com/95de72c10afd8f54385c9fa986509613cdc8bfdaea633cec51c2e70f56ea15d5/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f446869692f616374696f6e2d696e746572666163652f6261646765732f6770612e737667)](https://codeclimate.com/github/Dhii/action-interface)[![Test Coverage](https://camo.githubusercontent.com/cf7b39faeab1bd12878d93fb9fb721849b45afabfd1e30b32f466234b9e06c76/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f446869692f616374696f6e2d696e746572666163652f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/Dhii/action-interface/coverage)[![Latest Stable Version](https://camo.githubusercontent.com/c339c2e5463c341632ee364aeef30ebdd23df1185859f10cb5e314cf3b64aa39/68747470733a2f2f706f7365722e707567782e6f72672f646869692f616374696f6e2d696e746572666163652f76657273696f6e)](https://packagist.org/packages/dhii/action-interface)[![Latest Unstable Version](https://camo.githubusercontent.com/106d05f3fa2cfec4c2f84516b04a257ce1e5c95b1d24df7a6a7dc86134491c37/68747470733a2f2f706f7365722e707567782e6f72672f646869692f616374696f6e2d696e746572666163652f762f756e737461626c65)](https://packagist.org/packages/dhii/action-interface)[![This package complies with Dhii standards](https://camo.githubusercontent.com/44bbe8c7678c1784cfc53cabce5d3e32fc22a840453c5ed9c08601522fe7c213/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446869692d436f6d706c69616e742d677265656e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/Dhii/dhii)

Details
-------

[](#details)

Interfaces for runnable actions.

### Interfaces

[](#interfaces)

- [`ActionInterface`](src/ActionInterface.php) - Something that can be run.
- [`ActionAwareInterface`](src/ActionAwareInterface.php) - Something that is aware of an action.
- [`ActionFactoryInterface`](src/ActionFactoryInterface.php) - Something that can make an action.
- [`ActionFactoryAwareInterface`](src/ActionFactoryAwareInterface.php) - Something is aware of an action factory.
- [`ActionExceptionInterface`](src/Exception/ActionExceptionInterface.php) - An exception related to actions.
- [`ActionAwareExceptionInterface`](src/Exception/CouldNotRunExceptionInterface.php) - An exception that relates to a specific action.
- [`CouldNotRunExceptionInterface`](src/Exception/CouldNotRunExceptionInterface.php) - An exception that occurs when an action cannot be run.

Example
-------

[](#example)

```
use Dhii\Action\ActionInterface;

/** @var ActionInterface $action */
$action->run(); // Does something
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 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/1894e91b32c9f80d8f30a42d360af6983a507f1cf2c621b7c9a0a0de14e011c5?d=identicon)[XedinUnknown](/maintainers/XedinUnknown)

---

Top Contributors

[![XedinUnknown](https://avatars.githubusercontent.com/u/1428973?v=4)](https://github.com/XedinUnknown "XedinUnknown (13 commits)")

### Embed Badge

![Health badge](/badges/dhii-action-interface/health.svg)

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

PHPackages © 2026

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