Web profiler added. Pagerfanta bundle added. FrameworkExtraBundle added.

This commit is contained in:
Alexey Skobkin 2018-06-21 02:28:31 +03:00
parent 0fe7910fd3
commit b409bfbfc7
10 changed files with 669 additions and 3 deletions

View file

@ -5,17 +5,21 @@
"php": "^7.2.0",
"ext-ctype": "*",
"ext-iconv": "*",
"sensio/framework-extra-bundle": "^5.1",
"symfony/console": "^4.1",
"symfony/flex": "^1.0",
"symfony/framework-bundle": "^4.1",
"symfony/lts": "^4@dev",
"symfony/orm-pack": "^1.0",
"symfony/translation": "^4.1",
"symfony/twig-bundle": "^4.1",
"symfony/web-server-bundle": "^4.1",
"symfony/yaml": "^4.1"
"symfony/yaml": "^4.1",
"white-october/pagerfanta-bundle": "^1.2"
},
"require-dev": {
"symfony/dotenv": "^4.1"
"symfony/dotenv": "^4.1",
"symfony/web-profiler-bundle": "^4.1"
},
"config": {
"preferred-install": {

589
composer.lock generated
View file

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "ff14d4830f32fea497a51addbee03608",
"content-hash": "6451fb298116549e08f8a9860dc00786",
"packages": [
{
"name": "doctrine/annotations",
@ -1097,6 +1097,75 @@
],
"time": "2017-11-16T23:22:31+00:00"
},
{
"name": "pagerfanta/pagerfanta",
"version": "v2.0.1",
"source": {
"type": "git",
"url": "https://github.com/whiteoctober/Pagerfanta.git",
"reference": "15770d9d7f6e8e07af568aed104a51f869591e73"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/whiteoctober/Pagerfanta/zipball/15770d9d7f6e8e07af568aed104a51f869591e73",
"reference": "15770d9d7f6e8e07af568aed104a51f869591e73",
"shasum": ""
},
"require": {
"php": ">=7.0"
},
"require-dev": {
"doctrine/orm": "~2.3",
"doctrine/phpcr-odm": "1.*",
"jackalope/jackalope-doctrine-dbal": "1.*",
"jmikola/geojson": "~1.0",
"mandango/mandango": "~1.0@dev",
"mandango/mondator": "~1.0@dev",
"phpunit/phpunit": "^5.7|^6",
"propel/propel": "~2.0@dev",
"propel/propel1": "~1.6",
"ruflin/elastica": "~1.3",
"solarium/solarium": "~3.1"
},
"suggest": {
"doctrine/mongodb-odm": "To use the DoctrineODMMongoDBAdapter.",
"doctrine/orm": "To use the DoctrineORMAdapter.",
"doctrine/phpcr-odm": "To use the DoctrineODMPhpcrAdapter. >= 1.1.0",
"mandango/mandango": "To use the MandangoAdapter.",
"propel/propel": "To use the Propel2Adapter",
"propel/propel1": "To use the PropelAdapter",
"solarium/solarium": "To use the SolariumAdapter."
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.0.x-dev"
}
},
"autoload": {
"psr-0": {
"Pagerfanta\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Pablo Díez",
"email": "pablodip@gmail.com"
}
],
"description": "Pagination for PHP 5.3",
"keywords": [
"page",
"pagination",
"paginator",
"paging"
],
"time": "2018-05-17T09:23:52+00:00"
},
{
"name": "psr/cache",
"version": "1.0.1",
@ -1287,6 +1356,75 @@
],
"time": "2017-10-23T01:57:42+00:00"
},
{
"name": "sensio/framework-extra-bundle",
"version": "v5.1.6",
"source": {
"type": "git",
"url": "https://github.com/sensiolabs/SensioFrameworkExtraBundle.git",
"reference": "bf4940572e43af679aaa13be98f3446a1c237bd8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sensiolabs/SensioFrameworkExtraBundle/zipball/bf4940572e43af679aaa13be98f3446a1c237bd8",
"reference": "bf4940572e43af679aaa13be98f3446a1c237bd8",
"shasum": ""
},
"require": {
"doctrine/common": "^2.2",
"symfony/config": "^3.3|^4.0",
"symfony/dependency-injection": "^3.3|^4.0",
"symfony/framework-bundle": "^3.3|^4.0",
"symfony/http-kernel": "^3.3|^4.0"
},
"require-dev": {
"doctrine/doctrine-bundle": "^1.6",
"doctrine/orm": "^2.5",
"symfony/browser-kit": "^3.3|^4.0",
"symfony/dom-crawler": "^3.3|^4.0",
"symfony/expression-language": "^3.3|^4.0",
"symfony/finder": "^3.3|^4.0",
"symfony/phpunit-bridge": "^3.3|^4.0",
"symfony/psr-http-message-bridge": "^0.3",
"symfony/security-bundle": "^3.3|^4.0",
"symfony/twig-bundle": "^3.3|^4.0",
"symfony/yaml": "^3.3|^4.0",
"twig/twig": "~1.12|~2.0",
"zendframework/zend-diactoros": "^1.3"
},
"suggest": {
"symfony/expression-language": "",
"symfony/psr-http-message-bridge": "To use the PSR-7 converters",
"symfony/security-bundle": ""
},
"type": "symfony-bundle",
"extra": {
"branch-alias": {
"dev-master": "5.1.x-dev"
}
},
"autoload": {
"psr-4": {
"Sensio\\Bundle\\FrameworkExtraBundle\\": ""
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Fabien Potencier",
"email": "fabien@symfony.com"
}
],
"description": "This bundle provides a way to configure your controllers with annotations",
"keywords": [
"annotations",
"controllers"
],
"time": "2018-02-14T08:40:54+00:00"
},
{
"name": "symfony/cache",
"version": "v4.1.0",
@ -2158,6 +2296,64 @@
"homepage": "https://symfony.com",
"time": "2018-05-30T12:52:34+00:00"
},
{
"name": "symfony/inflector",
"version": "v4.1.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/inflector.git",
"reference": "a55513ebd8aa4843300e325c84d0954a9d1f4ed8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/inflector/zipball/a55513ebd8aa4843300e325c84d0954a9d1f4ed8",
"reference": "a55513ebd8aa4843300e325c84d0954a9d1f4ed8",
"shasum": ""
},
"require": {
"php": "^7.1.3",
"symfony/polyfill-ctype": "~1.8"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "4.1-dev"
}
},
"autoload": {
"psr-4": {
"Symfony\\Component\\Inflector\\": ""
},
"exclude-from-classmap": [
"/Tests/"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Bernhard Schussek",
"email": "bschussek@gmail.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Symfony Inflector Component",
"homepage": "https://symfony.com",
"keywords": [
"inflection",
"pluralize",
"singularize",
"string",
"symfony",
"words"
],
"time": "2018-05-01T23:02:13+00:00"
},
{
"name": "symfony/lts",
"version": "dev-master",
@ -2387,6 +2583,73 @@
"homepage": "https://symfony.com",
"time": "2018-05-30T07:26:09+00:00"
},
{
"name": "symfony/property-access",
"version": "v4.1.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/property-access.git",
"reference": "f957d37eb476c9442a0c684b0cd0dd1fb38cb74a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/property-access/zipball/f957d37eb476c9442a0c684b0cd0dd1fb38cb74a",
"reference": "f957d37eb476c9442a0c684b0cd0dd1fb38cb74a",
"shasum": ""
},
"require": {
"php": "^7.1.3",
"symfony/inflector": "~3.4|~4.0"
},
"require-dev": {
"symfony/cache": "~3.4|~4.0"
},
"suggest": {
"psr/cache-implementation": "To cache access methods."
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "4.1-dev"
}
},
"autoload": {
"psr-4": {
"Symfony\\Component\\PropertyAccess\\": ""
},
"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 PropertyAccess Component",
"homepage": "https://symfony.com",
"keywords": [
"access",
"array",
"extraction",
"index",
"injection",
"object",
"property",
"property path",
"reflection"
],
"time": "2018-05-30T07:26:09+00:00"
},
{
"name": "symfony/routing",
"version": "v4.1.0",
@ -2465,6 +2728,75 @@
],
"time": "2018-05-30T07:26:09+00:00"
},
{
"name": "symfony/translation",
"version": "v4.1.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/translation.git",
"reference": "16328f5b217cebc8dd4adfe4aeeaa8c377581f5a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/translation/zipball/16328f5b217cebc8dd4adfe4aeeaa8c377581f5a",
"reference": "16328f5b217cebc8dd4adfe4aeeaa8c377581f5a",
"shasum": ""
},
"require": {
"php": "^7.1.3",
"symfony/polyfill-mbstring": "~1.0"
},
"conflict": {
"symfony/config": "<3.4",
"symfony/dependency-injection": "<3.4",
"symfony/yaml": "<3.4"
},
"require-dev": {
"psr/log": "~1.0",
"symfony/config": "~3.4|~4.0",
"symfony/console": "~3.4|~4.0",
"symfony/dependency-injection": "~3.4|~4.0",
"symfony/finder": "~2.8|~3.0|~4.0",
"symfony/intl": "~3.4|~4.0",
"symfony/yaml": "~3.4|~4.0"
},
"suggest": {
"psr/log-implementation": "To use logging capability in translator",
"symfony/config": "",
"symfony/yaml": ""
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "4.1-dev"
}
},
"autoload": {
"psr-4": {
"Symfony\\Component\\Translation\\": ""
},
"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 Translation Component",
"homepage": "https://symfony.com",
"time": "2018-05-30T07:26:09+00:00"
},
{
"name": "symfony/twig-bridge",
"version": "v4.1.0",
@ -2813,6 +3145,65 @@
],
"time": "2018-04-02T09:24:19+00:00"
},
{
"name": "white-october/pagerfanta-bundle",
"version": "v1.2.1",
"source": {
"type": "git",
"url": "https://github.com/whiteoctober/WhiteOctoberPagerfantaBundle.git",
"reference": "3f97e71c9d3f75e7a6179aa82c863497bf298b2d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/whiteoctober/WhiteOctoberPagerfantaBundle/zipball/3f97e71c9d3f75e7a6179aa82c863497bf298b2d",
"reference": "3f97e71c9d3f75e7a6179aa82c863497bf298b2d",
"shasum": ""
},
"require": {
"pagerfanta/pagerfanta": "^1.1.0|^2.0.0",
"php": ">=5.3",
"symfony/framework-bundle": "~2.3|~3.0|~4.0",
"symfony/property-access": "~2.3|~3.0|~4.0",
"symfony/twig-bundle": "~2.3|~3.0|~4.0"
},
"require-dev": {
"phpunit/phpunit": "~3.7|~4.0|^5.0",
"symfony/symfony": "~2.3|~3.0|~4.0"
},
"type": "symfony-bundle",
"extra": {
"branch-alias": {
"dev-master": "1.0.x-dev"
}
},
"autoload": {
"classmap": [
"WhiteOctoberPagerfantaBundle.php"
],
"psr-4": {
"WhiteOctober\\PagerfantaBundle\\DependencyInjection\\": "DependencyInjection",
"WhiteOctober\\PagerfantaBundle\\EventListener\\": "EventListener",
"WhiteOctober\\PagerfantaBundle\\Twig\\": "Twig",
"WhiteOctober\\PagerfantaBundle\\View\\": "View"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Pablo Díez",
"email": "pablodip@gmail.com"
}
],
"description": "Bundle to use Pagerfanta with Symfony2",
"keywords": [
"page",
"paging"
],
"time": "2018-06-20T09:32:42+00:00"
},
{
"name": "zendframework/zend-code",
"version": "3.3.0",
@ -2978,6 +3369,202 @@
"environment"
],
"time": "2018-05-30T07:26:09+00:00"
},
{
"name": "symfony/polyfill-php72",
"version": "v1.8.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php72.git",
"reference": "a4576e282d782ad82397f3e4ec1df8e0f0cafb46"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/a4576e282d782ad82397f3e4ec1df8e0f0cafb46",
"reference": "a4576e282d782ad82397f3e4ec1df8e0f0cafb46",
"shasum": ""
},
"require": {
"php": ">=5.3.3"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.8-dev"
}
},
"autoload": {
"psr-4": {
"Symfony\\Polyfill\\Php72\\": ""
},
"files": [
"bootstrap.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Nicolas Grekas",
"email": "p@tchwork.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions",
"homepage": "https://symfony.com",
"keywords": [
"compatibility",
"polyfill",
"portable",
"shim"
],
"time": "2018-04-26T10:06:28+00:00"
},
{
"name": "symfony/var-dumper",
"version": "v4.1.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/var-dumper.git",
"reference": "bc88ad53e825ebacc7b190bbd360781fce381c64"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/bc88ad53e825ebacc7b190bbd360781fce381c64",
"reference": "bc88ad53e825ebacc7b190bbd360781fce381c64",
"shasum": ""
},
"require": {
"php": "^7.1.3",
"symfony/polyfill-mbstring": "~1.0",
"symfony/polyfill-php72": "~1.5"
},
"conflict": {
"phpunit/phpunit": "<4.8.35|<5.4.3,>=5.0",
"symfony/console": "<3.4"
},
"require-dev": {
"ext-iconv": "*",
"symfony/process": "~3.4|~4.0",
"twig/twig": "~1.34|~2.4"
},
"suggest": {
"ext-iconv": "To convert non-UTF-8 strings to UTF-8 (or symfony/polyfill-iconv in case ext-iconv cannot be used).",
"ext-intl": "To show region name in time zone dump",
"symfony/console": "To use the ServerDumpCommand and/or the bin/var-dump-server script"
},
"bin": [
"Resources/bin/var-dump-server"
],
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "4.1-dev"
}
},
"autoload": {
"files": [
"Resources/functions/dump.php"
],
"psr-4": {
"Symfony\\Component\\VarDumper\\": ""
},
"exclude-from-classmap": [
"/Tests/"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Nicolas Grekas",
"email": "p@tchwork.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Symfony mechanism for exploring and dumping PHP variables",
"homepage": "https://symfony.com",
"keywords": [
"debug",
"dump"
],
"time": "2018-04-29T07:56:09+00:00"
},
{
"name": "symfony/web-profiler-bundle",
"version": "v4.1.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/web-profiler-bundle.git",
"reference": "8b3914ac388b2c560d4dc162c8136d136245718b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/web-profiler-bundle/zipball/8b3914ac388b2c560d4dc162c8136d136245718b",
"reference": "8b3914ac388b2c560d4dc162c8136d136245718b",
"shasum": ""
},
"require": {
"php": "^7.1.3",
"symfony/http-kernel": "~4.1",
"symfony/routing": "~3.4|~4.0",
"symfony/twig-bridge": "~3.4|~4.0",
"symfony/var-dumper": "~3.4|~4.0",
"twig/twig": "~1.34|~2.4"
},
"conflict": {
"symfony/config": "<3.4",
"symfony/dependency-injection": "<3.4",
"symfony/event-dispatcher": "<3.4",
"symfony/var-dumper": "<3.4"
},
"require-dev": {
"symfony/config": "~3.4|~4.0",
"symfony/console": "~3.4|~4.0",
"symfony/dependency-injection": "~3.4|~4.0",
"symfony/stopwatch": "~3.4|~4.0"
},
"type": "symfony-bundle",
"extra": {
"branch-alias": {
"dev-master": "4.1-dev"
}
},
"autoload": {
"psr-4": {
"Symfony\\Bundle\\WebProfilerBundle\\": ""
},
"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 WebProfilerBundle",
"homepage": "https://symfony.com",
"time": "2018-05-23T13:33:23+00:00"
}
],
"aliases": [],

View file

@ -7,4 +7,7 @@ return [
Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle::class => ['all' => true],
Symfony\Bundle\TwigBundle\TwigBundle::class => ['all' => true],
Symfony\Bundle\WebServerBundle\WebServerBundle::class => ['dev' => true],
Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle::class => ['all' => true],
WhiteOctober\PagerfantaBundle\WhiteOctoberPagerfantaBundle::class => ['all' => true],
Symfony\Bundle\WebProfilerBundle\WebProfilerBundle::class => ['dev' => true, 'test' => true],
];

View file

@ -0,0 +1,6 @@
web_profiler:
toolbar: true
intercept_redirects: false
framework:
profiler: { only_exceptions: false }

View file

@ -0,0 +1,6 @@
web_profiler:
toolbar: false
intercept_redirects: false
framework:
profiler: { collect: false }

View file

@ -0,0 +1,7 @@
framework:
default_locale: '%locale%'
translator:
paths:
- '%kernel.project_dir%/translations'
fallbacks:
- '%locale%'

View file

@ -0,0 +1,7 @@
web_profiler_wdt:
resource: '@WebProfilerBundle/Resources/config/routing/wdt.xml'
prefix: /_wdt
web_profiler_profiler:
resource: '@WebProfilerBundle/Resources/config/routing/profiler.xml'
prefix: /_profiler

View file

@ -1,6 +1,7 @@
# Put parameters here that don't need to change on each machine where the app is deployed
# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration
parameters:
locale: 'en'
services:
# default configuration for services in *this* file

View file

@ -65,6 +65,9 @@
"ocramius/proxy-manager": {
"version": "2.2.0"
},
"pagerfanta/pagerfanta": {
"version": "v2.0.1"
},
"psr/cache": {
"version": "1.0.1"
},
@ -77,6 +80,15 @@
"psr/simple-cache": {
"version": "1.0.1"
},
"sensio/framework-extra-bundle": {
"version": "4.0",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "master",
"version": "4.0",
"ref": "aaddfdf43cdecd4cf91f992052d76c2cadc04543"
}
},
"symfony/cache": {
"version": "v4.1.0"
},
@ -137,6 +149,9 @@
"symfony/http-kernel": {
"version": "v4.1.0"
},
"symfony/inflector": {
"version": "v4.1.0"
},
"symfony/lts": {
"version": "4-dev"
},
@ -146,9 +161,15 @@
"symfony/polyfill-mbstring": {
"version": "v1.8.0"
},
"symfony/polyfill-php72": {
"version": "v1.8.0"
},
"symfony/process": {
"version": "v4.1.0"
},
"symfony/property-access": {
"version": "v4.1.0"
},
"symfony/routing": {
"version": "4.0",
"recipe": {
@ -158,6 +179,15 @@
"ref": "cda8b550123383d25827705d05a42acf6819fe4e"
}
},
"symfony/translation": {
"version": "3.3",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "master",
"version": "3.3",
"ref": "6bcd6c570c017ea6ae5a7a6a027c929fd3542cd8"
}
},
"symfony/twig-bridge": {
"version": "v4.1.0"
},
@ -170,6 +200,18 @@
"ref": "f75ac166398e107796ca94cc57fa1edaa06ec47f"
}
},
"symfony/var-dumper": {
"version": "v4.1.0"
},
"symfony/web-profiler-bundle": {
"version": "3.3",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "master",
"version": "3.3",
"ref": "6bdfa1a95f6b2e677ab985cd1af2eae35d62e0f6"
}
},
"symfony/web-server-bundle": {
"version": "3.3",
"recipe": {
@ -185,6 +227,9 @@
"twig/twig": {
"version": "v2.4.8"
},
"white-october/pagerfanta-bundle": {
"version": "v1.2.1"
},
"zendframework/zend-code": {
"version": "3.3.0"
},

0
translations/.gitignore vendored Normal file
View file