PHPackages                             larammerce/annotation-parser - 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. larammerce/annotation-parser

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

larammerce/annotation-parser
============================

A PHP annotation parser system based on PHP-doc.

1.1.1(6y ago)3462[1 PRs](https://github.com/larammerce/annotation-parser/pulls)1MITPHPPHP ^7.1.3

Since Jul 3Pushed 1y ago1 watchersCompare

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

READMEChangelogDependencies (1)Versions (5)Used By (1)

annotation-parser
=================

[](#annotation-parser)

[![Build Status](https://camo.githubusercontent.com/25d5da5c15fc7c1bf913589f435973b0adfec3666eea4d641f84d9a2f647a4b5/68747470733a2f2f7472617669732d63692e6f72672f6c6172616d6d657263652f616e6e6f746174696f6e2d7061727365722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/larammerce/annotation-parser)

A PHP [annotation](https://www.geeksforgeeks.org/annotations-in-java/) parser.

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

[](#installation)

```
composer require larammerce/annotation-parser
```

By default there is no annotation in php language, but for cleaner and meaningful code writing, if you need annotations, then the php annotation parse can be a solution.

Usage
-----

[](#usage)

Assume that we have a class named `FakeClassWithAnnotation` with a method named `fake_method_with_annotation` as below and there exists a function with name `fake_helper_function` out of the class.

```
