Is there a way to show the PHP file output?
Yes, use the -DflushPHPOutput=true parameter in your commandline.

[top]


Is there a way to run one unit test?
Yes, use the -DtestFile=file.php parameter in your commandline.

[top]


How to configure the "Maven for PHP" plugin?
"Maven for PHP" is configured like every other maven plugin. Here are a sample configuration:

......
			
				org.phpmaven
				maven-php-plugin
				true
				
				    
					    $pathTOYourPHPFolder/php.exe
				   
				    false
				    
				        controller.php
				        tree.php
				   
				     
			   
			
......			


			
You can find a full list of all possible parameters under Plugin Goals

[top]


Where can i find the source code?
Look here

[top]


PHP validated fails because PHP is looking for files which are central included.
You can include files central with the -d argument. You must exclude that file from the validation.

......
			
				org.phpmaven
				maven-php-plugin
				true
				
					
						-d auto_prepend_file=core.php
					
				    
				        core.php
				   
				     
			   
			
......			


			

[top]