mirror of
https://github.com/php-flasher/php-flasher.git
synced 2026-03-31 15:07:47 +01:00
Upgrade Symfony demo to v8.0, update dependencies
This commit is contained in:
+14
-14
@@ -15,26 +15,26 @@
|
|||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^8.2",
|
"php": "^8.2",
|
||||||
"inertiajs/inertia-laravel": "^2.0.1",
|
"inertiajs/inertia-laravel": "^2.0",
|
||||||
"laravel/framework": "^12.3",
|
"laravel/framework": "^12.0",
|
||||||
"laravel/tinker": "^2.10.1",
|
"laravel/tinker": "^2.10",
|
||||||
"livewire/livewire": "^3.6.2",
|
"livewire/livewire": "^3.6",
|
||||||
"php-flasher/php-flasher": "@dev",
|
"php-flasher/php-flasher": "@dev",
|
||||||
"spatie/laravel-csp": "^2.10.3",
|
"spatie/laravel-csp": "^2.10",
|
||||||
"spatie/laravel-ray": "^1.40.2"
|
"spatie/laravel-ray": "^1.40"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"barryvdh/laravel-debugbar": "^3.15.2",
|
"barryvdh/laravel-debugbar": "^3.15",
|
||||||
"fakerphp/faker": "^1.24.1",
|
"fakerphp/faker": "^1.24",
|
||||||
"larastan/larastan": "^3.2",
|
"larastan/larastan": "^3.2",
|
||||||
"laravel/pint": "^1.21.2",
|
"laravel/pint": "^1.21",
|
||||||
"laravel/sail": "^1.41",
|
"laravel/sail": "^1.41",
|
||||||
"mockery/mockery": "^1.6.12",
|
"mockery/mockery": "^1.6",
|
||||||
"nunomaduro/collision": "^8.7.0",
|
"nunomaduro/collision": "^8.7",
|
||||||
"pestphp/pest": "^3.7.4",
|
"pestphp/pest": "^3.7",
|
||||||
"pestphp/pest-plugin-laravel": "^3.1",
|
"pestphp/pest-plugin-laravel": "^3.1",
|
||||||
"spatie/laravel-ignition": "^2.9.1",
|
"spatie/laravel-ignition": "^2.9",
|
||||||
"spatie/ray": "^1.41.6"
|
"spatie/ray": "^1.41"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
|
|||||||
Generated
+1891
-1403
File diff suppressed because it is too large
Load Diff
+92
-21
@@ -6,7 +6,70 @@
|
|||||||
"repositories": [
|
"repositories": [
|
||||||
{
|
{
|
||||||
"type": "path",
|
"type": "path",
|
||||||
"url": "../..",
|
"url": "../../src/Prime",
|
||||||
|
"options": {
|
||||||
|
"symlink": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "path",
|
||||||
|
"url": "../../src/Symfony",
|
||||||
|
"options": {
|
||||||
|
"symlink": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "path",
|
||||||
|
"url": "../../src/Noty/Prime",
|
||||||
|
"options": {
|
||||||
|
"symlink": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "path",
|
||||||
|
"url": "../../src/Noty/Symfony",
|
||||||
|
"options": {
|
||||||
|
"symlink": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "path",
|
||||||
|
"url": "../../src/Notyf/Prime",
|
||||||
|
"options": {
|
||||||
|
"symlink": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "path",
|
||||||
|
"url": "../../src/Notyf/Symfony",
|
||||||
|
"options": {
|
||||||
|
"symlink": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "path",
|
||||||
|
"url": "../../src/SweetAlert/Prime",
|
||||||
|
"options": {
|
||||||
|
"symlink": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "path",
|
||||||
|
"url": "../../src/SweetAlert/Symfony",
|
||||||
|
"options": {
|
||||||
|
"symlink": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "path",
|
||||||
|
"url": "../../src/Toastr/Prime",
|
||||||
|
"options": {
|
||||||
|
"symlink": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "path",
|
||||||
|
"url": "../../src/Toastr/Symfony",
|
||||||
"options": {
|
"options": {
|
||||||
"symlink": true
|
"symlink": true
|
||||||
}
|
}
|
||||||
@@ -16,27 +79,35 @@
|
|||||||
"php": ">=8.2",
|
"php": ">=8.2",
|
||||||
"ext-ctype": "*",
|
"ext-ctype": "*",
|
||||||
"ext-iconv": "*",
|
"ext-iconv": "*",
|
||||||
"nelmio/security-bundle": "^3.4.2",
|
"nelmio/security-bundle": "^3.4",
|
||||||
"php-flasher/php-flasher": "@dev",
|
"php-flasher/flasher": "@dev",
|
||||||
"phpstan/phpstan-symfony": "^2.0.2",
|
"php-flasher/flasher-symfony": "@dev",
|
||||||
"symfony/console": "7.2.*",
|
"php-flasher/flasher-noty": "@dev",
|
||||||
"symfony/dotenv": "7.2.*",
|
"php-flasher/flasher-noty-symfony": "@dev",
|
||||||
"symfony/flex": "^2.4.7",
|
"php-flasher/flasher-notyf": "@dev",
|
||||||
"symfony/framework-bundle": "7.2.*",
|
"php-flasher/flasher-notyf-symfony": "@dev",
|
||||||
"symfony/monolog-bundle": "^3.10",
|
"php-flasher/flasher-sweetalert": "@dev",
|
||||||
"symfony/notifier": "7.2.*",
|
"php-flasher/flasher-sweetalert-symfony": "@dev",
|
||||||
"symfony/runtime": "7.2.*",
|
"php-flasher/flasher-toastr": "@dev",
|
||||||
"symfony/translation": "7.2.*",
|
"php-flasher/flasher-toastr-symfony": "@dev",
|
||||||
"symfony/twig-bundle": "7.2.*",
|
"phpstan/phpstan-symfony": "^2.0",
|
||||||
"symfony/yaml": "7.2.*",
|
"symfony/console": "8.0.*",
|
||||||
"twig/extra-bundle": "^2.12|^3.20",
|
"symfony/dotenv": "8.0.*",
|
||||||
"twig/twig": "^2.12|^3.20"
|
"symfony/flex": "^2.4",
|
||||||
|
"symfony/framework-bundle": "8.0.*",
|
||||||
|
"symfony/monolog-bundle": "^4.0",
|
||||||
|
"symfony/runtime": "8.0.*",
|
||||||
|
"symfony/translation": "8.0.*",
|
||||||
|
"symfony/twig-bundle": "8.0.*",
|
||||||
|
"symfony/yaml": "8.0.*",
|
||||||
|
"twig/extra-bundle": "^3.20",
|
||||||
|
"twig/twig": "^3.20"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"spatie/ray": "^1.41.5",
|
"spatie/ray": "^1.41",
|
||||||
"symfony/maker-bundle": "^1.62.1",
|
"symfony/maker-bundle": "^1.62",
|
||||||
"symfony/stopwatch": "7.2.*",
|
"symfony/stopwatch": "8.0.*",
|
||||||
"symfony/web-profiler-bundle": "7.2.*"
|
"symfony/web-profiler-bundle": "8.0.*"
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
"allow-plugins": {
|
"allow-plugins": {
|
||||||
@@ -85,7 +156,7 @@
|
|||||||
"extra": {
|
"extra": {
|
||||||
"symfony": {
|
"symfony": {
|
||||||
"allow-contrib": false,
|
"allow-contrib": false,
|
||||||
"require": "7.2.*",
|
"require": "8.0.*",
|
||||||
"docker": false
|
"docker": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Generated
+4619
-7841
File diff suppressed because it is too large
Load Diff
@@ -10,8 +10,6 @@ return [
|
|||||||
Symfony\Bundle\TwigBundle\TwigBundle::class => ['all' => true],
|
Symfony\Bundle\TwigBundle\TwigBundle::class => ['all' => true],
|
||||||
Twig\Extra\TwigExtraBundle\TwigExtraBundle::class => ['all' => true],
|
Twig\Extra\TwigExtraBundle\TwigExtraBundle::class => ['all' => true],
|
||||||
Symfony\Bundle\MakerBundle\MakerBundle::class => ['dev' => true],
|
Symfony\Bundle\MakerBundle\MakerBundle::class => ['dev' => true],
|
||||||
// Nelmio\SecurityBundle\NelmioSecurityBundle::class => ['all' => true],
|
|
||||||
Symfony\Bundle\WebProfilerBundle\WebProfilerBundle::class => ['dev' => true, 'test' => true],
|
Symfony\Bundle\WebProfilerBundle\WebProfilerBundle::class => ['dev' => true, 'test' => true],
|
||||||
Symfony\Bundle\MonologBundle\MonologBundle::class => ['all' => true],
|
Symfony\Bundle\MonologBundle\MonologBundle::class => ['all' => true],
|
||||||
Symfony\UX\TwigComponent\TwigComponentBundle::class => ['all' => true],
|
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
framework:
|
|
||||||
mailer:
|
|
||||||
dsn: '%env(MAILER_DSN)%'
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
framework:
|
|
||||||
notifier:
|
|
||||||
chatter_transports:
|
|
||||||
texter_transports:
|
|
||||||
channel_policy:
|
|
||||||
# use chat/slack, chat/telegram, sms/twilio or sms/nexmo
|
|
||||||
urgent: ['email']
|
|
||||||
high: ['email']
|
|
||||||
medium: ['email']
|
|
||||||
low: ['email']
|
|
||||||
admin_recipients:
|
|
||||||
- { email: admin@example.com }
|
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
framework:
|
||||||
|
property_info:
|
||||||
|
with_constructor_extractor: true
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
twig_component:
|
|
||||||
anonymous_template_directory: 'components/'
|
|
||||||
defaults:
|
|
||||||
# Namespace & directory for components
|
|
||||||
App\Twig\Components\: 'components/'
|
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,4 @@
|
|||||||
when@dev:
|
when@dev:
|
||||||
_errors:
|
_errors:
|
||||||
resource: '@FrameworkBundle/Resources/config/routing/errors.xml'
|
resource: '@FrameworkBundle/Resources/config/routing/errors.php'
|
||||||
prefix: /_error
|
prefix: /_error
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
when@dev:
|
when@dev:
|
||||||
web_profiler_wdt:
|
web_profiler_wdt:
|
||||||
resource: '@WebProfilerBundle/Resources/config/routing/wdt.xml'
|
resource: '@WebProfilerBundle/Resources/config/routing/wdt.php'
|
||||||
prefix: /_wdt
|
prefix: /_wdt
|
||||||
|
|
||||||
web_profiler_profiler:
|
web_profiler_profiler:
|
||||||
resource: '@WebProfilerBundle/Resources/config/routing/profiler.xml'
|
resource: '@WebProfilerBundle/Resources/config/routing/profiler.php'
|
||||||
prefix: /_profiler
|
prefix: /_profiler
|
||||||
|
|||||||
@@ -11,6 +11,21 @@
|
|||||||
"config/packages/nelmio_security.yaml"
|
"config/packages/nelmio_security.yaml"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"php-flasher/flasher-noty-symfony": {
|
||||||
|
"version": "2.x-dev"
|
||||||
|
},
|
||||||
|
"php-flasher/flasher-notyf-symfony": {
|
||||||
|
"version": "2.x-dev"
|
||||||
|
},
|
||||||
|
"php-flasher/flasher-sweetalert-symfony": {
|
||||||
|
"version": "2.x-dev"
|
||||||
|
},
|
||||||
|
"php-flasher/flasher-symfony": {
|
||||||
|
"version": "2.x-dev"
|
||||||
|
},
|
||||||
|
"php-flasher/flasher-toastr-symfony": {
|
||||||
|
"version": "2.x-dev"
|
||||||
|
},
|
||||||
"phpstan/phpstan": {
|
"phpstan/phpstan": {
|
||||||
"version": "1.10",
|
"version": "1.10",
|
||||||
"recipe": {
|
"recipe": {
|
||||||
@@ -99,16 +114,16 @@
|
|||||||
"config/packages/monolog.yaml"
|
"config/packages/monolog.yaml"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"symfony/notifier": {
|
"symfony/property-info": {
|
||||||
"version": "7.0",
|
"version": "7.4",
|
||||||
"recipe": {
|
"recipe": {
|
||||||
"repo": "github.com/symfony/recipes",
|
"repo": "github.com/symfony/recipes",
|
||||||
"branch": "main",
|
"branch": "main",
|
||||||
"version": "5.0",
|
"version": "7.3",
|
||||||
"ref": "178877daf79d2dbd62129dd03612cb1a2cb407cc"
|
"ref": "dae70df71978ae9226ae915ffd5fad817f5ca1f7"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"config/packages/notifier.yaml"
|
"config/packages/property_info.yaml"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"symfony/routing": {
|
"symfony/routing": {
|
||||||
|
|||||||
@@ -124,13 +124,13 @@
|
|||||||
|
|
||||||
{# Desktop Navigation #}
|
{# Desktop Navigation #}
|
||||||
<nav class="hidden md:flex items-center space-x-1">
|
<nav class="hidden md:flex items-center space-x-1">
|
||||||
<a href="{{ path('app_home') }}" class="nav-link {% if app.request.get('_route') == 'app_home' %}nav-link-active{% endif %}">Home</a>
|
<a href="{{ path('app_home') }}" class="nav-link {% if app.request.attributes.get('_route') == 'app_home' %}nav-link-active{% endif %}">Home</a>
|
||||||
<a href="{{ path('app_types') }}" class="nav-link {% if app.request.get('_route') == 'app_types' %}nav-link-active{% endif %}">Types</a>
|
<a href="{{ path('app_types') }}" class="nav-link {% if app.request.attributes.get('_route') == 'app_types' %}nav-link-active{% endif %}">Types</a>
|
||||||
<a href="{{ path('app_themes') }}" class="nav-link {% if app.request.get('_route') == 'app_themes' %}nav-link-active{% endif %}">Themes</a>
|
<a href="{{ path('app_themes') }}" class="nav-link {% if app.request.attributes.get('_route') == 'app_themes' %}nav-link-active{% endif %}">Themes</a>
|
||||||
<a href="{{ path('app_adapters') }}" class="nav-link {% if app.request.get('_route') == 'app_adapters' %}nav-link-active{% endif %}">Adapters</a>
|
<a href="{{ path('app_adapters') }}" class="nav-link {% if app.request.attributes.get('_route') == 'app_adapters' %}nav-link-active{% endif %}">Adapters</a>
|
||||||
<a href="{{ path('app_positions') }}" class="nav-link {% if app.request.get('_route') == 'app_positions' %}nav-link-active{% endif %}">Positions</a>
|
<a href="{{ path('app_positions') }}" class="nav-link {% if app.request.attributes.get('_route') == 'app_positions' %}nav-link-active{% endif %}">Positions</a>
|
||||||
<a href="{{ path('app_examples') }}" class="nav-link {% if app.request.get('_route') == 'app_examples' %}nav-link-active{% endif %}">Examples</a>
|
<a href="{{ path('app_examples') }}" class="nav-link {% if app.request.attributes.get('_route') == 'app_examples' %}nav-link-active{% endif %}">Examples</a>
|
||||||
<a href="{{ path('app_playground') }}" class="nav-link {% if app.request.get('_route') == 'app_playground' %}nav-link-active{% endif %}">Playground</a>
|
<a href="{{ path('app_playground') }}" class="nav-link {% if app.request.attributes.get('_route') == 'app_playground' %}nav-link-active{% endif %}">Playground</a>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
{# External Links #}
|
{# External Links #}
|
||||||
@@ -155,13 +155,13 @@
|
|||||||
{# Mobile Navigation #}
|
{# Mobile Navigation #}
|
||||||
<div id="mobile-menu" class="hidden md:hidden border-t border-gray-200 bg-white">
|
<div id="mobile-menu" class="hidden md:hidden border-t border-gray-200 bg-white">
|
||||||
<div class="px-4 py-3 space-y-1">
|
<div class="px-4 py-3 space-y-1">
|
||||||
<a href="{{ path('app_home') }}" class="block px-3 py-2 rounded-lg {% if app.request.get('_route') == 'app_home' %}bg-indigo-50 text-indigo-600{% else %}text-gray-600 hover:bg-gray-50{% endif %}">Home</a>
|
<a href="{{ path('app_home') }}" class="block px-3 py-2 rounded-lg {% if app.request.attributes.get('_route') == 'app_home' %}bg-indigo-50 text-indigo-600{% else %}text-gray-600 hover:bg-gray-50{% endif %}">Home</a>
|
||||||
<a href="{{ path('app_types') }}" class="block px-3 py-2 rounded-lg {% if app.request.get('_route') == 'app_types' %}bg-indigo-50 text-indigo-600{% else %}text-gray-600 hover:bg-gray-50{% endif %}">Types</a>
|
<a href="{{ path('app_types') }}" class="block px-3 py-2 rounded-lg {% if app.request.attributes.get('_route') == 'app_types' %}bg-indigo-50 text-indigo-600{% else %}text-gray-600 hover:bg-gray-50{% endif %}">Types</a>
|
||||||
<a href="{{ path('app_themes') }}" class="block px-3 py-2 rounded-lg {% if app.request.get('_route') == 'app_themes' %}bg-indigo-50 text-indigo-600{% else %}text-gray-600 hover:bg-gray-50{% endif %}">Themes</a>
|
<a href="{{ path('app_themes') }}" class="block px-3 py-2 rounded-lg {% if app.request.attributes.get('_route') == 'app_themes' %}bg-indigo-50 text-indigo-600{% else %}text-gray-600 hover:bg-gray-50{% endif %}">Themes</a>
|
||||||
<a href="{{ path('app_adapters') }}" class="block px-3 py-2 rounded-lg {% if app.request.get('_route') == 'app_adapters' %}bg-indigo-50 text-indigo-600{% else %}text-gray-600 hover:bg-gray-50{% endif %}">Adapters</a>
|
<a href="{{ path('app_adapters') }}" class="block px-3 py-2 rounded-lg {% if app.request.attributes.get('_route') == 'app_adapters' %}bg-indigo-50 text-indigo-600{% else %}text-gray-600 hover:bg-gray-50{% endif %}">Adapters</a>
|
||||||
<a href="{{ path('app_positions') }}" class="block px-3 py-2 rounded-lg {% if app.request.get('_route') == 'app_positions' %}bg-indigo-50 text-indigo-600{% else %}text-gray-600 hover:bg-gray-50{% endif %}">Positions</a>
|
<a href="{{ path('app_positions') }}" class="block px-3 py-2 rounded-lg {% if app.request.attributes.get('_route') == 'app_positions' %}bg-indigo-50 text-indigo-600{% else %}text-gray-600 hover:bg-gray-50{% endif %}">Positions</a>
|
||||||
<a href="{{ path('app_examples') }}" class="block px-3 py-2 rounded-lg {% if app.request.get('_route') == 'app_examples' %}bg-indigo-50 text-indigo-600{% else %}text-gray-600 hover:bg-gray-50{% endif %}">Examples</a>
|
<a href="{{ path('app_examples') }}" class="block px-3 py-2 rounded-lg {% if app.request.attributes.get('_route') == 'app_examples' %}bg-indigo-50 text-indigo-600{% else %}text-gray-600 hover:bg-gray-50{% endif %}">Examples</a>
|
||||||
<a href="{{ path('app_playground') }}" class="block px-3 py-2 rounded-lg {% if app.request.get('_route') == 'app_playground' %}bg-indigo-50 text-indigo-600{% else %}text-gray-600 hover:bg-gray-50{% endif %}">Playground</a>
|
<a href="{{ path('app_playground') }}" class="block px-3 py-2 rounded-lg {% if app.request.attributes.get('_route') == 'app_playground' %}bg-indigo-50 text-indigo-600{% else %}text-gray-600 hover:bg-gray-50{% endif %}">Playground</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|||||||
Reference in New Issue
Block a user