Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 987 Bytes

README.md

File metadata and controls

32 lines (24 loc) · 987 Bytes

CG library provides a toolset for generating PHP code

ThirdBridge forking note

Looks like the original package is abandoned, but unfortunately intranet-v2 has a hard dependency on jms/aop-bundle which in turn has a hard dependency on this package.

In its original form, it is incompatible with PHP 7.3 due to deprecations on the reflection classes it can encounter.

In order to override, add the following to your composer.json:

{
  "repositories": [
    {
      "type": "vcs",
      "url":  "git@github.com:third-bridge/cg-library.git"
    }
  ],
  "require":      {
    "jms/cg": "dev-master"
  }
}

Overview

This library provides some tools that you commonly need for generating PHP code. One of it's strength lies in the enhancement of existing classes with behaviors.