Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
eee57a7
Update passing-data-to-your-hookables.md
redips Jun 23, 2025
bd1d337
add metatags hook
Florian-Merle Aug 17, 2025
433dbb5
sort main and bulk actions by position
Florian-Merle Aug 17, 2025
cd3e184
[Docs] Remove unnecessary parts of the getting started
loic425 Sep 25, 2025
cc72719
[Docs] Add "Configure the routes' name" section to resource/configure…
coldic3 Aug 5, 2025
51db859
[Docs] Add clear explanation in code example for custom routePrefix i…
coldic3 Aug 18, 2025
857ae4b
Add missing translating
alexanderbuerner Jun 28, 2025
7daa65f
Add translation
alexanderbuerner Jun 28, 2025
efe836c
Adjust typo
alexanderbuerner Jun 28, 2025
4f91da8
WCAG improvements
loic425 Jun 10, 2025
e7047bc
Add link script
Florian-Merle Apr 27, 2025
b1de79c
[Docs][TwigExtra] Fix sylius_sort_by example
loic425 Sep 26, 2025
488fb5d
Fix data table template when no grid is attached to the index operation
loic425 Sep 23, 2025
ae08768
[Docs][TwigExtra] Fix another sort_by to sylius_sort_by
loic425 Sep 26, 2025
8be0d50
[Docs] Improve documentation about resource
loic425 Sep 26, 2025
bdc6bae
[AdminUi] Use admin dashboard route instead of admin ui configuration
loic425 Sep 25, 2025
f67f14d
Allow configuring primary Twig hook for CRUD templates
loic425 Aug 25, 2025
f54cc86
Prepare 0.9
loic425 Sep 26, 2025
04ed943
Fix missing dashboard path replacement
loic425 Sep 29, 2025
2906cb1
[Docs] Fix a typo in create new resource chapter
loic425 Sep 30, 2025
d74fd56
GITBOOK-22: Estelle's Oct 2 changes - Fix typos & broken code blocks
stlgaits Oct 2, 2025
ac055e9
Added Dutch translations
shinyvision Oct 1, 2025
7c0841c
GITBOOK-23: Estelle's Oct 2 changes - entity autocompletes
stlgaits Oct 9, 2025
a87f2ba
GITBOOK-25: Estelle's Oct 15 changes - custom filters with attributes
stlgaits Oct 15, 2025
e3fab3b
GITBOOK-24: Estelle's Oct 15 changes
stlgaits Oct 15, 2025
05d60d3
GITBOOK-27: Estelle's Oct 15 changes - your 1st grid revamp with attr…
stlgaits Oct 16, 2025
06a529c
GITBOOK-28: Estelle's Oct 16 changes - replace PHP legacy with "confi…
stlgaits Oct 16, 2025
cb31748
[Docs] Add Resource Lifecycle
loic425 Oct 16, 2025
7c65d97
[Docs] Rework Sylius resource introduction
loic425 Oct 16, 2025
a9ca0dc
Apply suggestions from code review
loic425 Oct 20, 2025
15f041e
[Docs] Collapse menu items
loic425 Oct 24, 2025
3c6198a
Update docs/cookbook/admin_panel/menu.md
loic425 Oct 24, 2025
7f1cceb
[Docs][BootstrapAdminUi] Copy usage with Sylius resource package
loic425 Oct 22, 2025
8800868
Update docs/bootstrap-admin-ui/getting-started.md
loic425 Oct 24, 2025
f2d534e
[BootstrapAdminUi] add a footer
loic425 Oct 24, 2025
d0eecc3
Prepare 0.10
loic425 Sep 26, 2025
ad167dc
GITBOOK-29: Estelle's Oct 29 changes - update code examples with attr…
stlgaits Oct 29, 2025
0ca573a
[Docs] Fix speaker autocomplete
loic425 Oct 29, 2025
f8d236e
TASK: [AdminUi] add missing german translations
crydotsnake Nov 1, 2025
260204b
TASK: add translations for german CH and german AT
crydotsnake Nov 1, 2025
8495e52
GITBOOK-31: Estelle's Nov 5 changes - Creating your first grid
stlgaits Nov 5, 2025
a180f62
GITBOOK-32: adjust templateDir path in Creating your first grid page
crydotsnake Nov 5, 2025
11fd005
GITBOOK-33: Add templateDir notice to basic operations page
crydotsnake Nov 5, 2025
f3aed7d
[BootstrapAdminUi] Use translation domain on menu
loic425 Nov 17, 2025
42c7554
GITBOOK-30: Estelle's Nov 5 changes - update Field types
stlgaits Nov 21, 2025
f5887e3
TASK: [DOCS] adjust firewall config docs
crydotsnake Nov 28, 2025
f6f44e9
TASK: use warning hint style
crydotsnake Nov 28, 2025
9a5ed74
fix typo
crydotsnake Nov 28, 2025
10cdd90
TASK: [DOCS] improve getting started stacks docs
crydotsnake Nov 28, 2025
de73670
GITBOOK-34: Estelle's Dec 9 changes - fix twig template not displayed…
stlgaits Dec 9, 2025
0f243fd
Add support for Symfony 8
loic425 Dec 22, 2025
a88c06d
docs(install): update install instructions with Symfony 8 projects
stlgaits Jan 20, 2026
d12803c
docs(resource): add missing use statements in processors section
stlgaits Jan 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 13 additions & 25 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [ "8.1", "8.2", "8.3" ]
php: [ "8.2", "8.3" ]
postgres: ["14.6"]
symfony: [ "^6.4", "^7.0" ]
exclude:
- php: "8.1"
symfony: "^7.0"
symfony: [ "^6.4", "^7.4" ]
include:
- php: '8.4'
postgres: "14.6"
symfony: "^8.0"
name: "PHP ${{ matrix.php }} / Symfony ${{ matrix.symfony }}"
env:
APP_ENV: test
Expand All @@ -33,7 +34,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: "${{ matrix.php }}"
tools: symfony
tools: 'symfony, composer:v2, flex'
coverage: none

- name: Shutdown default MySQL
Expand All @@ -46,10 +47,7 @@ jobs:
postgresql password: "postgres"

- name: "Restrict packages' versions"
run: |
composer global config --no-plugins allow-plugins.symfony/flex true
composer global require --no-progress --no-scripts --no-plugins "symfony/flex"
composer config extra.symfony.require "${{ matrix.symfony }}"
run: composer config extra.symfony.require "${{ matrix.symfony }}"

- name: Get Composer cache directory
id: composer-cache
Expand Down Expand Up @@ -102,9 +100,7 @@ jobs:

- name: "Restrict packages' versions (Admin Ui)"
run: |
(cd src/AdminUi/ && composer global config --no-plugins allow-plugins.symfony/flex true)
(cd src/AdminUi/ && composer global config --no-plugins allow-plugins.symfony/runtime true)
(cd src/AdminUi/ && composer global require --no-progress --no-scripts --no-plugins "symfony/flex")
(cd src/AdminUi/ && composer config --no-plugins allow-plugins.symfony/runtime true)
(cd src/AdminUi/ && composer config extra.symfony.require "${{ matrix.symfony }}")

- name: "Install dependencies (Admin Ui)"
Expand All @@ -115,9 +111,7 @@ jobs:

- name: "Restrict packages' versions (Bootstrap Admin Ui)"
run: |
(cd src/BootstrapAdminUi/ && composer global config --no-plugins allow-plugins.symfony/flex true)
(cd src/BootstrapAdminUi/ && composer global config --no-plugins allow-plugins.symfony/runtime true)
(cd src/BootstrapAdminUi/ && composer global require --no-progress --no-scripts --no-plugins "symfony/flex")
(cd src/BootstrapAdminUi/ && composer config --no-plugins allow-plugins.symfony/runtime true)
(cd src/BootstrapAdminUi/ && composer config extra.symfony.require "${{ matrix.symfony }}")

- name: "Install dependencies (Bootstrap Admin Ui)"
Expand All @@ -128,9 +122,7 @@ jobs:

- name: "Restrict packages' versions (Twig Hooks)"
run: |
(cd src/TwigHooks/ && composer global config --no-plugins allow-plugins.symfony/flex true)
(cd src/TwigHooks/ && composer global config --no-plugins allow-plugins.symfony/runtime true)
(cd src/TwigHooks/ && composer global require --no-progress --no-scripts --no-plugins "symfony/flex")
(cd src/TwigHooks/ && composer config --no-plugins allow-plugins.symfony/runtime true)
(cd src/TwigHooks/ && composer config extra.symfony.require "${{ matrix.symfony }}")

- name: "Install dependencies (Twig Hooks)"
Expand All @@ -141,9 +133,7 @@ jobs:

- name: "Restrict packages' versions (Twig Extra)"
run: |
(cd src/TwigExtra/ && composer global config --no-plugins allow-plugins.symfony/flex true)
(cd src/TwigExtra/ && composer global config --no-plugins allow-plugins.symfony/runtime true)
(cd src/TwigExtra/ && composer global require --no-progress --no-scripts --no-plugins "symfony/flex")
(cd src/TwigExtra/ && composer config --no-plugins allow-plugins.symfony/runtime true)
(cd src/TwigExtra/ && composer config extra.symfony.require "${{ matrix.symfony }}")

- name: "Install dependencies (Twig Extra)"
Expand All @@ -154,9 +144,7 @@ jobs:

- name: "Restrict packages' versions (Ui Translations)"
run: |
(cd src/UiTranslations/ && composer global config --no-plugins allow-plugins.symfony/flex true)
(cd src/UiTranslations/ && composer global config --no-plugins allow-plugins.symfony/runtime true)
(cd src/UiTranslations/ && composer global require --no-progress --no-scripts --no-plugins "symfony/flex")
(cd src/UiTranslations/ && composer config --no-plugins allow-plugins.symfony/runtime true)
(cd src/UiTranslations/ && composer config extra.symfony.require "${{ matrix.symfony }}")

- name: "Install dependencies (Ui Translations)"
Expand Down
4 changes: 4 additions & 0 deletions app/Entity/Book.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@
new Create(),
new Update(),
new Index(grid: BookGrid::class),
new Index(
template: '@SyliusAdminUi/crud/index.html.twig',
shortName: 'withoutGrid',
),
new Delete(),
new BulkDelete(),
new Show(),
Expand Down
6 changes: 3 additions & 3 deletions app/Factory/BookFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
namespace App\Factory;

use App\Entity\Book;
use Zenstruck\Foundry\Persistence\PersistentProxyObjectFactory;
use Zenstruck\Foundry\Persistence\PersistentObjectFactory;

/**
* @extends PersistentProxyObjectFactory<Book>
* @extends PersistentObjectFactory<Book>
*/
final class BookFactory extends PersistentProxyObjectFactory
final class BookFactory extends PersistentObjectFactory
{
public static function class(): string
{
Expand Down
6 changes: 3 additions & 3 deletions app/Factory/ConferenceFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
namespace App\Factory;

use App\Entity\Conference;
use Zenstruck\Foundry\Persistence\PersistentProxyObjectFactory;
use Zenstruck\Foundry\Persistence\PersistentObjectFactory;

/**
* @extends PersistentProxyObjectFactory<Conference>
* @extends PersistentObjectFactory<Conference>
*/
final class ConferenceFactory extends PersistentProxyObjectFactory
final class ConferenceFactory extends PersistentObjectFactory
{
public static function class(): string
{
Expand Down
6 changes: 3 additions & 3 deletions app/Factory/SpeakerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
use App\Entity\SpeakerAvatar;
use Symfony\Component\Filesystem\Filesystem;
use Symfony\Component\HttpFoundation\File\UploadedFile;
use Zenstruck\Foundry\Persistence\PersistentProxyObjectFactory;
use Zenstruck\Foundry\Persistence\PersistentObjectFactory;

/**
* @extends PersistentProxyObjectFactory<Speaker>
* @extends PersistentObjectFactory<Speaker>
*/
final class SpeakerFactory extends PersistentProxyObjectFactory
final class SpeakerFactory extends PersistentObjectFactory
{
public static function class(): string
{
Expand Down
6 changes: 3 additions & 3 deletions app/Factory/TalkFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@
use App\Enum\Track;
use function Zenstruck\Foundry\lazy;
use Zenstruck\Foundry\Persistence\Exception\NotEnoughObjects;
use Zenstruck\Foundry\Persistence\PersistentProxyObjectFactory;
use Zenstruck\Foundry\Persistence\PersistentObjectFactory;
use Zenstruck\Foundry\Persistence\Proxy;

/**
* @extends PersistentProxyObjectFactory<Talk>
* @extends PersistentObjectFactory<Talk>
*/
final class TalkFactory extends PersistentProxyObjectFactory
final class TalkFactory extends PersistentObjectFactory
{
public static function class(): string
{
Expand Down
6 changes: 3 additions & 3 deletions app/Factory/UserFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@

use App\Entity\User;
use Symfony\Component\PasswordHasher\Hasher\UserPasswordHasherInterface;
use Zenstruck\Foundry\Persistence\PersistentProxyObjectFactory;
use Zenstruck\Foundry\Persistence\PersistentObjectFactory;

/**
* @extends PersistentProxyObjectFactory<User>
* @extends PersistentObjectFactory<User>
*/
final class UserFactory extends PersistentProxyObjectFactory
final class UserFactory extends PersistentObjectFactory
{
public function __construct(
private UserPasswordHasherInterface $userPasswordHasher,
Expand Down
65 changes: 33 additions & 32 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,27 @@
],
"require": {
"php": "^8.1",
"doctrine/dbal": "^3",
"doctrine/doctrine-bundle": "^2.12",
"doctrine/orm": "^2.0",
"doctrine/dbal": "^3 || ^4",
"doctrine/doctrine-bundle": "^2.13 || ^3.0 || ^4.0",
"doctrine/orm": "^3.3 || ^4.0",
"knplabs/knp-menu-bundle": "^3.0",
"laminas/laminas-stdlib": "^3.18",
"pagerfanta/doctrine-orm-adapter": "^4.6",
"pagerfanta/twig": "^4.6",
"sylius/grid-bundle": "^1.13",
"sylius/resource-bundle": "^1.11",
"symfony/asset": "^6.4 || ^7.0",
"symfony/asset-mapper": "^6.4 || ^7.0",
"symfony/config": "^6.4 || ^7.0",
"symfony/dependency-injection": "^6.4 || ^7.0",
"symfony/expression-language": "^6.4 || ^7.0",
"symfony/http-client": "^6.4 || ^7.0",
"symfony/http-kernel": "^6.4 || ^7.0",
"symfony/security-bundle": "^6.4 || ^7.0",
"symfony/security-http": "^6.4 || ^7.0",
"symfony/stopwatch": "^6.4 || ^7.0",
"symfony/twig-bundle": "^6.4 || ^7.0",
"sylius/grid-bundle": "^1.13 || ^1.15@alpha",
"sylius/resource-bundle": "^1.13 || ^1.14@alpha",
"symfony/asset": "^6.4 || ^7.4 || ^8.0",
"symfony/asset-mapper": "^6.4 || ^7.4 || ^8.0",
"symfony/config": "^6.4 || ^7.4 || ^8.0",
"symfony/dependency-injection": "^6.4 || ^7.4 || ^8.0",
"symfony/expression-language": "^6.4 || ^7.4 || ^8.0",
"symfony/filesystem": "^6.4 || ^7.4 || ^8.0",
"symfony/http-client": "^6.4 || ^7.4 || ^8.0",
"symfony/http-kernel": "^6.4 || ^7.4 || ^8.0",
"symfony/security-bundle": "^6.4 || ^7.4 || ^8.0",
"symfony/security-http": "^6.4 || ^7.4 || ^8.0",
"symfony/stopwatch": "^6.4 || ^7.4 || ^8.0",
"symfony/twig-bundle": "^6.4 || ^7.4 || ^8.0",
"symfony/ux-autocomplete": "^2.17",
"symfony/ux-icons": "^2.20",
"symfony/ux-live-component": "^2.17",
Expand All @@ -43,26 +44,26 @@
"webmozart/assert": "^1.9"
},
"require-dev": {
"doctrine/doctrine-fixtures-bundle": "^3.6",
"matthiasnoback/symfony-config-test": "^5.1",
"matthiasnoback/symfony-dependency-injection-test": "^5.1",
"doctrine/doctrine-fixtures-bundle": "^4.3",
"matthiasnoback/symfony-config-test": "^6.1",
"matthiasnoback/symfony-dependency-injection-test": "^6.1.0",
"phpstan/phpstan": "^1.10",
"phpstan/phpstan-symfony": "^1.3",
"phpunit/phpunit": "^9.6",
"phpunit/phpunit": "^10.5",
"sylius-labs/coding-standard": "^4.0",
"symfony/browser-kit": "^6.4 || ^7.0",
"symfony/console": "^6.4 || ^7.0",
"symfony/css-selector": "^6.4 || ^7.0",
"symfony/debug-bundle": "^6.4 || ^7.0",
"symfony/dom-crawler": "^6.4 || ^7.0",
"symfony/dotenv": "^6.4 || ^7.0",
"symfony/browser-kit": "^6.4 || ^7.4 || ^8.0",
"symfony/console": "^6.4 || ^7.4 || ^8.0",
"symfony/css-selector": "^6.4 || ^7.4 || ^8.0",
"symfony/debug-bundle": "^6.4 || ^7.4 || ^8.0",
"symfony/dom-crawler": "^6.4 || ^7.4 || ^8.0",
"symfony/dotenv": "^6.4 || ^7.4 || ^8.0",
"symfony/flex": "^2.4",
"symfony/framework-bundle": "^6.4 || ^7.0",
"symfony/framework-bundle": "^6.4 || ^7.4 || ^8.0",
"symfony/maker-bundle": "^1.61",
"symfony/runtime": "^6.4 || ^7.0",
"symfony/translation": "^6.4 || ^7.0",
"symfony/web-profiler-bundle": "^6.4 || ^7.0",
"symfony/yaml": "^6.4 || ^7.0",
"symfony/runtime": "^6.4 || ^7.4 || ^8.0",
"symfony/translation": "^6.4 || ^7.4 || ^8.0",
"symfony/web-profiler-bundle": "^6.4 || ^7.4 || ^8.0",
"symfony/yaml": "^6.4 || ^7.4 || ^8.0",
"symplify/monorepo-builder": "11.2.*",
"vich/uploader-bundle": "^2.4",
"zenstruck/foundry": "^2.0"
Expand Down Expand Up @@ -108,7 +109,7 @@
},
"extra": {
"symfony": {
"require": "7.1.*"
"require": "8.0.*"
}
},
"scripts": {
Expand Down
4 changes: 0 additions & 4 deletions config/packages/doctrine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,7 @@ doctrine:
#server_version: '16'

profiling_collect_backtrace: '%kernel.debug%'
use_savepoints: true
orm:
auto_generate_proxy_classes: true
enable_lazy_ghost_objects: true
report_fields_where_declared: true
validate_xml_mapping: true
naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
auto_mapping: true
Expand Down
Loading