Skip to content

Instantly share code, notes, and snippets.

@pauloelr
pauloelr / Vagrantfile
Created July 4, 2014 19:29 — forked from rogeriopradoj/Vagrantfile
Vagrantfile for PHPSP Test Fest
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
if Vagrant.has_plugin?("vagrant-cachier")
config.cache.scope = :box
else
puts "_Info_: Plugin '''vagrant-cachier''' is not installed."
#!/bin/bash
sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install wget git subversion php5-cli php-pear sublime-text-installer php5-sqlite
pear install --alldeps doc.php.net/phd
pear install --alldeps doc.php.net/phd_php
# Set the path to PHP from environment or use which to discover it
<?php
use Money\Money;
use Product\Model\Prices;
return [
'orm' => [
Prices::class => [
'type' => 'embeddedDocument',
'embedOne' => [