PHPackages                             scabbiafw/scabbia2-scanners - 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. scabbiafw/scabbia2-scanners

Abandoned → [eserozvataf/scabbia2-scanners](/?search=eserozvataf%2Fscabbia2-scanners)ArchivedLibrary

scabbiafw/scabbia2-scanners
===========================

Scabbia2 Scanners Component

v0.1.2(10y ago)1123[1 issues](https://github.com/eserozvataf/scabbia2-scanners/issues)1Apache-2.0PHPPHP &gt;=5.6.0

Since Sep 16Pushed 10y ago1 watchersCompare

[ Source](https://github.com/eserozvataf/scabbia2-scanners)[ Packagist](https://packagist.org/packages/scabbiafw/scabbia2-scanners)[ Docs](http://www.scabbiafw.com/)[ RSS](/packages/scabbiafw-scabbia2-scanners/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (1)

Scabbia2 Scanners Component
===========================

[](#scabbia2-scanners-component)

[This component](https://github.com/eserozvataf/scabbia2-scanners) scans the source directories and compiles some information. It is basically designed for extracting annotations from docblocks but functionality can be extended by implementing `Scabbia\Scanners\ScannerInterface`.

[![Build Status](https://camo.githubusercontent.com/ddf2467d501d7158a50a2ba1332f2d99eade284120cd2bb2be76640734847be2/68747470733a2f2f7472617669732d63692e6f72672f657365726f7a76617461662f73636162626961322d7363616e6e6572732e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/eserozvataf/scabbia2-scanners)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/39cee231c0f50b71c5eb51f3c7f8cc144dc6f015feef55aa8086bcd0f63cd7a3/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f657365726f7a76617461662f73636162626961322d7363616e6e6572732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/eserozvataf/scabbia2-scanners/?branch=master)[![Total Downloads](https://camo.githubusercontent.com/e34d13c8fae5fd62cf1455c720bf0e7f8d4ac677766e109dc79eeab413ea5db0/68747470733a2f2f706f7365722e707567782e6f72672f657365726f7a76617461662f73636162626961322d7363616e6e6572732f646f776e6c6f6164732e706e67)](https://packagist.org/packages/eserozvataf/scabbia2-scanners)[![Latest Stable Version](https://camo.githubusercontent.com/707cf8c436f371c78c6a3ba5b56b17677f239f5b64c903fe9c4e23e6e3725c61/68747470733a2f2f706f7365722e707567782e6f72672f657365726f7a76617461662f73636162626961322d7363616e6e6572732f762f737461626c65)](https://packagist.org/packages/eserozvataf/scabbia2-scanners)[![Latest Unstable Version](https://camo.githubusercontent.com/74314b4be109f59c27e05b86e8a53bfd09f852e6d16b10f6514bf216477c41fe/68747470733a2f2f706f7365722e707567782e6f72672f657365726f7a76617461662f73636162626961322d7363616e6e6572732f762f756e737461626c65)](https://packagist.org/packages/eserozvataf/scabbia2-scanners)[![Documentation Status](https://camo.githubusercontent.com/1ebeb3aa2c5cce31b6bf29a03a59cd40727e8fe235ba9ca28824ef1330a81328/68747470733a2f2f72656164746865646f63732e6f72672f70726f6a656374732f73636162626961322d646f63756d656e746174696f6e2f62616467652f3f76657273696f6e3d6c6174657374)](https://readthedocs.org/projects/scabbia2-documentation)

Usage
-----

[](#usage)

### Extracting Annotations from Source Folder

[](#extracting-annotations-from-source-folder)

```
use Scabbia\Scanners\Scanners;
use Scabbia\Scanners\AnnotationScanner;

$annotationScanner = new AnnotationScanner();

$scanners = new Scanners();
$scanners->register($annotationScanner);
$scanners->processFolder('src/');

var_dump($annotationScanner->result);
```

### Custom Scanner

[](#custom-scanner)

```
use Scabbia\Scanners\Scanners;
use Scabbia\Scanners\ScannerInterface;
use Scabbia\Scanners\TokenStream;
use ReflectionClass;

$customScanner = new class () implements ScannerInterface {
    public function processFile($file, $fileContents) {
        echo 'processing file ', $file;
    }

    public function processTokenStream(TokenStream $tokenStream) {
    }

    public function processClass($class, ReflectionClass $reflection) {
        echo 'processing class ', $class;
    }

    public function finalize() {
        echo 'done.';
    }
};

$scanners = new Scanners();
$scanners->register($customScanner);
$scanners->processFolder('src/');
```

Links
-----

[](#links)

- [List of All Scabbia2 Components](https://github.com/eserozvataf/scabbia2)
- [Documentation](https://readthedocs.org/projects/scabbia2-documentation)
- [Twitter](https://twitter.com/eserozvataf)
- [Contributor List](contributors.md)
- [License Information](LICENSE)

Contributing
------------

[](#contributing)

It is publicly open for any contribution. Bugfixes, new features and extra modules are welcome. All contributions should be filed on the [eserozvataf/scabbia2-scanners](https://github.com/eserozvataf/scabbia2-scanners) repository.

- To contribute to code: Fork the repo, push your changes to your fork, and submit a pull request.
- To report a bug: If something does not work, please report it using GitHub issues.
- To support: [![Donate](https://camo.githubusercontent.com/630a83896c8ab4a5af0f79046098e3d8713112304fd119d86fa5957a0ecc5159/68747470733a2f2f696d672e736869656c64732e696f2f67726174697061792f657365726f7a76617461662e737667)](https://gratipay.com/eserozvataf/)

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

3892d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ad4a7ec4c200bd6939df5aac1149f7d8d95aa5b8730a2276981f449c0c12fb18?d=identicon)[eserozvataf](/maintainers/eserozvataf)

---

Top Contributors

[![eser](https://avatars.githubusercontent.com/u/866558?v=4)](https://github.com/eser "eser (11 commits)")

---

Tags

scannersscabbialarukediscabbia2scabbiafw

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/scabbiafw-scabbia2-scanners/health.svg)

```
[![Health](https://phpackages.com/badges/scabbiafw-scabbia2-scanners/health.svg)](https://phpackages.com/packages/scabbiafw-scabbia2-scanners)
```

###  Alternatives

[scannerjs/scanner.js

ScannerJS: JavaScript web scan JPG PDF images from TWAIN WIA scanners in browser (Chrome, Edge, Firefox or IE)

5914.3k](/packages/scannerjs-scannerjs)

PHPackages © 2026

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