nette/php-generator
Generate PHP code via a fluent API: build classes, interfaces, functions, methods, properties, namespaces, and PHPDoc, then render to valid PHP. Handy for code generators, scaffolding tools, and runtime code output with strict formatting and escaping.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| jms/cg | 0.85 | jms/cg is a PHP code generation library that builds classes, methods, and properties programmatically. It provides a fluent API plus reflection and metadata support to generate readable source code, useful for proxies, serializers, and other build-time tooling. | 156 | 160 | 34 | 62K | 10 | 5.9 | 42.5 | Apache-2.0 | 9 years ago | |
| murtukov/php-code-generator | 0.83 | PHPCodeGenerator generates PHP 7.4 source code via a fluent API. Build files with namespaces and imports, create classes/interfaces/traits/enums, methods/functions/closures, control structures, arrays, literals, comments, and configure global formatting options. | 27 | 27 | 5 | 137K | 5 | 4.2 | 54.0 | MIT | 5 years ago | |
| edlcdmc/generator-bundle | 0.82 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| laminas/laminas-code | 0.80 | Generate, analyze, and manipulate PHP code with Laminas Code. Provides reflection utilities, code generators, docblock parsing, and class/file generation helpers for building frameworks, tooling, and meta-programming workflows. | 1,911 | 1,915 | 90 | 4M | 21 | 35.9 | 57.3 | BSD-3-Clause | 7 months ago | |
| dmp/cg-lib | 0.80 | CG library is a PHP 8.1+ toolset for generating PHP code. It helps assemble and enhance classes by adding reusable behaviors, making it easier to build and modify code structures programmatically during code generation workflows. | 0 | 0 | 0 | 15 | 0 | 0.3 | 16.6 | Apache-2.0 | 1 year ago | |
| phpmd/phpmd | 0.79 | PHPMD (PHP Mess Detector) scans PHP code for potential problems like overly complex methods, unused parameters, and suspicious code. It’s a CLI tool with configurable rulesets, Baseline support, and CI-friendly output formats to keep codebases clean. | 2,426 | 2,503 | 351 | 2M | 68 | 45.6 | 61.1 | BSD-3-Clause | 2 years ago | |
| michelf/php-smartypants | 0.78 | PHP port of John Gruber’s SmartyPants: converts plain ASCII punctuation into typographically correct “smart” quotes, dashes, and ellipses. Useful for cleaning up HTML output from Markdown or other text sources, with configurable transformation options. | 111 | 116 | 23 | 168K | 2 | 2.0 | 45.3 | NOASSERTION | — | |
| open-southeners/extended-php | 0.69 | Extended PHP helpers for modern apps: adds convenient functions, utilities, and small enhancements that complement core PHP to reduce boilerplate and speed up everyday development. Lightweight, easy to drop into existing projects. | 0 | 0 | 0 | 82 | 0 | 15.2 | 28.4 | MIT | 7 months ago | |
| nette/utils | 0.68 | Handy PHP utility classes from the Nette Framework: strings, arrays, JSON, dates/times, file system helpers, safe reflection, and more. Lightweight, well-tested, and framework-agnostic—useful building blocks for everyday PHP and Laravel projects. | 2,140 | 2,186 | 153 | 11M | 9 | 47.0 | 66.0 | NOASSERTION | 3 weeks ago | |
| nette/robot-loader | 0.68 | Nette RobotLoader is a fast, zero-configuration autoloader for PHP that automatically discovers classes, caches results for performance, and rebuilds when files change. Ideal for Nette apps and standalone projects needing reliable class loading. | 893 | 899 | 34 | 790K | 4 | 30.7 | 47.1 | NOASSERTION | 3 months ago | |
| nette/mail | 0.67 | Lightweight PHP mailer from the Nette framework: compose and send emails with SMTP support, MIME messages, attachments, HTML/text bodies, and headers. Sensible defaults, easy integration, and good testability for apps and services. | 492 | 540 | 72 | 110K | 0 | 34.1 | 38.1 | NOASSERTION | 2 weeks ago | |
| nette/http | 0.67 | Nette HTTP provides a clean, lightweight HTTP layer for PHP apps. It handles requests, responses, headers, cookies, sessions, and URL utilities with a consistent API, making it easy to build frameworks, middleware, or standalone services. | 488 | 508 | 89 | 203K | 17 | 40.9 | 55.9 | NOASSERTION | 1 week ago |
How can I help you explore Laravel packages today?