From 2d8fc88c89a767baf394b2cb94f73babe1d938ce Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Wed, 27 Jun 2018 10:03:43 +0200 Subject: [PATCH] Add symfony builtin server. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .gitignore | 4 ++ composer.json | 3 +- composer.lock | 110 ++++++++++++++++++++++++++++++++++++++++++++- config/bundles.php | 1 + symfony.lock | 12 +++++ 5 files changed, 128 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 1c80869..b642895 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,7 @@ /var/ /vendor/ ###< symfony/framework-bundle ### + +###> symfony/web-server-bundle ### +/.web-server-pid +###< symfony/web-server-bundle ### diff --git a/composer.json b/composer.json index 2ae0ef2..774fee5 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,8 @@ "symfony/yaml": "^4.1" }, "require-dev": { - "symfony/dotenv": "^4.1" + "symfony/dotenv": "^4.1", + "symfony/web-server-bundle": "^4.1" }, "config": { "preferred-install": { diff --git a/composer.lock b/composer.lock index aafb039..dc869da 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "content-hash": "a8525229f85eec0ed971030fc6f48c34", + "content-hash": "67bb25eed302937fdc1ca7b91a352316", "packages": [ { "name": "doctrine/annotations", @@ -2977,6 +2977,114 @@ "environment" ], "time": "2018-05-30T07:26:09+00:00" + }, + { + "name": "symfony/process", + "version": "v4.1.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/process.git", + "reference": "1d1677391ecf00d1c5b9482d6050c0c27aa3ac3a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/process/zipball/1d1677391ecf00d1c5b9482d6050c0c27aa3ac3a", + "reference": "1d1677391ecf00d1c5b9482d6050c0c27aa3ac3a", + "shasum": "" + }, + "require": { + "php": "^7.1.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.1-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Process\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony Process Component", + "homepage": "https://symfony.com", + "time": "2018-05-31T10:17:53+00:00" + }, + { + "name": "symfony/web-server-bundle", + "version": "v4.1.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/web-server-bundle.git", + "reference": "d8f9acbb98e8ce8c45aabe9b695615bed0e77fb4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/web-server-bundle/zipball/d8f9acbb98e8ce8c45aabe9b695615bed0e77fb4", + "reference": "d8f9acbb98e8ce8c45aabe9b695615bed0e77fb4", + "shasum": "" + }, + "require": { + "php": "^7.1.3", + "symfony/config": "~3.4|~4.0", + "symfony/console": "~3.4|~4.0", + "symfony/dependency-injection": "~3.4|~4.0", + "symfony/http-kernel": "~3.4|~4.0", + "symfony/polyfill-ctype": "~1.8", + "symfony/process": "^3.4.2|^4.0.2" + }, + "suggest": { + "symfony/expression-language": "For using the filter option of the log server.", + "symfony/monolog-bridge": "For using the log server." + }, + "type": "symfony-bundle", + "extra": { + "branch-alias": { + "dev-master": "4.1-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Bundle\\WebServerBundle\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony WebServerBundle", + "homepage": "https://symfony.com", + "time": "2018-05-07T07:14:12+00:00" } ], "aliases": [], diff --git a/config/bundles.php b/config/bundles.php index c804243..b03f1c8 100644 --- a/config/bundles.php +++ b/config/bundles.php @@ -7,4 +7,5 @@ return [ Doctrine\Bundle\DoctrineCacheBundle\DoctrineCacheBundle::class => ['all' => true], Doctrine\Bundle\DoctrineBundle\DoctrineBundle::class => ['all' => true], Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle::class => ['all' => true], + Symfony\Bundle\WebServerBundle\WebServerBundle::class => ['dev' => true], ]; diff --git a/symfony.lock b/symfony.lock index a8e1780..b038dbb 100644 --- a/symfony.lock +++ b/symfony.lock @@ -167,6 +167,9 @@ "symfony/polyfill-mbstring": { "version": "v1.8.0" }, + "symfony/process": { + "version": "v4.1.1" + }, "symfony/routing": { "version": "4.0", "recipe": { @@ -182,6 +185,15 @@ "symfony/templating": { "version": "v4.1.1" }, + "symfony/web-server-bundle": { + "version": "3.3", + "recipe": { + "repo": "github.com/symfony/recipes", + "branch": "master", + "version": "3.3", + "ref": "dae9b39fd6717970be7601101ce5aa960bf53d9a" + } + }, "symfony/yaml": { "version": "v4.1.0" }, -- 2.34.1