Installed and used composer require knplabs/knp-time-bundle to render time since ship arrived at.

This commit is contained in:
Krzysztof Płaczek
2024-10-19 17:34:00 +02:00
parent c2998606b5
commit 6172d76b79
8 changed files with 208 additions and 14 deletions

171
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": "af30e845fe4eb922d99c09917c25558f",
"content-hash": "9adfba642a39cd4247f2862fcd13dded",
"packages": [
{
"name": "composer/semver",
@@ -134,6 +134,81 @@
},
"time": "2024-01-30T19:34:25+00:00"
},
{
"name": "knplabs/knp-time-bundle",
"version": "v2.4.0",
"source": {
"type": "git",
"url": "https://github.com/KnpLabs/KnpTimeBundle.git",
"reference": "93e9528415b28a19872d74b28e816045c0fd217b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/KnpLabs/KnpTimeBundle/zipball/93e9528415b28a19872d74b28e816045c0fd217b",
"reference": "93e9528415b28a19872d74b28e816045c0fd217b",
"shasum": ""
},
"require": {
"php": ">=8.1",
"symfony/config": "^5.4|^6.0|^7.0",
"symfony/dependency-injection": "^5.4|^6.0|^7.0",
"symfony/translation": "^5.4|^6.0|^7.0"
},
"conflict": {
"phpunit/phpunit": "<8.0"
},
"require-dev": {
"phpstan/phpstan": "^1.11",
"phpunit/phpunit": "^9.6",
"symfony/framework-bundle": "^5.4|^6.0|^7.0",
"symfony/phpunit-bridge": "^5.4|^6.0|^7.0",
"symfony/twig-bundle": "^5.4|^6.0|^7.0"
},
"suggest": {
"symfony/twig-bundle": "to use the Twig `time_diff()` function and `|time_diff`/`|duration` filter"
},
"type": "symfony-bundle",
"extra": {
"branch-alias": {
"dev-master": "2.x-dev"
}
},
"autoload": {
"psr-4": {
"Knp\\Bundle\\TimeBundle\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "KnpLabs Team",
"homepage": "https://knplabs.com"
},
{
"name": "Symfony Community",
"homepage": "https://github.com/KnpLabs/KnpTimeBundle/contributors"
}
],
"description": "Making your dates and durations look sensible and descriptive",
"homepage": "https://github.com/KnpLabs/KnpTimeBundle",
"keywords": [
"bundle",
"date",
"descriptive time",
"duration",
"knp",
"knplabs",
"time"
],
"support": {
"issues": "https://github.com/KnpLabs/KnpTimeBundle/issues",
"source": "https://github.com/KnpLabs/KnpTimeBundle/tree/v2.4.0"
},
"time": "2024-06-11T09:38:28+00:00"
},
{
"name": "monolog/monolog",
"version": "3.7.0",
@@ -3553,6 +3628,100 @@
],
"time": "2024-09-20T08:28:38+00:00"
},
{
"name": "symfony/translation",
"version": "v7.1.5",
"source": {
"type": "git",
"url": "https://github.com/symfony/translation.git",
"reference": "235535e3f84f3dfbdbde0208ede6ca75c3a489ea"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/translation/zipball/235535e3f84f3dfbdbde0208ede6ca75c3a489ea",
"reference": "235535e3f84f3dfbdbde0208ede6ca75c3a489ea",
"shasum": ""
},
"require": {
"php": ">=8.2",
"symfony/polyfill-mbstring": "~1.0",
"symfony/translation-contracts": "^2.5|^3.0"
},
"conflict": {
"symfony/config": "<6.4",
"symfony/console": "<6.4",
"symfony/dependency-injection": "<6.4",
"symfony/http-client-contracts": "<2.5",
"symfony/http-kernel": "<6.4",
"symfony/service-contracts": "<2.5",
"symfony/twig-bundle": "<6.4",
"symfony/yaml": "<6.4"
},
"provide": {
"symfony/translation-implementation": "2.3|3.0"
},
"require-dev": {
"nikic/php-parser": "^4.18|^5.0",
"psr/log": "^1|^2|^3",
"symfony/config": "^6.4|^7.0",
"symfony/console": "^6.4|^7.0",
"symfony/dependency-injection": "^6.4|^7.0",
"symfony/finder": "^6.4|^7.0",
"symfony/http-client-contracts": "^2.5|^3.0",
"symfony/http-kernel": "^6.4|^7.0",
"symfony/intl": "^6.4|^7.0",
"symfony/polyfill-intl-icu": "^1.21",
"symfony/routing": "^6.4|^7.0",
"symfony/service-contracts": "^2.5|^3",
"symfony/yaml": "^6.4|^7.0"
},
"type": "library",
"autoload": {
"files": [
"Resources/functions.php"
],
"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": "Provides tools to internationalize your application",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/translation/tree/v7.1.5"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "custom"
},
{
"url": "https://github.com/fabpot",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
"type": "tidelift"
}
],
"time": "2024-09-16T06:30:38+00:00"
},
{
"name": "symfony/translation-contracts",
"version": "v3.5.0",