Gone are the days of traditional deployment using FTP (I still use it sometimes).

Capistrano has been a godsend in the world of web development. Deployment has never been this easy.

  1. capify .
  2. Write the script
  3. cap deploy

In the PHP world, where a ton of development has been going on since the PHP 5.3 releases, things like database migrations(idea from Rails), packagist / composer (idea from RubyGems) and the built-in server(idea from Ruby) has taken over the PHP world.

Deployment is one thing the PHP world is still missing. Although, we can use Capistrano for almost all deployment things, there’s a new package I have been introduced to.

Rocketeer, a Laravel Package, works with the Laravel 4.1 version.

It comes with a Capistrano-like API. You wouldn’t be lost if you’ve used Capistrano before.

  deploy:check               Check if the server is ready to receive the application
  deploy:cleanup             Clean up old releases from the server
  deploy:current             Display what the current release is
  deploy:deploy              Deploy the website.
  deploy:rollback            Rollback to the previous release, or to a specific one
  deploy:rollback {release}  Rollback to a specific release
  deploy:setup               Set up the remote server for deployment
  deploy:teardown            Remove the remote applications and existing caches
  deploy:test                Run the tests on the server and displays the output
  deploy:update              Update the remote server without doing a new release

If you are using Laravel, Rocketeer is worth a try.