PHPackages                             rikudou/source-generators - 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. rikudou/source-generators

ActiveComposer-plugin[Utility &amp; Helpers](/categories/utility)

rikudou/source-generators
=========================

22.0kPHPCI passing

Since Feb 5Pushed 1y ago2 watchersCompare

[ Source](https://github.com/RikudouSage/SourceGenerators)[ Packagist](https://packagist.org/packages/rikudou/source-generators)[ RSS](/packages/rikudou-source-generators/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

PHP Source Generator
====================

[](#php-source-generator)

This package provides the functionality of source generators to php, this makes it possible to generate classes at build-time and thus save on processing power in the runtime.

And most importantly, it makes it possible for 3rd party packages to do so, meaning a 3rd party package may create a source generator for all instances of an interface or for all classes annotated by an attribute.

After reading the guide below, you might be interested in the [advanced usage](doc/advanced.md).

Installing
----------

[](#installing)

`composer require rikudou/source-generators`

An example
----------

[](#an-example)

```
