Netgen Layouts v2 (#1895)

* Add Netgen Layouts 2.0

* Add netgen/layouts-sylius package

* Add netgen/layouts-contentful package
This commit is contained in:
Edi Modrić
2025-12-07 08:51:24 +01:00
committed by GitHub
parent 387f8cc6b3
commit 2849ef5926
10 changed files with 58 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
netgen_content_browser:
resource: "@NetgenContentBrowserBundle/Resources/config/routing.yaml"
prefix: "%netgen_content_browser.route_prefix%"

View File

@@ -0,0 +1,8 @@
{
"bundles": {
"Netgen\\Bundle\\ContentBrowserBundle\\NetgenContentBrowserBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}

View File

@@ -0,0 +1,2 @@
* Learn how to integrate Content Browser into your CMS backend by reading
the documentation located at: <comment>https://docs.netgen.io/projects/cb/en/latest/</>

View File

@@ -0,0 +1,2 @@
netgen_layouts_contentful:
resource: "@NetgenLayoutsContentfulBundle/Resources/config/routing.yaml"

View File

@@ -0,0 +1,8 @@
{
"bundles": {
"Netgen\\Bundle\\LayoutsContentfulBundle\\NetgenLayoutsContentfulBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}

View File

@@ -0,0 +1,3 @@
netgen_layouts:
resource: "@NetgenLayoutsBundle/Resources/config/routing.yaml"
prefix: "%netgen_layouts.route_prefix%"

View File

@@ -0,0 +1,10 @@
{
"bundles": {
"Netgen\\Bundle\\LayoutsBundle\\NetgenLayoutsBundle": ["all"],
"Netgen\\Bundle\\LayoutsAdminBundle\\NetgenLayoutsAdminBundle": ["all"],
"Netgen\\Bundle\\LayoutsDebugBundle\\NetgenLayoutsDebugBundle": ["dev", "test"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}

View File

@@ -0,0 +1,12 @@
* For Netgen Layouts to function, you need to import the database tables
into your database. Currently, only MySQL is supported. To import the tables,
use the following command from your project root:
<fg=green>php bin/console doctrine:migrations:migrate --configuration=vendor/netgen/layouts-core/migrations/doctrine.yaml</>
* Enable ESI and fragments support in the <fg=green>config/packages/framework.yaml</> file.
* Complete the installation procedure by following instructions detailed at
<comment>https://docs.netgen.io/projects/layouts/en/latest/getting_started/install_existing_project.html</>
Documentation: <comment>https://docs.netgen.io/projects/layouts/en/latest/</>

View File

@@ -0,0 +1,2 @@
netgen_layouts_sylius:
resource: "@NetgenLayoutsSyliusBundle/Resources/config/routing.yaml"

View File

@@ -0,0 +1,8 @@
{
"bundles": {
"Netgen\\Bundle\\LayoutsSyliusBundle\\NetgenLayoutsSyliusBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}