PHPackages                             contributte/aop - 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. contributte/aop

ActiveLibrary[Framework](/categories/framework)

contributte/aop
===============

AOP for Nette Framework Dependency Injection Container

v3.0.2(2y ago)3263.8k↑70.5%3[1 PRs](https://github.com/contributte/aop/pulls)1MITPHPPHP &gt;=8.0CI passing

Since Feb 28Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/contributte/aop)[ Packagist](https://packagist.org/packages/contributte/aop)[ Docs](https://github.com/contributte/aop)[ Fund](https://contributte.org/partners.html)[ GitHub Sponsors](https://github.com/f3l1x)[ RSS](/packages/contributte-aop/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (26)Versions (8)Used By (1)

[![](https://camo.githubusercontent.com/4a244e42cff6dff592c7f677992daa5730217af05d661dfcc60b6aef65b8138b/68747470733a2f2f686561746261646765722e6e6f772e73682f6769746875622f726561646d652f636f6e74726962757474652f616f702f)](https://camo.githubusercontent.com/4a244e42cff6dff592c7f677992daa5730217af05d661dfcc60b6aef65b8138b/68747470733a2f2f686561746261646765722e6e6f772e73682f6769746875622f726561646d652f636f6e74726962757474652f616f702f)

 [![](https://github.com/contributte/aop/workflows/build/badge.svg)](https://github.com/contributte/aop/actions) [![](https://camo.githubusercontent.com/e09cef1e058d7132c214d30163ddb8c1ae38d3b2d9da70be36304ff654abfab4/68747470733a2f2f62616467656e2e6e65742f636f6465636f762f632f6769746875622f636f6e74726962757474652f616f70)](https://codecov.io/gh/contributte/aop) [![](https://camo.githubusercontent.com/e945794602bd7b3b289ef815dfa1df9bf6dbbdbf00c91729e3c4f713e105860a/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f646d2f636f6e74726962757474652f616f70)](https://packagist.org/packages/contributte/aop) [![](https://camo.githubusercontent.com/f3a70f03171cd3614c218044295ee049bcd7e08f0498ea8bdceab24252fc4dd9/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f762f636f6e74726962757474652f616f70)](https://packagist.org/packages/contributte/aop)

 [![](https://camo.githubusercontent.com/c8c72657119af245925f08dff6365398ea631f689d10692fc642c6d02beb660d/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f7068702f636f6e74726962757474652f616f70)](https://packagist.org/packages/contributte/aop) [![](https://camo.githubusercontent.com/2362fcdc301b55ae5b77bcf7efaaa9c9e22e8f5c3d0f523fc97298079815a8e4/68747470733a2f2f62616467656e2e6e65742f6769746875622f6c6963656e73652f636f6e74726962757474652f616f70)](https://github.com/contributte/aop) [![](https://camo.githubusercontent.com/a8b1cd856d7d396fdebbe46947cc3507490acc267a02361e5e53bb7b820c95c3/68747470733a2f2f62616467656e2e6e65742f62616467652f737570706f72742f6769747465722f6379616e)](https://bit.ly/ctteg) [![](https://camo.githubusercontent.com/86d6416fc04f8bcc3daa7bf881526b9953b9726b1164d05c157c8713e3a73418/68747470733a2f2f62616467656e2e6e65742f62616467652f737570706f72742f666f72756d2f79656c6c6f77)](https://bit.ly/cttfo) [![](https://camo.githubusercontent.com/5d170ab94e6d594609561e16fe0f9e4293968fbd4dfcfafc5e11efc1415ef09c/68747470733a2f2f62616467656e2e6e65742f62616467652f73706f6e736f722f646f6e6174696f6e732f463936383534)](https://contributte.org/partners.html)

Website 🚀 [contributte.org](https://contributte.org) | Contact 👨🏻‍💻 [f3l1x.io](https://f3l1x.io) | Twitter 🐦 [@contributte](https://twitter.com/contributte)

Usage
-----

[](#usage)

To install latest version of `contributte/aop` use [Composer](https://getcomposer.org).

```
composer require contributte/aop
```

Documentation
-------------

[](#documentation)

For details on how to use this package, check out our [documentation](.docs).

Versions
--------

[](#versions)

All three versions are currently maintained, use version which is supported by your current php version/dependencies. Version 3 Uses new php8 attributes and does not need doctrine annotations at all, if U're on php8 it's highly advised you use v3.

StateVersionBranchNettePHPREADMEstable`^3.0``master`3.0+`>=8.0`[README-v3](.docs/README-v3.md)stable`^2.0``v2`3.0+`>=7.4`[README-v2](.docs/README-v2.md)stable`^1.0``v1`3.0+`>=7.2`[README-v1](.docs/README-v1.md)Development
-----------

[](#development)

See [how to contribute](https://contributte.org/contributing.html) to this package.

This package is currently maintaining by these authors.

[ ![](https://avatars0.githubusercontent.com/u/9303856?v=3&s=80)](https://github.com/dakorpar)---

Inspired by [Filip Procházka](https://github.com/fprochazka) package [kdyby/Aop](https://github.com/Kdyby/Aop)

---

Consider to [support](https://contributte.org/partners.html) **contributte** development team. Also thank you for using this package.

###  Health Score

48

—

FairBetter than 95% of packages

Maintenance58

Moderate activity, may be stable

Popularity38

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 55.7% 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 ~236 days

Total

5

Last Release

958d ago

Major Versions

v1.0.0 → v2.0.02021-03-12

v2.0.0 → v3.0.02021-04-23

PHP version history (3 changes)v1.0.0PHP &gt;=7.2

v2.0.0PHP &gt;=7.4

v3.0.0PHP &gt;=8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/538058?v=4)[Milan Šulc](/maintainers/f3l1x)[@f3l1x](https://github.com/f3l1x)

---

Top Contributors

[![fprochazka](https://avatars.githubusercontent.com/u/158625?v=4)](https://github.com/fprochazka "fprochazka (147 commits)")[![dakorpar](https://avatars.githubusercontent.com/u/9303856?v=4)](https://github.com/dakorpar "dakorpar (75 commits)")[![f3l1x](https://avatars.githubusercontent.com/u/538058?v=4)](https://github.com/f3l1x "f3l1x (17 commits)")[![petrparolek](https://avatars.githubusercontent.com/u/6066243?v=4)](https://github.com/petrparolek "petrparolek (7 commits)")[![norbe](https://avatars.githubusercontent.com/u/194486?v=4)](https://github.com/norbe "norbe (7 commits)")[![mrtnzlml](https://avatars.githubusercontent.com/u/978368?v=4)](https://github.com/mrtnzlml "mrtnzlml (3 commits)")[![ohmyfelix](https://avatars.githubusercontent.com/u/261235610?v=4)](https://github.com/ohmyfelix "ohmyfelix (3 commits)")[![jost125](https://avatars.githubusercontent.com/u/757188?v=4)](https://github.com/jost125 "jost125 (1 commits)")[![PavelJurasek](https://avatars.githubusercontent.com/u/1270132?v=4)](https://github.com/PavelJurasek "PavelJurasek (1 commits)")[![enumag](https://avatars.githubusercontent.com/u/539462?v=4)](https://github.com/enumag "enumag (1 commits)")[![echo511](https://avatars.githubusercontent.com/u/658504?v=4)](https://github.com/echo511 "echo511 (1 commits)")[![Mordred](https://avatars.githubusercontent.com/u/29232?v=4)](https://github.com/Mordred "Mordred (1 commits)")

---

Tags

aopaspectscontributtenetteaopnettedidicaspectcontributte

###  Code Quality

TestsPHPUnit

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[nette/di

💎 Nette Dependency Injection Container: Flexible, compiled and full-featured DIC with perfectly usable autowiring and support for all new PHP features.

92140.6M1.4k](/packages/nette-di)[goaop/framework

Framework for aspect-oriented programming in PHP.

1.7k4.0M33](/packages/goaop-framework)[nette/bootstrap

🅱 Nette Bootstrap: the simple way to configure and bootstrap your Nette application.

68435.8M592](/packages/nette-bootstrap)[ray/di

Guice style dependency injection framework

1992.0M67](/packages/ray-di)[bear/sunday

A resource-oriented application framework

247584.6k21](/packages/bear-sunday)[kdyby/autowired

Syntax sugar for working with services in Nette Framework

30885.7k9](/packages/kdyby-autowired)

PHPackages © 2026

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