feat: remove ux-turbo

This commit is contained in:
2026-03-04 10:49:58 +01:00
parent f8d3136210
commit 3bf2168d84
9 changed files with 8 additions and 2375 deletions
+1 -12
View File
@@ -1,15 +1,4 @@
{
"controllers": {
"@symfony/ux-turbo": {
"turbo-core": {
"enabled": true,
"fetch": "eager"
},
"mercure-turbo-stream": {
"enabled": false,
"fetch": "eager"
}
}
},
"controllers": [],
"entrypoints": []
}
-1
View File
@@ -51,7 +51,6 @@
"symfony/stimulus-bundle": "^2.32",
"symfony/translation": "6.4.*",
"symfony/twig-bundle": "6.4.*",
"symfony/ux-turbo": "^2.32",
"symfony/validator": "6.4.*",
"symfony/webpack-encore-bundle": "^2.4",
"symfony/yaml": "6.4.*",
Generated
+1 -104
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": "547e84830fb5409e375f755a98d4b4d5",
"content-hash": "3f036a8e998cef3ccd637d8f2826eb8f",
"packages": [
{
"name": "api-platform/doctrine-common",
@@ -10623,109 +10623,6 @@
],
"time": "2025-12-23T15:07:59+00:00"
},
{
"name": "symfony/ux-turbo",
"version": "v2.32.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/ux-turbo.git",
"reference": "0deaa8abef20933d11f8bbe9899d950b4333ca1e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/ux-turbo/zipball/0deaa8abef20933d11f8bbe9899d950b4333ca1e",
"reference": "0deaa8abef20933d11f8bbe9899d950b4333ca1e",
"shasum": ""
},
"require": {
"php": ">=8.1",
"symfony/stimulus-bundle": "^2.9.1"
},
"conflict": {
"symfony/flex": "<1.13"
},
"require-dev": {
"dbrekelmans/bdi": "dev-main",
"doctrine/doctrine-bundle": "^2.4.3|^3.0|^4.0",
"doctrine/orm": "^2.8|^3.0",
"php-webdriver/webdriver": "^1.15",
"phpstan/phpstan": "^2.1.17",
"symfony/asset-mapper": "^6.4|^7.0|^8.0",
"symfony/debug-bundle": "^5.4|^6.0|^7.0|^8.0",
"symfony/expression-language": "^5.4|^6.0|^7.0|^8.0",
"symfony/form": "^5.4|^6.0|^7.0|^8.0",
"symfony/framework-bundle": "^6.4|^7.0|^8.0",
"symfony/mercure-bundle": "^0.3.7|^0.4.1",
"symfony/messenger": "^5.4|^6.0|^7.0|^8.0",
"symfony/panther": "^2.2",
"symfony/phpunit-bridge": "^5.4|^6.0|^7.0|^8.0",
"symfony/process": "^5.4|6.3.*|^7.0|^8.0",
"symfony/property-access": "^5.4|^6.0|^7.0|^8.0",
"symfony/security-core": "^5.4|^6.0|^7.0|^8.0",
"symfony/stopwatch": "^5.4|^6.0|^7.0|^8.0",
"symfony/twig-bundle": "^6.4|^7.0|^8.0",
"symfony/ux-twig-component": "^2.21",
"symfony/web-profiler-bundle": "^5.4|^6.0|^7.0|^8.0"
},
"type": "symfony-bundle",
"extra": {
"thanks": {
"url": "https://github.com/symfony/ux",
"name": "symfony/ux"
}
},
"autoload": {
"psr-4": {
"Symfony\\UX\\Turbo\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Kévin Dunglas",
"email": "kevin@dunglas.fr"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Hotwire Turbo integration for Symfony",
"homepage": "https://symfony.com",
"keywords": [
"hotwire",
"javascript",
"mercure",
"symfony-ux",
"turbo",
"turbo-stream"
],
"support": {
"source": "https://github.com/symfony/ux-turbo/tree/v2.32.0"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "custom"
},
{
"url": "https://github.com/fabpot",
"type": "github"
},
{
"url": "https://github.com/nicolas-grekas",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
"type": "tidelift"
}
],
"time": "2025-12-17T06:03:34+00:00"
},
{
"name": "symfony/validator",
"version": "v6.4.33",
-1
View File
@@ -17,6 +17,5 @@ return [
Zenstruck\Foundry\ZenstruckFoundryBundle::class => ['dev' => true, 'test' => true],
League\Bundle\OAuth2ServerBundle\LeagueOAuth2ServerBundle::class => ['all' => true],
Symfony\UX\StimulusBundle\StimulusBundle::class => ['all' => true],
Symfony\UX\Turbo\TurboBundle::class => ['all' => true],
Symfony\WebpackEncoreBundle\WebpackEncoreBundle::class => ['all' => true],
];
+3 -2242
View File
File diff suppressed because it is too large Load Diff
-2
View File
@@ -3,9 +3,7 @@
"@babel/core": "^7.17.0",
"@babel/preset-env": "^7.16.0",
"@hotwired/stimulus": "^3.0.0",
"@hotwired/turbo": "^7.1.0 || ^8.0",
"@symfony/stimulus-bridge": "^3.2.0 || ^4.0.0",
"@symfony/ux-turbo": "file:vendor/symfony/ux-turbo/assets",
"@symfony/webpack-encore": "^5.1.0",
"core-js": "^3.38.0",
"regenerator-runtime": "^0.13.9",
+3 -3
View File
@@ -14,7 +14,7 @@ use Symfony\Component\Security\Http\Authentication\AuthenticationUtils;
class SecurityController extends AbstractController
{
public function __construct(
private ClientManagerInterface $clientManager
private ClientManagerInterface $clientManager,
) {}
#[Route(path: '/login', name: 'app_login')]
@@ -44,7 +44,7 @@ class SecurityController extends AbstractController
if ($request->getMethod() === Request::METHOD_POST) {
$request->getSession()->set(
LeaugeOAuth2AuthorizationListener::AUTHORIZATION_RESULT,
$request->get('_consent')
$request->get('_consent') ?? false
);
return $this->redirectToRoute('oauth2_authorize', $request->query->all());
@@ -53,7 +53,7 @@ class SecurityController extends AbstractController
$client = $this->clientManager->find($request->query->get('client_id'));
return $this->render('security/consent.html.twig', [
'client_app' => $client->getName()
'client_app' => $client->getName(),
]);
}
}
-9
View File
@@ -321,15 +321,6 @@
"config/packages/uid.yaml"
]
},
"symfony/ux-turbo": {
"version": "2.32",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "main",
"version": "2.19",
"ref": "9dd2778a116b6e5e01e5e1582d03d5a9e82630de"
}
},
"symfony/validator": {
"version": "6.3",
"recipe": {
-1
View File
@@ -79,7 +79,6 @@
});
}
document.addEventListener("turbo:load", initHeader);
initHeader();
</script>
</header>