Rocketeer provides a fast and easy way to set-up and deploy your Laravel projects. Rocketeer requires Laravel 4.1 as it uses the new illuminate/remote component.
I recommend you checkout this Getting Started guide before anything. It will get you quickly set up to use Rocketeer.
The available commands in Rocketeer are :
deploy
deploy:setup Set up the website for deployment
deploy:deploy Deploy the website.
deploy:cleanup Clean up old releases from the server
deploy:current Displays what the current release is
deploy:rollback {release} Rollback to a specific release
deploy:rollback Rollback to the previous release
deploy:teardown Removes the remote applications and existing caches
An important concept in Rocketeer is Tasks : most of the commands you see right above are using predefined Tasks underneath : Rocketeer\Tasks\Setup, Rocketeer\Tasks\Deploy, etc.
Now, the core of Rocketeer is you can hook into any of those Tasks to peform additional actions, for this you'll use the before
and after
arrays of Rocketeer's config file.
You can read more about Tasks and what you can do with them in the wiki.
That's a question that's been asked to me, why not simply use Capistrano ? I've used Capistrano in the past, it does everything you want it to do, that's a given.
But, it remains a Ruby package and one that's tightly coupled to Rails in some ways; Rocketeer makes it so that you don't have Ruby files hanging around your app. That way you configure it once and can use it wherever you want in the realm of Laravel, even outside of the deploy routine.
It's also meant to be a lot easier to comprehend, for first-time users or novices, Capistrano is a lot to take at once – Rocketeer aims to be as simple as possible by providing smart defaults and speeding up the time between installing it and first hitting deploy
.
It's also more though out for the PHP world – although you can configure Capistrano to run Composer and PHPUnit, that's not something it expects from the get go, while those tasks that are a part of every Laravel developper are integrated in Rocketeer's core deploy process.