PHP : Is there anything available for PHING to generate Class Model out my classes

I wants to generate Class Model of all my classes in code base. I wonder if anyone is aware of anything already available to do that.

I wants to do similar to this :

http://maven.apache.org/plugins/maven-javadoc-plugin/examples/alternate-doclet.html

www.umlgraph.org/doc/indexw.html

I am not sure if is there anything available for PHP to do along with Phing.

Thank You.

--------------Solutions-------------

Currently there is no task for Phing to make a graphviz diagram based on either source files or DB schema files.

A solution could be to do the following:

  • Install UMLGraph (http://www.umlgraph.org/), graphviz (http://www.graphviz.org/), and javadoc on the server
  • Create a (java) file with the umlgraph javadoc specification (or create a php script, which can parse all your source files and create the specification)
  • In your phing build file call the umlgraph command:

    <exec command="/path/to/umlgraph ${file.javadoc_spec} png" dir="/path/to/javadoc_file"/>

Category:php Time:2010-12-15 Views:0

Related post

  • How to store shared configuration for zend, phing and phpunit? 2011-07-28

    I have a PHP application that is written with Zend Framework. It uses Phing for a build system and PHPUnit for unit testing. All these parts have configuration settings. Zend uses application.xml, Phing uses build.xml and optionally some build.proper

  • propel-gen's "convert-conf" target fails 2008-12-11

    I'm trying to generate my models from a schema.xml file on OSX 10.5 with the latest versions of PHP & Propel 1.3 & Phing. All the model classes actually get created, then it just dies, right at the last step. I have already tried chmod -R 777

  • propel-gen: command not found 2012-09-26

    Im having trouble using Propel to generate my models. On my work project the server admin installed the propel pear module so I can use propel-gen to do this. Ive followed the same route for my own project but Im having issues getting the propel-gen

  • What's the difference between Phing and PHPUnderControl? 2008-09-26

    We currently use a hand-rolled setup and configuration script and a hand-rolled continuous integration script to build and deploy our application. I am looking at formalizing this somewhat with a third party system designed for these purposes. I have

  • User interface for generating Phing build files? 2008-09-30

    I want to use Phing as a build tool and I was wondering if there any (web) interface for generating build files. Any recommendations on alternative methods to writing those by hand would be appreciated as well. --------------Solutions------------- Th

  • PHP: Only include files when running phing? 2009-05-17

    I have the following folder structure: /main /loader.php /build.xml /components /package1 /class1.php /package2 /class2.php /tests /package1 /class1.test.php /package2 /class2.test.php When I run the web application I load loader.php at first and inc

  • Phing, Xinc or phpUnderControl - which one will last? 2009-06-14

    I am still looking into which one of these tools I should use. When I was poking around I noticed none of them really have any new releases: Xinc Version 2.0.1 released 02/05/08 Phing Version 2.3.3 released 12/07/08 phpUnderControl Version 0.4.4 rele

  • Copy a whole directory with phing 2009-06-18

    Does anyone know if its possible to use phing to copy an entire folder with files and sub folders (joomla core download) to another folder, but without the .svn folders. I have downloaded joomla using SVN, and I want to export it to my joomla dev fol

  • deb package task for Phing 2009-08-03

    does anybody know a Phing Task to create .deb packages for Debian base linux systems? --------------Solutions------------- There is none yet. You can only hope that someone writes one or just you hack your own and make it public.

  • Array property in Phing 2009-08-04

    I have a phing build file that checks the permission of certain files using the <touch> task. <target description="list of files to check permission" name="files-to-test"> <property name="filesToCheck" value=""/> <php expression=

  • phing and phpUnderControl - working together 2009-09-01

    Has anyone got these to work together seemlessly? I have tried, had some success using the plugin at http://phing.info/trac/wiki/Users/Documentation/CruiseControl, but have failed to: Get the metrics graphs working (nothing appears) Enable the "PMD"

  • phing : sending the full log by email? 2009-09-12

    I'm using phing for some automatic-building process on a project, and was wondering : how can I get the full log by email ? When I launch phing by the command-line, the building-log is displayed ; I would like it : sent by e-mail, to several recipien

  • Phing, call a command get its output into a property 2009-12-02

    I have a script that can lookup and output or write my current release # to a text file. Now the only problem is how do I get this version number into a PHING property. Right now my PHING target builds build.zip and built.tar, I would like it to buil

  • Clover coverage with Phing 2009-12-03

    Is there a way to get Phing to output it's coverage report in clover format? I know phpunit has --coverage-clover but I don't know how to enable this option from Phing. I do not want to manually use the <exec command - it defeats the point of Phin

  • How do you manage your build [using Phing] process? 2010-01-04

    I'm trying to use Phing to automate : running tests running DB migrations on each Developer machine [using dbdeply] deployment to production when needed I think it does make sense to add a build folder in my project and put all my build configuration

  • Do I use phing locale or remote? 2010-02-15

    I have a question related to phing. Do I use it on my local development machine to deploy an application or do I call it via ssh from production machine? I'm not sure where to do the steps from Eran Galperin (What is your preferred PHP deployment str

  • phing versus phpunit codecoverage results 2010-02-17

    I have created a build.xml file for phing to create code coverage reports. It uses phpunit codecoverage="true" and is pointed to the same file(s) as done with phpunit --coverage-html. The result differ, however. With phing I have 100% code coverage f

  • What does ** mean in Phing? 2010-02-26

    The Phing User's Guide uses the following description of the ** file filter: "Two asterisks (**) may include above the "border" of the directory separator." I'm having a hard time deciphering what this really means. Can somebody please translate this

  • Phing not working on OSX / MAMP 2010-03-03

    Here is what I have tried thus far: > cd /Applications/MAMP/bin/php5/bin/ > ./pear channel-discover pear.phing.info > ./pear install phing/phing Installation ran. I can run the following: > ./pear/ info phing/phing About pear.phing.info/p

Copyright (C) pcaskme.com, All Rights Reserved.

processed in 0.365 (s). 13 q(s)