News Feed
Sections




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

Benjamin Eberlei:
Composer and Azure Websites Git Deployment
November 20, 2012 @ 10:35:23

In a new post to his site Benjamin Eberlei continues his look at using various platform-as-a-service (PaaS) offerings for PHP available today and talks about using Composer with Windows Azure via its post deployment hooks.

It turns out that Azure Websites - to support other platforms that require compiling - actually has an extremly robust deployment system (as far as I understood its internals). If Composer fails during this step, the website will still be served from the currently running version and you don't have to face unexpected downtime. To actually run Composer as a post-deployment tool you have to do some manual work.

This manual work comes in the form of a special ".deployment" file included in the root of your repository that defines the command to execute (a custom script). Included there at the end of the post is the PHP code you'll need to put in this custom script to get the latest version of composer and then require the phar file for use later in your application.

0 comments voice your opinion now!
composer windowsazure paas install tutorial deployment


blog comments powered by Disqus

Similar Posts

Jani Hartikainen's Blog: Unit testing 3: Writing tests for existing code

PHPClasses.org: Speedup Your Web Deployments Using Composer to Install PHP Classes Packages

PHPMaster.com: Handling Collections of Aggregate Roots - the Repository Pattern

Matthias Noback: Symfony2: Add a global option to console commands and generate a PID file

HowTo Forge: Multisite CVS Drupal Installation on Ubuntu


Community Events





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


library list laravel configure interview release bugfix framework code language podcast community project wordpress developer series threedevsandamaybe application api introduction

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