This lib allow you to read and parse a php file containing class into a php object. You can then easily add or remove components and rewrite file with modifications.