I hereby claim:
- I am adrienbrault on github.
- I am adrienbrault (https://keybase.io/adrienbrault) on keybase.
- I have a public key ASCXSSS8Y_xa0IbDKpZn5iMJC2FFh7IQDmrWjaOh1gVv7go
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
sudo yum install -y python-pip | |
sudo pip install httpie | |
# |
vagrant@vagrant-ubuntu-saucy-64:/vagrant/symfony$ hhvm ../phpunit/composer/bin/phpunit | |
PHPUnit 3.7.28 by Sebastian Bergmann. | |
Configuration read from /vagrant/symfony/phpunit.xml.dist | |
...........................EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE 59 / 11750 ( 0%) | |
EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE 118 / 11750 ( 1%) | |
EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE 177 / 11750 ( 1%) | |
EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE... 236 / 11750 ( 2%) | |
..........EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE.......EEEEEEEEE. 295 / 11750 ( 2%) |
<?php | |
class LayoutExtension extends \Twig_Extension | |
{ | |
/** | |
* {@inheritdoc} | |
*/ | |
public function getName() | |
{ | |
return 'yolo'; |
I'm about to start writing a new php library for hateoas stuff. Here are my thoughts about what features it should have. If you have comments/suggestions/ideas/requests/whatever, please comment the gist.
<?php | |
$client = ...; | |
$response = $client->get('http://guzzlephp.org/index.html', null, tmpfile())->send(); | |
$response->getStream(); // Magic comes after |
#Integrating silex inside symfony2 full stack
It's a WIP
<?php | |
// ... | |
class AbstractInvoiceLineType extends AbstractType | |
{ | |
public function buildForm(FormBuilderInterface $builder, array $options) | |
{ | |
// ... |
Note that the prod environment home page is a 404, and this is a micro/unreal benchmark
I also had to fix some bugs manually, they're not all documented here, pr/issue soon
The tests were run on an EC2 small instance, Ubuntu 11.10.
$ php -v
PHP 5.4.6-1ubuntu1.1 (cli) (built: Nov 15 2012 01:18:34)
Copyright (c) 1997-2012 The PHP Group
<?php | |
namespace Incenteev\Bundle\Form\Extension; | |
use Symfony\Component\Form\AbstractTypeExtension; | |
use Symfony\Component\Form\FormBuilderInterface; | |
use Symfony\Component\OptionsResolver\OptionsResolverInterface; | |
/** | |
* @author Adrien Brault <[email protected]> |