PHPackages                             lilinen/decor - 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. lilinen/decor

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

lilinen/decor
=============

Add method decorations with annotations.

023PHP

Since Nov 28Pushed 7y ago1 watchersCompare

[ Source](https://github.com/LiLinen/decor)[ Packagist](https://packagist.org/packages/lilinen/decor)[ RSS](/packages/lilinen-decor/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Decor
=====

[](#decor)

[![Build Status](https://camo.githubusercontent.com/4ff5931d8430bcb64141679a812a1901743285a6a4bb7a6f9da884162a0b31bf/68747470733a2f2f7472617669732d63692e6f72672f4c694c696e656e2f6465636f722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/LiLinen/decor)

Add method decorations with annotations.

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

[](#installation)

`composer require lilinen/decor`

Usage
-----

[](#usage)

### Creating custom decorations

[](#creating-custom-decorations)

Create a decoration annotation:

```
