← All work
Infrastructure · 2014–15

PHP Project Boilerplate (Vagrant/Puppet + XHProf)

Overview

A reusable starter scaffold for PHP projects (“ge” = gecatalin), providing a consistent Vagrant/Puppet development environment with XHProf profiling pre-wired, into which application code would be added under proiect/.

Why It Exists

To avoid re-creating environment setup for every new PHP project, a single, copyable baseline with provisioning, profiling and folder conventions ready to go.

What We Built

A Vagrant configuration with Puppet provisioning driven by a Hiera config, shared-folder and port-forwarding setup, plus files/, shell/, puppet/ and xhprof/ directories. It is the template that sibling repos in this archive (e.g. fbharta) were cloned from, identical Vagrantfile, hiera.yaml and placeholder index.html.

Technologies & Approach

Vagrant + Puppet + Hiera for infrastructure-as-code and XHProf for profiling, establishing a standard, repeatable PHP project skeleton.

Outcome / Impact

Served as the developer’s personal project template, giving every new PHP build the same provisioned, profilable starting point. It evidences a systematic, reuse-oriented approach to environment setup.

Capabilities Demonstrated

  • Standardising project bootstrapping with reusable scaffolds
  • Infrastructure-as-code with Vagrant, Puppet and Hiera
  • Baking performance profiling (XHProf) into the dev workflow
More work See all →