net_bazzline/php_component_code_generator

This package is abandoned and no longer maintained. No replacement package was suggested.

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

1.2.1 2017-07-26 20:31 UTC

This package is auto-updated.

Last update: 2021-07-01 00:07:10 UTC


README

I still like the idea but there is currently no use case to develop it anymore.

PHP Code Generator

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 :-].