PHPackages                             laradic/annotation-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. laradic/annotation-scanner

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

laradic/annotation-scanner
==========================

Scan directories or files for annotations

1.0.0(8y ago)154MITPHPPHP &gt;=7.0.0

Since Nov 3Pushed 8y ago1 watchersCompare

[ Source](https://github.com/laradic/annotation-scanner)[ Packagist](https://packagist.org/packages/laradic/annotation-scanner)[ Docs](https://la.radic.nl)[ RSS](/packages/laradic-annotation-scanner/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (5)Versions (2)Used By (0)

Laradic Icon Generator
======================

[](#laradic-icon-generator)

[![Source](https://camo.githubusercontent.com/2244eedd22f5958823a73148a8ada86dfbb2d7b7e607be24f5831048ba913810/687474703a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d6c6172616469632f69636f6e2d2d67656e657261746f722d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/laradic/annotation-scanner)[![License](https://camo.githubusercontent.com/6a2572dafac6d22afec31dec7587a0e669706344366f564500cf557e816b1714/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e2e7376673f7374796c653d666c61742d737175617265)](https://tldrlegal.com/license/mit-license)[![Framework](https://camo.githubusercontent.com/1959059109aca1c22acba1cf2cba5a72a3a9bdff682169c3a71d7379040d49a3/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6672616d65776f726b2d616e792d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/1959059109aca1c22acba1cf2cba5a72a3a9bdff682169c3a71d7379040d49a3/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6672616d65776f726b2d616e792d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)

Icon Generator can create PNG images from several icon fonts like FontAwesome, Foundation Icons, etc. For example, useful for **favicon generation**.

The package follows the FIG standards PSR-1, PSR-2, and PSR-4 to ensure a high level of interoperability between shared PHP code.

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

[](#installation)

```
composer require "laradic/annotation-scanner:~1.0"
```

Quick Overview
--------------

[](#quick-overview)

**Full documenation** @ [la.radic.nl](https://la.radic.nl)

#### Using the default generators

[](#using-the-default-generators)

```
require __DIR__ . '/vendor/autoload.php';

use Laradic\IconGenerator\Factory;
use Laradic\IconGenerator\IconGenerator;

$icons = new Factory;
$icons->addDefaultFonts();
$generator = $icons->createGenerator('font-awesome');
$generator->setIcons('android', 'car', 'html5', 'github');

// 16x16px, 32x32px, etc
$generator->setSizes(16, 32, 64, 128);

// add some material colors
$generator->addColor('#ef5350'); // red 400
$generator->addColor('#42A5F5'); // blue 400
$generator->addColor('#424242'); // grey 800
$generator->addColor(251, 94, 11); // RGB Also supported

$generator->setOutDir(__DIR__ . '/../generated');

$generator->generate($prefix);

$generator->generate();
```

#### Using the default generators

[](#using-the-default-generators-1)

```
require __DIR__ . '/vendor/autoload.php';

use Laradic\IconGenerator\Factory;
use Laradic\IconGenerator\IconGenerator;

$icons = new Factory;
$icons->addDefaultFonts();
$generate = function (IconGenerator $generator, $prefix = '') {

    // 16x16px, 32x32px, etc
    $generator->setSizes(16, 32, 64, 128);

    // add some material colors
    $generator->addColor('#ef5350'); // red 400
    $generator->addColor('#42A5F5'); // blue 400
    $generator->addColor('#424242'); // grey 800

    $generator->setOutDir(__DIR__ . '/../generated');

    $generator->generate($prefix);
};

$fa = $icons->createGenerator('font-awesome');
$fa->setIcons('android', 'car', 'html5', 'github');
$generate($fa, 'fa-');

$found = $icons->createGenerator('foundation-general');
$found->setIcons([ 'checkmark', 'remove', 'mail', 'calendar' ]);
$generate($found, 'found-');
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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

3114d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/303828383a9c2bf382436a61f4471425428b28c095c6df9a9714444cbc163538?d=identicon)[radic](/maintainers/radic)

---

Tags

laravelannotationlaradic

### Embed Badge

![Health badge](/badges/laradic-annotation-scanner/health.svg)

```
[![Health](https://phpackages.com/badges/laradic-annotation-scanner/health.svg)](https://phpackages.com/packages/laradic-annotation-scanner)
```

###  Alternatives

[koriym/attributes

An annotation/attribute reader

433.4M12](/packages/koriym-attributes)[hostnet/entity-tracker-component

Provides an event when a Tracked entity changes

16158.1k4](/packages/hostnet-entity-tracker-component)[gomachan46/state-machine

simple state machine with annotations for PHP, inspired by AASM known as a Ruby state machine.

1893.9k](/packages/gomachan46-state-machine)[proai/lumen-annotations

Route and event binding annotations for Laravel Lumen

1012.4k](/packages/proai-lumen-annotations)[antares/accessible

PHP library that allows you to define your class' getters, setters and constructor with docblock annotations.

123.9k1](/packages/antares-accessible)

PHPackages © 2026

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