Skip to content

Instantly share code, notes, and snippets.

View simensen's full-sized avatar
🎯
Focusing

Beau Simensen simensen

🎯
Focusing
View GitHub Profile

As an alternate workflow, for testing, I would suggest:

  1. fork the php-sdk
  2. add the composer.json that I later intend to submit as a PR to a branch
  3. create a tag v3.1.2 off of composer.json branch in your fork
  4. add a repositories section to your project's composer.json that points to your fork (just type and url required)
  5. composer should now be able to find v3.1.2 as installable
$ git checkout -b enable-composer
"repositories": [
{
"type": "vcs",
"url": "git://github.com/FriendsOfSymfony/php-sdk.git"
}
],
<?php
$teamCityCiSystem = new TeamCityCiSystem(
new CiSystem($ciSystemTypes['teamcity'], 'TeamCity', 'http://teamcity.example.com'),
'http://teamcity.example.com/httpAuth/app/rest',
'apiuser',
'apipass'
);
$em->persist($teamCityCiSystem->ciSystem());
$em->flush();
$em->persist($teamCityCiSystem);
@simensen
simensen / composer.json
Created February 9, 2012 05:08
KnpLabs-symfony-with-composer
{
"require": {
"php": ">=5.3.2",
"symfony/symfony": "2.1.0-dev",
"doctrine/orm": "2.2.0-BETA2",
"twig/extensions": "*",
"symfony/assetic-bundle": "2.0-dev",
"sensio/generator-bundle": "2.0.*",
"sensio/framework-extra-bundle": "2.0.*",
@simensen
simensen / simple.txt
Created February 7, 2012 06:15
Sample Gist
Hello World
<html>
<title>More Output</title>
</html>
@simensen
simensen / composer.json
Created January 11, 2012 18:07
My first (only?) Silex app now uses composer to manage its dependencies
{
"name": "dflydev/myese-portal",
"type": "application",
"description": "My ESE Portal",
"authors": [
{
"name": "Beau Simensen",
"email": "beau@dflydev.com"
}
],
First time:
dflydev\markdown\SundownParser Object
(
[cfg:protected] => Array
(
)
)
<?php
/*
* This file is a part of the PHP Markdown library.
*
* (c) Dragonfly Development Inc.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
---
layout: post
title: This is my post title
---
{% block content %}
# {{title}}
This is the long version of my content. Blah blah blah.