News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPMaster.com:
Maven and PHP
May 09, 2013 @ 12:42:37

PHPMaster.com has a new tutorial posted that introduces you to a build tool that's more common in the Java world but can easily support PHP projects, Apache's Maven.

Apache Maven is a build automation tool with the purpose of building, reporting, and creating documentation of projects. It builds projects using a Project Object Model (POM) and a set of plugins shared by all projects using Maven, thus providing a uniform build system. Once you familiarize yourself with how one Maven project builds, you automatically know how all Maven projects build. [...] Through this article you will gain familiarity with Maven for PHP, and how to install and use the PHP-Maven plugin from the command line and in Eclipse.

The tutorial walks you first through the basic install of Maven and get you started with an example "settings.xml" file helping to set up the PHP-Maven plugin. They help you create your first project using the Archetype plugin and its related "pom.xml" file. The project already has a defined structure (similar to what you might see in a Composer-loadable PHP repo on Github) for the source of your app and the tests. They show you how to hook in PHPUnit and phpDocumentor for testing/dcumentation builds and, finally, how to integrate it all into Eclipse to allow for easier, in-IDE interactions.

0 comments voice your opinion now!
maven build tool eclipse tutorial install configure phpmaven

Link: http://phpmaster.com/maven-and-php

blog comments powered by Disqus

Similar Posts

PHPMaster.com: Introduction to MongoDB

MrPHP.com.au: Image Cache using phpThumb and .htaccess

Padraic Brady's Blog: Zend Framework Caching (Parts 1, 2 & 2b)

Kore Nordmann's Blog: Installing cairo_wrapper on Gentoo

DevShed: Additional Methods for Using SQLite with PHP 5


Community Events

Don't see your event here?
Let us know!


list symfony laravel language framework podcast example series community api introduction interview testing php7 application part2 composer yii2 opinion project

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework