PHPackages                             xiaozhuai/php\_simple\_annotation - 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. xiaozhuai/php\_simple\_annotation

ActiveLibrary

xiaozhuai/php\_simple\_annotation
=================================

A simple and sexy annotation library for php based on yaml.

1.0.2(7y ago)020MITPHP

Since Apr 11Pushed 7y ago1 watchersCompare

[ Source](https://github.com/xiaozhuai/php_simple_annotation)[ Packagist](https://packagist.org/packages/xiaozhuai/php_simple_annotation)[ RSS](/packages/xiaozhuai-php-simple-annotation/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

php\_simple\_annotation
=======================

[](#php_simple_annotation)

A simple and sexy annotation library for php based on yaml.

If `ext-yaml` is installed, use it to parse yaml , otherwise use `symfony/yaml`.

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

[](#installation)

```
$ composer require xiaozhuai/php_simple_annotation
```

Syntax
------

[](#syntax)

```
@ {

}

```

Sample Code
-----------

[](#sample-code)

```
