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

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

mouf/utils.action.action-interface
==================================

This package contains an interface used by many objects to say they can do stuff. Actually, they can perform one particular action and has been designed for that. The action performed is completely up to the implementer (sending a mail, storing a result in database, displaying something on the screen...) The concept is very simple, and very powerful at the same time.

v1.0.0(12y ago)0369.6k↓35.2%6MITPHPPHP &gt;=5.3.0

Since Oct 29Pushed 11y ago10 watchersCompare

[ Source](https://github.com/thecodingmachine/utils.action.action-interface)[ Packagist](https://packagist.org/packages/mouf/utils.action.action-interface)[ Docs](https://mouf-php.com/mouf/utils.action.action-interface)[ RSS](/packages/mouf-utilsactionaction-interface/feed)WikiDiscussions 1.0 Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (6)

What is this package
====================

[](#what-is-this-package)

This package contains an interface used by many objects to declare they can perform an action. Objects implementing this interface can perform one particular action and have been designed for that. The action performed is completely up to the implementer (sending a mail, storing a result in database, displaying something on the screen...) The concept is very simple, and very powerful at the same time.

This is a very simple and very powerful system.

```
namespace Mouf\Utils\Action;

interface ActionInterface {
	/**
	 * Executes the action the object has been designed for.
	 *
	 * @throws \Exception
	 */
	public function run();
}
```

Here are a few samples:

- a class that sends one mail
- a class that outputs some HTML
- a class that displays an error if the user does not have the correct right
- ...

Mouf package
------------

[](#mouf-package)

This package is part of Mouf (), an effort to ensure good developing practices by providing a graphical dependency injection framework.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity58

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.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

4584d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1104771?v=4)[mouf](/maintainers/mouf)[@Mouf](https://github.com/Mouf)

---

Top Contributors

[![moufmouf](https://avatars.githubusercontent.com/u/1290952?v=4)](https://github.com/moufmouf "moufmouf (3 commits)")

---

Tags

interfacemoufactionactioninterface

### Embed Badge

![Health badge](/badges/mouf-utilsactionaction-interface/health.svg)

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

###  Alternatives

[nette/robot-loader

🍀 Nette RobotLoader: high performance and comfortable autoloader that will search and autoload classes within your application.

89352.7M321](/packages/nette-robot-loader)[tormjens/eventy

The WordPress filter/action system in Laravel

438912.9k16](/packages/tormjens-eventy)[marcelog/pami

Asterisk Manager Interface (AMI) client for PHP, event driven, object oriented

415750.6k1](/packages/marcelog-pami)[samrap/acf-fluent

A fluent interface for the Advanced Custom Fields WordPress plugin

28656.0k4](/packages/samrap-acf-fluent)[markwalet/nova-modal-response

A Laravel Nova asset for Modal responses on an action.

14720.0k](/packages/markwalet-nova-modal-response)[chan-sccp/pami

Asterisk Manager Interface (AMI) client for PHP, event driven, object oriented (Fork)

2952.3k](/packages/chan-sccp-pami)

PHPackages © 2026

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