Libraries tagged by code reflection

hamidparchami/zend-code

0 Favers
4 Downloads

Extensions to the PHP Reflection API, static code scanning, and code generation

Go to Download


mfn/php-reflection-gen

0 Favers
61 Downloads

Generates PHP source code shells from the current runtime via Reflections

Go to Download


zetacomponents/reflection

3 Favers
1070 Downloads

The main objective of the Reflection component is to enhance PHP by type information and annotations. It uses source code documentation to determine data types and other pieces of information provided via annotations. Those annotations can be used to realize systems which depend on strong type information or additional details about the source code itself.

Go to Download


codexsoft/code-valid

0 Favers
96 Downloads

Base class for organizing value validation via reflection

Go to Download


sun/staticreflection

1 Favers
24 Downloads

Static PHP class code reflection for post-discovery scenarios.

Go to Download


nicmart/phpy

2 Favers
6 Downloads

With phpy you have an object-oriented interface to create valid php-code constructs

Go to Download


felideo/debug2

0 Favers
609 Downloads

Debug2 is a function developed to debug PHP code of form easy, simple, pretty print, fast and safe.

Go to Download


diversified-design/php-blueprint

1 Favers
18 Downloads

Generates a JSON blueprint of a PHP library's class signatures — optimised for coding-agent contexts.

Go to Download


dentelis/php7-attribute-reader

0 Favers
0 Downloads

Library for reading php8 attributes from legacy php7 code

Go to Download


csoellinger/dog-html-printer

0 Favers
279 Downloads

HTML printer for Dog, a simple code documentation generator.

Go to Download


apigen/parser

0 Favers
555 Downloads

Parses PHP code to structural elements.

Go to Download


beastbytes/cod-php

0 Favers
13 Downloads

PHP API document generator that uses PHP Reflection to analyse the code.

Go to Download


birb/fancy-stubs-codegen

0 Favers
13 Downloads

Build-time, attribute-driven code generator: write a stub class, mark members with #[DefinerAttribute], and get a real, finished PHP class back — conventions filled in (event names, ids, ...), or whole getters/setters/builder classes generated from the stub's properties. Unlike runtime-reflection tools, the output is a plain PHP file with zero dependency on this library and no per-request reflection cost; useful for scaffolding DDD value objects/aggregates/events, command classes and other boilerplate. Postprocessing (transforming code, e.g. phpcbf/php-cs-fixer/rector), quality checks (evaluating code, e.g. PHPStan/Psalm/PHPCS) and framework-specific conventions (e.g. Laravel table/id naming) ship as separate packages — see birb/fancy-stubs-codegen-postprocessors, birb/fancy-stubs-codegen-code-quality and birb/fancy-stubs-codegen-laravel.

Go to Download


tyhpdef/php

0 Favers
69 Downloads

Tyhp type definitions for always-present PHP built-ins (8.2+) — Core, date, filter, hash, json, libxml, pcre, random, Reflection, SPL, standard. Version-specific APIs are gated via declare(php=…) / #[\Tyhp\Php].

Go to Download


zfegg/psr-mvc

2 Favers
143 Downloads

Using MVC for PSR applications, like dotnet core MVC.

Go to Download


<< Previous Next >>