net_bazzline/php_component_code_generator

free as in freedom component to generate php code for class, file, method, property, constant, documentation

1.1.11 2016-02-20 10:53 UTC

README

This project aims to deliver a easy to use free as in freedom php code generator. PHPDOC-Generation is also implemented as general generation tasks like "class", "function" or "property" generation.

The build status of the current master branch is tracked by Travis CI: Build Status Latest stable

The scrutinizer status are: code quality | build status

The versioneye status is: Dependency Status

This component comes with a lot of examples as well as default factories.

Take a look on ohloh.net.

The current change log can be found here.

Install

By Hand

mkdir -p vendor/net_bazzline/php_component_code_generator
cd vendor/net_bazzline/php_component_code_generator
git clone https://github.com/bazzline/php_component_code_generator .

With Packagist

composer require net_bazzline/php_component_code_generator:dev-master

Benefits

  • no "new" inside classes ...
  • independent and configurable indention
  • no static calls
  • shipped with examples and factories
  • covered with unittests
  • open source
  • automatic phpdoc generation

Optimization Potential

  • ... but "clone"
  • currently not widely used
  • no code review by other developers so far
  • still open todo's

API

API is available at bazzline.net.

Inspired By

Final Words

Star it if you like it :-). Add issues if you need it. Pull patches if you enjoy it. Write a blog entry if you use it. Donate something if you love it :-].