PHPackages                             jlabno/annotations-scanner - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. jlabno/annotations-scanner

ActiveLibrary[File &amp; Storage](/categories/file-storage)

jlabno/annotations-scanner
==========================

Annotated files scanner - looks for methods annotated with provided annotations, outputs an array of either filepaths or directories.

v1.2.2(11mo ago)0387MITPHPPHP ^7.4 || ^8.0CI failing

Since Feb 13Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/jakublabno/used-annotations-path-scanner)[ Packagist](https://packagist.org/packages/jlabno/annotations-scanner)[ RSS](/packages/jlabno-annotations-scanner/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (14)Used By (0)

Annotated methods scanner
-------------------------

[](#annotated-methods-scanner)

Scanner looks for methods annotated with provided annotations, outputs an array of either filepaths or directories.

[![Latest Stable Version](https://camo.githubusercontent.com/2ec32b458460a6530ea63704fcfacf1e4f63f14e1ba259c1256f2b00ffe03c0c/687474703a2f2f706f7365722e707567782e6f72672f6a6c61626e6f2f616e6e6f746174696f6e732d7363616e6e65722f76)](https://packagist.org/packages/jlabno/annotations-scanner) [![Total Downloads](https://camo.githubusercontent.com/9ea93ff9c46210fdab396632b9a10856cb9d91890e583785269748a5ffced1d2/687474703a2f2f706f7365722e707567782e6f72672f6a6c61626e6f2f616e6e6f746174696f6e732d7363616e6e65722f646f776e6c6f616473)](https://packagist.org/packages/jlabno/annotations-scanner) [![Latest Unstable Version](https://camo.githubusercontent.com/0096d9c823e0f34c096afe9cced4c4f6d98336a664fa0a5d6178b36d51fb1bb6/687474703a2f2f706f7365722e707567782e6f72672f6a6c61626e6f2f616e6e6f746174696f6e732d7363616e6e65722f762f756e737461626c65)](https://packagist.org/packages/jlabno/annotations-scanner) [![License](https://camo.githubusercontent.com/12e31c08d8de451d9c177fe68dfc18e5c836f839611ea40c941baf65ae881caa/687474703a2f2f706f7365722e707567782e6f72672f6a6c61626e6f2f616e6e6f746174696f6e732d7363616e6e65722f6c6963656e7365)](https://packagist.org/packages/jlabno/annotations-scanner) [![PHP Version Require](https://camo.githubusercontent.com/d8361728494387a3da4db011787845137933e6b81c24a1184b21fa872cbe655f/687474703a2f2f706f7365722e707567782e6f72672f6a6c61626e6f2f616e6e6f746174696f6e732d7363616e6e65722f726571756972652f706870)](https://packagist.org/packages/jlabno/annotations-scanner)

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

[](#installation)

### Step 1: Download the library using composer

[](#step-1-download-the-library-using-composer)

Require package by composer

```
composer require jlabno/annotations-scanner
```

### Step 2: How to use

[](#step-2-how-to-use)

By default, library uses Apcu cache, you can pass your own cache implementation of `Psr\SimpleCache`

```
