Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated Silex

  • Loading branch information...
commit 177be2905afdd45d934ed37e147a7461361c62d5 1 parent 8813a19
@fabian fabian authored
View
4 composer.json
@@ -29,6 +29,7 @@
},
"require": {
"php": ">= 5.3.2",
+ "silex/silex": "1.0.*",
"kriswallsmith/buzz": "0.6",
"predis/predis": "0.7.*",
"twig/twig": "1.6.*",
@@ -38,5 +39,6 @@
},
"autoload": {
"psr-0": {"Transport": "lib/"}
- }
+ },
+ "minimum-stability": "dev"
}
View
382 composer.lock
@@ -1,5 +1,5 @@
{
- "hash": "916103d52f680f238b9f82c443451199",
+ "hash": "504da9835891d2e0f21b960280620be5",
"packages": [
{
"name": "facebook/xhprof",
@@ -40,7 +40,7 @@
"suggest": {
"ext-curl": "*"
},
- "time": "2012-05-25 09:19:16",
+ "time": "2012-05-25 05:19:16",
"type": "library",
"installation-source": "dist",
"autoload": {
@@ -83,7 +83,7 @@
"require": {
"php": ">=5.3.0"
},
- "time": "2011-10-24 05:39:02",
+ "time": "2011-10-24 01:39:02",
"type": "library",
"installation-source": "dist",
"autoload": {
@@ -110,25 +110,71 @@
]
},
{
+ "name": "pimple/pimple",
+ "version": "dev-master",
+ "source": {
+ "type": "git",
+ "url": "git://github.com/fabpot/Pimple.git",
+ "reference": "b9f27b8dc18c08f00627dec02359b46a24791dc3"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://github.com/fabpot/Pimple/zipball/b9f27b8dc18c08f00627dec02359b46a24791dc3",
+ "reference": "b9f27b8dc18c08f00627dec02359b46a24791dc3",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.0"
+ },
+ "time": "1347278988",
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0.x-dev"
+ }
+ },
+ "installation-source": "source",
+ "autoload": {
+ "psr-0": {
+ "Pimple": "lib/"
+ }
+ },
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com"
+ }
+ ],
+ "description": "Pimple is a simple Dependency Injection Container for PHP 5.3",
+ "homepage": "http://pimple.sensiolabs.org",
+ "keywords": [
+ "dependency injection",
+ "container"
+ ]
+ },
+ {
"name": "predis/predis",
- "version": "v0.7.3",
+ "version": "0.7.x-dev",
"source": {
"type": "git",
"url": "git://github.com/nrk/predis.git",
- "reference": "v0.7.3"
+ "reference": "5859578046f0375eac5df75e5dd514d44d38f4ae"
},
"dist": {
"type": "zip",
- "url": "https://github.com/nrk/predis/zipball/v0.7.3",
- "reference": "v0.7.3",
+ "url": "https://github.com/nrk/predis/zipball/5859578046f0375eac5df75e5dd514d44d38f4ae",
+ "reference": "5859578046f0375eac5df75e5dd514d44d38f4ae",
"shasum": ""
},
"require": {
"php": ">=5.3.0"
},
- "time": "2012-06-01 05:17:31",
+ "time": "1346694780",
"type": "library",
- "installation-source": "dist",
+ "installation-source": "source",
"autoload": {
"psr-0": {
"Predis": "lib/"
@@ -141,8 +187,7 @@
{
"name": "Daniele Alessandri",
"email": "suppakilla@gmail.com",
- "homepage": "http://clorophilla.net",
- "role": null
+ "homepage": "http://clorophilla.net"
}
],
"description": "Flexible and feature-complete PHP client library for Redis",
@@ -154,8 +199,313 @@
]
},
{
+ "name": "silex/silex",
+ "version": "dev-master",
+ "source": {
+ "type": "git",
+ "url": "git://github.com/fabpot/Silex.git",
+ "reference": "97e418fcb0df2dd570732b208ce03e40e3dd2e0b"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://github.com/fabpot/Silex/zipball/97e418fcb0df2dd570732b208ce03e40e3dd2e0b",
+ "reference": "97e418fcb0df2dd570732b208ce03e40e3dd2e0b",
+ "shasum": ""
+ },
+ "require": {
+ "symfony/event-dispatcher": "2.1.*",
+ "symfony/http-foundation": "2.1.*",
+ "symfony/http-kernel": "2.1.*",
+ "symfony/routing": "2.1.*",
+ "php": ">=5.3.3",
+ "pimple/pimple": "1.*"
+ },
+ "require-dev": {
+ "symfony/form": "2.1.*",
+ "symfony/translation": "2.1.*",
+ "symfony/twig-bridge": "2.1.*",
+ "symfony/validator": "2.1.*",
+ "symfony/monolog-bridge": "2.1.*",
+ "symfony/browser-kit": "2.1.*",
+ "symfony/css-selector": "2.1.*",
+ "symfony/finder": "2.1.*",
+ "symfony/process": "2.1.*",
+ "symfony/security": "2.1.*",
+ "monolog/monolog": ">=1.0.0,<1.2-dev",
+ "symfony/config": "2.1.*",
+ "symfony/locale": "2.1.*",
+ "twig/twig": ">=1.8.0,<2.0-dev",
+ "swiftmailer/swiftmailer": "4.2.*",
+ "doctrine/dbal": "2.2.*"
+ },
+ "suggest": {
+ "symfony/browser-kit": "2.1.*",
+ "symfony/css-selector": "2.1.*",
+ "symfony/dom-crawler": "2.1.*"
+ },
+ "time": "1347738639",
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "1.0-dev"
+ }
+ },
+ "installation-source": "source",
+ "autoload": {
+ "psr-0": {
+ "Silex": "src/"
+ }
+ },
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com"
+ },
+ {
+ "name": "Igor Wiedler",
+ "email": "igor@wiedler.ch",
+ "homepage": "http://wiedler.ch/igor/"
+ }
+ ],
+ "description": "The PHP micro-framework based on the Symfony2 Components",
+ "homepage": "http://silex.sensiolabs.org",
+ "keywords": [
+ "microframework"
+ ]
+ },
+ {
+ "name": "symfony/event-dispatcher",
+ "version": "2.1.x-dev",
+ "target-dir": "Symfony/Component/EventDispatcher",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/EventDispatcher",
+ "reference": "v2.1.1"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://github.com/symfony/EventDispatcher/zipball/v2.1.1",
+ "reference": "v2.1.1",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.3"
+ },
+ "require-dev": {
+ "symfony/dependency-injection": "2.1.*"
+ },
+ "suggest": {
+ "symfony/dependency-injection": "2.1.*",
+ "symfony/http-kernel": "2.1.*"
+ },
+ "time": "1347274422",
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.1-dev"
+ }
+ },
+ "installation-source": "source",
+ "autoload": {
+ "psr-0": {
+ "Symfony\\Component\\EventDispatcher": ""
+ }
+ },
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "http://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony EventDispatcher Component",
+ "homepage": "http://symfony.com"
+ },
+ {
+ "name": "symfony/http-foundation",
+ "version": "2.1.x-dev",
+ "target-dir": "Symfony/Component/HttpFoundation",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/HttpFoundation",
+ "reference": "v2.1.1"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://github.com/symfony/HttpFoundation/zipball/v2.1.1",
+ "reference": "v2.1.1",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.3"
+ },
+ "time": "1346761482",
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.1-dev"
+ }
+ },
+ "installation-source": "source",
+ "autoload": {
+ "psr-0": {
+ "Symfony\\Component\\HttpFoundation": "",
+ "SessionHandlerInterface": "Symfony/Component/HttpFoundation/Resources/stubs"
+ }
+ },
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "http://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony HttpFoundation Component",
+ "homepage": "http://symfony.com"
+ },
+ {
+ "name": "symfony/http-kernel",
+ "version": "2.1.x-dev",
+ "target-dir": "Symfony/Component/HttpKernel",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/HttpKernel",
+ "reference": "584499e64026f41c4be938ed35d8f0a9a9eebd38"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://github.com/symfony/HttpKernel/zipball/584499e64026f41c4be938ed35d8f0a9a9eebd38",
+ "reference": "584499e64026f41c4be938ed35d8f0a9a9eebd38",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.3",
+ "symfony/event-dispatcher": "2.1.*",
+ "symfony/http-foundation": "2.1.*"
+ },
+ "require-dev": {
+ "symfony/browser-kit": "2.1.*",
+ "symfony/class-loader": "2.1.*",
+ "symfony/config": "2.1.*",
+ "symfony/console": "2.1.*",
+ "symfony/dependency-injection": "2.1.*",
+ "symfony/finder": "2.1.*",
+ "symfony/process": "2.1.*",
+ "symfony/routing": "2.1.*"
+ },
+ "suggest": {
+ "symfony/browser-kit": "2.1.*",
+ "symfony/class-loader": "2.1.*",
+ "symfony/config": "2.1.*",
+ "symfony/console": "2.1.*",
+ "symfony/dependency-injection": "2.1.*",
+ "symfony/finder": "2.1.*"
+ },
+ "time": "1347354770",
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.1-dev"
+ }
+ },
+ "installation-source": "source",
+ "autoload": {
+ "psr-0": {
+ "Symfony\\Component\\HttpKernel": ""
+ }
+ },
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "http://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony HttpKernel Component",
+ "homepage": "http://symfony.com"
+ },
+ {
+ "name": "symfony/routing",
+ "version": "2.1.x-dev",
+ "target-dir": "Symfony/Component/Routing",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/symfony/Routing",
+ "reference": "v2.1.1"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://github.com/symfony/Routing/zipball/v2.1.1",
+ "reference": "v2.1.1",
+ "shasum": ""
+ },
+ "require": {
+ "php": ">=5.3.3"
+ },
+ "require-dev": {
+ "symfony/config": "2.1.*",
+ "symfony/yaml": "2.1.*",
+ "symfony/http-kernel": "2.1.*",
+ "doctrine/common": ">=2.2,<2.4-dev"
+ },
+ "suggest": {
+ "doctrine/common": ">=2.2,<2.4-dev",
+ "symfony/config": "2.1.*",
+ "symfony/yaml": "2.1.*"
+ },
+ "time": "1347274422",
+ "type": "library",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "2.1-dev"
+ }
+ },
+ "installation-source": "source",
+ "autoload": {
+ "psr-0": {
+ "Symfony\\Component\\Routing": ""
+ }
+ },
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "http://symfony.com/contributors"
+ }
+ ],
+ "description": "Symfony Routing Component",
+ "homepage": "http://symfony.com"
+ },
+ {
"name": "symfony/serializer",
- "version": "v2.0.17",
+ "version": "2.0.x-dev",
"target-dir": "Symfony/Component/Serializer",
"source": {
"type": "git",
@@ -171,9 +521,9 @@
"require": {
"php": ">=5.3.2"
},
- "time": "2012-08-28 04:43:14",
+ "time": "1346136194",
"type": "library",
- "installation-source": "dist",
+ "installation-source": "source",
"autoload": {
"psr-0": {
"Symfony\\Component\\Serializer": ""
@@ -212,7 +562,7 @@
"require": {
"php": ">=5.2.4"
},
- "time": "2012-04-11 05:00:38",
+ "time": "2012-04-11 01:00:38",
"type": "library",
"installation-source": "dist",
"autoload": {
@@ -248,7 +598,7 @@
"aliases": [
],
- "minimum-stability": "stable",
+ "minimum-stability": "dev",
"stability-flags": {
"facebook/xhprof": 20
}
View
BIN  silex.phar
Binary file not shown
View
1  web/api.php
@@ -1,6 +1,5 @@
<?php
-require_once 'phar://'.__DIR__.'/../silex.phar';
require __DIR__.'/../vendor/autoload.php';
use Symfony\Component\HttpFoundation\Request;
View
1  web/stats.php
@@ -1,6 +1,5 @@
<?php
-require_once 'phar://'.__DIR__.'/../silex.phar';
require __DIR__ . '/../vendor/autoload.php';
use Symfony\Component\HttpFoundation\Request;
Please sign in to comment.
Something went wrong with that request. Please try again.