This is mainly a question about PHP. I was wondering: how do you make sure that all the necessary libraries are packaged with your application when deploying to (production) servers?
A more specific example: I have an application running on the Zend Framework, and each time I run the application on the server, the deployment process creates a new โinstallationโ on this system. Therefore, I need to link the Zend Framework with my application, and then copy the files to the right places (this is done automatically). I currently use the svn: externals definition to retrieve files from the Zend SVN system during deployment, however I do not want to rely on this SVN, nor do I want to put traffic on external SVNs with every deployment.
In the Java world, I'm used to Maven, which handles such things using central artifact repositories. I know there is a version of Maven4PHP, however I am looking more for a PHP solution. In addition, I do not believe that PEAR is a good way, since it does not fulfill my requirement to combine the application (including libs) into one deployable one.
Is there any other tool that I don't know? Or do you have a great technique that I should know?
Many thanks for your help!
Michael
php dependency-management zend-framework
Michael
source share