Skip to main content

From the very beginning of the project, we've been planning to open source our code. We're very happy to announce that we've just made our first open source release — which includes a module we're really excited about called Replicant.

You can find all our open source code on GitHub. If you've got feedback, technical questions or comments, leave them in the comments and one of our developers will get back to you.

For those not in the know, here's a very basic intro to open source and our first release...

What is open source?

Basically, the code used to build something is released to the public. Interested parties can take a copy of the code and reuse it in their own projects.

They can build on it, change it or just use it as-is. If they make changes, they can offer them back to the original developers, who can choose whether or not to include them in the original code.

Our site runs on the Common Web Platform (CWP), which uses several open source systems, including the SilverStripe content management system.

What we're releasing

Our first release includes a little thing we've named Replicant.

What Replicant does

Currently, there's no easy way in SilverStripe to copy between databases.

For example, our content editors edit on the live site, while the developers develop on 'dev' and the testers test on 'test' (try saying that ten times fast). This means we're adding content to the site that doesn't appear in other environments. To make dev and test match live, we have to ask SilverStripe to copy between databases for us.

With Replicant, we can take a copy of our entire live site and restore it in other environments, so we're always building and testing on the latest version. It's much quicker, and we can do it all ourselves.

How do we think this will be useful to others?

We think Replicant could be useful to anyone running SilverStripe who has multiple environments they develop and deploy on. Install it on your SilverStripe site and you'll be able to copy a database from one environment to another with just a couple of clicks.

Replicant uses a collection of different open source components, some of which you can use on their own. When you install Replicant, the installer will work out what you need and download the necessary bits and pieces.

Contributing to Replicant

If people expand or change our code, or fix any bugs, they can ask us to incorporate their changes into the main version of Replicant.

Our future plans

Our team are identifying other SilverStripe modules we've written for that we can open source. We’re looking at two modules in particular — one that works with Google Analytics, and one that makes improvements to the back-end CMS interface.

We've also been expanding on the existing SilverStripe RestfulServer module while building our API — we're planning on contributing that work back to SilverStripe once it's finished.

Post your comment


  1. Cam Findlay 12/02/2014 9:53am (5 years ago)

    Congrats, great to see contributions back to SilverStripe open-source from Government. Would suggest you look to get this module on to ~ we have a good guide on this process at

    Again, awesome work! :)

  2. James Goodman 12/02/2014 11:21am (5 years ago)

    Thanks Cam! We’re planning on putting the module on in the next couple of weeks.
    We’ll leave a comment here once it’s up there.

  3. Danielle 13/02/2014 7:06am (5 years ago)

    How possible would it be for an agency to release a RealMe integration module (or the framework for one)? Or is this something the security guys are laughing at me for?

  4. Glen 13/02/2014 9:49am (5 years ago)


    I was just wondering why the government choose to use Silverstripe as their common web platform, instead of a CMS like Drupal that has many contributed modules already built and maintained by a huge community of developers?
    I realise Silverstripe is a NZ built CMS and I am all for helping NZ companies out, it just seems a little strange is all.


  5. Charlotte 13/02/2014 4:43pm (5 years ago)

    Congratulations! Good work. Look forward to using it if needs be.

  6. Dan Randow 13/02/2014 5:25pm (5 years ago)

    Great to see releasing code as open source.

  7. Bene Anderson 14/02/2014 9:58am (5 years ago)

    I am the Common Web Platform (CWP) product manager. Silverstripe was selected as a result of an open competitive process run during 2012. The process was compliant with the Governments rules of procurement and sought proposals from the market via advertising on the Government Electronic Tenders website (GETS), for a suitable solution. Representatives from five government agencies participated in the development of the requirements and the detailed evaluation of the proposals that were received. The silverstripe proposal was selected as the best overall offer and solution. SilverStripe and Revera being New Zealand owned and using a local CMS was not part of the criteria, they just came to the table with best offering. <a href="" rel="nofollow">Minister Tremain announced their selection in February last year.</a>

    We have been doing lots of thinking about how we could make a reusable integration module on CWP for RealMe. It's definitely on the roadmap. We decided that it wasn't required for the launch of the product, as the websites on CWP are currently informational. Better to get CWP up and running early and add new features like RealMe over time.

  8. James Goodman 21/02/2014 1:43pm (5 years ago)

    As promised, replicant is now up on

RSS feed for comments on this page | RSS feed for all comments