Skip to content

Commit 2a4f254

Browse files
committed
Template for v5.0.5
1 parent 007eace commit 2a4f254

File tree

148 files changed

+29762
-20
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

148 files changed

+29762
-20
lines changed

.editorconfig

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# editorconfig.org
2+
3+
root = true
4+
5+
[*]
6+
charset = utf-8
7+
end_of_line = lf
8+
indent_size = 4
9+
indent_style = space
10+
insert_final_newline = true
11+
trim_trailing_whitespace = true
12+
13+
[{compose.yaml,compose.*.yaml}]
14+
indent_size = 2
15+
16+
[*.md]
17+
trim_trailing_whitespace = false

.env

Lines changed: 152 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,152 @@
1+
# In all environments, the following files are loaded if they exist,
2+
# the latter taking precedence over the former:
3+
#
4+
# * .env contains default values for the environment variables needed by the app
5+
# * .env.local uncommitted file with local overrides
6+
# * .env.$APP_ENV committed environment-specific defaults
7+
# * .env.$APP_ENV.local uncommitted environment-specific overrides
8+
#
9+
# Real environment variables win over .env files.
10+
#
11+
# DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES.
12+
# https://symfony.com/doc/current/configuration/secrets.html
13+
#
14+
# Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2).
15+
# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration
16+
17+
###> symfony/framework-bundle ###
18+
APP_ENV=dev
19+
APP_SECRET=
20+
###< symfony/framework-bundle ###
21+
22+
###> symfony/routing ###
23+
# Configure how to generate URLs in non-HTTP contexts, such as CLI commands.
24+
# See https://symfony.com/doc/current/routing.html#generating-urls-in-commands
25+
DEFAULT_URI=http://localhost
26+
###< symfony/routing ###
27+
28+
###> ibexa/oss ###
29+
SEARCH_ENGINE=legacy
30+
# Uncomment following line if you want to change the purge type.
31+
# By default it will use `local` purge when running locally
32+
# and `varnish` for Platform.sh installations.
33+
# HTTPCACHE_PURGE_TYPE=local
34+
HTTPCACHE_DEFAULT_TTL=86400
35+
HTTPCACHE_PURGE_SERVER=http://localhost:80
36+
HTTPCACHE_VARNISH_INVALIDATE_TOKEN=
37+
# Uncomment following line if you want to enable translation-aware behavior for HTTP cache.
38+
# HTTPCACHE_TRANSLATION_AWARE_ENABLED=true
39+
TRUSTED_PROXIES=127.0.0.1
40+
CACHE_POOL=cache.tagaware.filesystem
41+
# When using Redis or memcached adapter, you can configure it using DSN:
42+
# - https://symfony.com/doc/4.4/components/cache/adapters/redis_adapter.html#configure-the-connection
43+
# - https://symfony.com/doc/4.4/components/cache/adapters/memcached_adapter.html#configure-the-connection
44+
CACHE_DSN=localhost
45+
CACHE_NAMESPACE=ibexa
46+
DATABASE_CHARSET=utf8mb4
47+
DATABASE_COLLATION=utf8mb4_unicode_520_ci
48+
# Needed by Doctrine Bundle / ORM to prevent it from opening a connection during situations where there is no service yet.
49+
# See: https://symfony.com/doc/current/reference/configuration/doctrine.html#doctrine-dbal-configuration
50+
DATABASE_VERSION=mariadb-10.3.0
51+
SESSION_HANDLER_ID=session.handler.native_file
52+
SESSION_SAVE_PATH=%kernel.project_dir%/var/sessions/%kernel.environment%
53+
SOLR_DSN=http://localhost:8983/solr
54+
SOLR_CORE=collection1
55+
IBEXA_EDITION=oss
56+
###< ibexa/oss ###
57+
58+
###> ibexa/headless ###
59+
SEARCH_ENGINE=legacy
60+
# Uncomment following line if you want to change the purge type.
61+
# By default it will use `local` purge when running locally
62+
# and `varnish` for Platform.sh installations.
63+
# HTTPCACHE_PURGE_TYPE=local
64+
HTTPCACHE_DEFAULT_TTL=86400
65+
HTTPCACHE_PURGE_SERVER=http://localhost:80
66+
HTTPCACHE_VARNISH_INVALIDATE_TOKEN=
67+
# Uncomment following line if you want to enable translation-aware behavior for HTTP cache.
68+
# HTTPCACHE_TRANSLATION_AWARE_ENABLED=true
69+
TRUSTED_PROXIES=127.0.0.1
70+
CACHE_POOL=cache.tagaware.filesystem
71+
# When using Redis or memcached adapter, you can configure it using DSN:
72+
# - https://symfony.com/doc/4.4/components/cache/adapters/redis_adapter.html#configure-the-connection
73+
# - https://symfony.com/doc/4.4/components/cache/adapters/memcached_adapter.html#configure-the-connection
74+
CACHE_DSN=localhost
75+
CACHE_NAMESPACE=ibexa
76+
DATABASE_CHARSET=utf8mb4
77+
DATABASE_COLLATION=utf8mb4_unicode_520_ci
78+
# Needed by Doctrine Bundle / ORM to prevent it from opening a connection during situations where there is no service yet.
79+
# See: https://symfony.com/doc/current/reference/configuration/doctrine.html#doctrine-dbal-configuration
80+
DATABASE_VERSION=mariadb-10.3.0
81+
SESSION_HANDLER_ID=session.handler.native_file
82+
SESSION_SAVE_PATH=%kernel.project_dir%/var/sessions/%kernel.environment%
83+
SOLR_DSN=http://localhost:8983/solr
84+
SOLR_CORE=collection1
85+
# Enable Personalization by setting valid id, key and uri
86+
PERSONALIZATION_CUSTOMER_ID=0
87+
PERSONALIZATION_LICENSE_KEY=
88+
PERSONALIZATION_HOST_URI=
89+
ELASTICSEARCH_DSN=http://localhost:9200
90+
# Enable fastly by setting valid service_id and key
91+
# In order for this to work you also need to have EzSystemsPlatformFastlyCacheBundle installed
92+
# FASTLY_SERVICE_ID=""
93+
# FASTLY_KEY=""
94+
IBEXA_EDITION=headless
95+
IBEXA_VARIATION_HANDLER_IDENTIFIER=alias
96+
# Configure OAuth2 server
97+
OAUTH2_PUBLIC_KEY_PATH=
98+
OAUTH2_PRIVATE_KEY_PATH=
99+
OAUTH2_PRIVATE_KEY_PASSPHRASE=
100+
OAUTH2_ENCRYPTION_KEY=
101+
###< ibexa/headless ###
102+
103+
###> nelmio/cors-bundle ###
104+
CORS_ALLOW_ORIGIN='^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$'
105+
###< nelmio/cors-bundle ###
106+
107+
###> doctrine/doctrine-bundle ###
108+
# Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
109+
# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
110+
#
111+
# DATABASE_URL="sqlite:///%kernel.project_dir%/var/data_%kernel.environment%.db"
112+
# DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=8.0.32&charset=utf8mb4"
113+
# DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=10.11.2-MariaDB&charset=utf8mb4"
114+
DATABASE_URL="postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=16&charset=utf8"
115+
###< doctrine/doctrine-bundle ###
116+
117+
###> symfony/mailer ###
118+
MAILER_DSN=null://null
119+
###< symfony/mailer ###
120+
121+
###> lexik/jwt-authentication-bundle ###
122+
JWT_SECRET_KEY=%kernel.project_dir%/config/jwt/private.pem
123+
JWT_PUBLIC_KEY=%kernel.project_dir%/config/jwt/public.pem
124+
JWT_PASSPHRASE=3efa3c0f8b3c09d1ba040ab9949321865785c4c6ef467fb9677a0d6f43f90efc
125+
###< lexik/jwt-authentication-bundle ###
126+
127+
###> symfony/lock ###
128+
# Choose one of the stores below
129+
# postgresql+advisory://db_user:db_password@localhost/db_name
130+
LOCK_DSN=flock
131+
###< symfony/lock ###
132+
133+
###> symfony/messenger ###
134+
# Choose one of the transports below
135+
# MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages
136+
# MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages
137+
MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0
138+
###< symfony/messenger ###
139+
140+
###> ibexa/connector-openai ###
141+
OPENAI_API_KEY=sk-123456
142+
###< ibexa/connector-openai ###
143+
144+
###> ibexa/connect ###
145+
IBEXA_CONNECT_HOST=https://connect.ibexa.co
146+
IBEXA_CONNECT_API_PATH=/api/v2/
147+
# Token can be created in the user's profile in Ibexa Connect, under the 'API ACCESS' section.
148+
IBEXA_CONNECT_TOKEN=12345
149+
# Use the URL below to read more on Ibexa Connect teams.
150+
# https://doc.ibexa.co/projects/connect/en/latest/access_management/teams/
151+
IBEXA_CONNECT_TEAM_ID=12345
152+
###< ibexa/connect ###

.env.dev

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
###> symfony/framework-bundle ###
3+
APP_SECRET=a59357cb212a5be4b58ffd4d0a515244
4+
###< symfony/framework-bundle ###

.gitignore

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
2+
###> symfony/framework-bundle ###
3+
/.env.local
4+
/.env.local.php
5+
/.env.*.local
6+
/config/secrets/prod/prod.decrypt.private.php
7+
/public/bundles/
8+
/var/
9+
/vendor/
10+
###< symfony/framework-bundle ###
11+
12+
###> liip/imagine-bundle ###
13+
/public/media/cache/
14+
###< liip/imagine-bundle ###
15+
16+
###> symfony/webpack-encore-bundle ###
17+
/node_modules/
18+
/public/build/
19+
npm-debug.log
20+
yarn-error.log
21+
###< symfony/webpack-encore-bundle ###
22+
23+
###> lexik/jwt-authentication-bundle ###
24+
/config/jwt/*.pem
25+
###< lexik/jwt-authentication-bundle ###
26+
27+
###> phpstan/phpstan ###
28+
phpstan.neon
29+
###< phpstan/phpstan ###

README.md

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,21 @@
1-
# Ibexa DXP Headless skeleton
1+
# Ibexa Flex website skeleton
22

3-
This is a website skeleton for Ibexa DXP Headless edition. It requires a subscription.
4-
5-
Learn more about [Ibexa DXP](https://www.ibexa.co/products).
3+
This is a Symfony Flex website skeleton allowing installation of all editions of
4+
[Ibexa DXP](https://www.ibexa.co/products) and Ibexa Open Source.
65

76
## Installation
87

9-
Create a new project using composer:
10-
```
11-
composer create-project ibexa/headless-skeleton ibexa_website
12-
```
8+
For installation instructions of Ibexa DXP see either
9+
[the official documentation](https://doc.ibexa.co/) or packages for specific editions:
10+
* [Ibexa Headless](https://github.com/ibexa/headless)
11+
* [Ibexa Experience](https://github.com/ibexa/experience)
12+
* [Ibexa Commerce](https://github.com/ibexa/commerce)
13+
14+
Ibexa DXP is licensed under Ibexa Business Use License Agreement (Ibexa BUL) and requires
15+
a subscription. Learn more about [Ibexa DXP](https://www.ibexa.co/products).
16+
17+
For installation instructions of Ibexa Open Source see [ibexa/oss](https://github.com/ibexa/oss)
18+
package.
1319

1420
## COPYRIGHT
1521
Copyright (C) 1999-2025 Ibexa AS (formerly eZ Systems AS). All rights reserved.
@@ -18,18 +24,15 @@ Copyright (C) 1999-2025 Ibexa AS (formerly eZ Systems AS). All rights reserved.
1824
This source code is available separately under the following licenses:
1925

2026
A - Ibexa Business Use License Agreement (Ibexa BUL),
21-
version 2.4 or later versions (as license terms may be updated from time to time)
27+
version 2.3 or later versions (as license terms may be updated from time to time)
2228
Ibexa BUL is granted by having a valid Ibexa DXP (formerly eZ Platform Enterprise) subscription,
2329
as described at: https://www.ibexa.co/product
2430
For the full Ibexa BUL license text, please see:
25-
- LICENSE-bul file placed in the root of this source code, or
26-
- https://www.ibexa.co/software-information/licenses-and-agreements (latest version applies)
31+
https://www.ibexa.co/software-information/licenses-and-agreements (latest version applies)
2732

2833
AND
2934

30-
B - Ibexa Trial and Test License Agreement (Ibexa TTL),
31-
version 2.2 or later versions (as license terms may be updated from time to time)
32-
Trial can be granted by Ibexa, reach out to Ibexa AS for evaluation access: https://www.ibexa.co/about-ibexa/contact-us
33-
For the full Ibexa TTL license text, please see:
35+
B - GNU General Public License, version 2
36+
Grants an copyleft open source license with ABSOLUTELY NO WARRANTY. For the full GPL license text, please see:
3437
- LICENSE file placed in the root of this source code, or
35-
- https://www.ibexa.co/software-information/licenses-and-agreements (latest version applies)
38+
- https://www.gnu.org/licenses/old-licenses/gpl-2.0.html

assets/app.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/*
2+
* Welcome to your app's main JavaScript file!
3+
*
4+
* We recommend including the built version of this JavaScript file
5+
* (and its CSS file) in your base layout (base.html.twig).
6+
*/
7+
8+
// any CSS you import will output into a single css file (app.css in this case)
9+
import './styles/app.css';

assets/images/caret-down.svg

Lines changed: 4 additions & 0 deletions
Loading

assets/images/development.svg

Lines changed: 6 additions & 0 deletions
Loading

assets/images/documentation.svg

Lines changed: 3 additions & 0 deletions
Loading
2.9 MB
Loading

0 commit comments

Comments
 (0)