thelia / thelia
Thelia is an ecommerce CMS.
Installs: 5 017
Dependents: 0
Suggesters: 0
Security: 2
Stars: 855
Watchers: 68
Forks: 311
Open Issues: 77
Requires
- php: >= 8.1
- ext-curl: *
- ext-intl: *
- ext-json: *
- ext-pdo: *
- assetic/framework: ~3.0.0
- commerceguys/addressing: 1.1.*
- composer/composer: ~2.3.0
- doctrine/annotations: ^2.0
- doctrine/cache: ~1.0
- imagine/imagine: 1.2.4
- michelf/php-markdown: 1.9.*
- psr/log: 1.1.*
- ptachoire/cssembed: 1.0.*
- simplepie/simplepie: 1.5.*
- smarty/smarty: ~4.1.0
- spipu/html2pdf: ~5.2.5
- symfony-cmf/routing: 3.0.*
- symfony/cache: 6.4.*
- symfony/config: 6.4.*
- symfony/console: 6.4.*
- symfony/dependency-injection: 6.4.*
- symfony/dom-crawler: 6.4.*
- symfony/dotenv: 6.4.*
- symfony/event-dispatcher: 6.4.*
- symfony/expression-language: 6.4.*
- symfony/filesystem: 6.4.*
- symfony/finder: 6.4.*
- symfony/flex: ^1.12
- symfony/form: 6.4.*
- symfony/framework-bundle: 6.4.*
- symfony/http-foundation: 6.4.*
- symfony/http-kernel: 6.4.*
- symfony/lock: 6.4.*
- symfony/mailer: 6.4.*
- symfony/mime: 6.4.*
- symfony/options-resolver: 6.4.*
- symfony/polyfill-php73: ^1.0
- symfony/process: 6.4.*
- symfony/property-access: 6.4.*
- symfony/psr-http-message-bridge: ^2.1
- symfony/routing: 6.4.*
- symfony/security-core: 6.4.*
- symfony/security-csrf: 6.4.*
- symfony/security-http: 6.4.*
- symfony/serializer: 6.4.*
- symfony/stopwatch: 6.4.*
- symfony/translation: 6.4.*
- symfony/twig-bundle: 6.4.*
- symfony/validator: 6.4.*
- symfony/web-profiler-bundle: 6.4.*
- symfony/webpack-encore-bundle: ^1.14
- symfony/yaml: 6.4.*
- thelia/better-seo-module: ^2.1
- thelia/choice-filter-module: ^2.1
- thelia/currency-converter: ~1.0
- thelia/custom-delivery-module: ~3.1.2
- thelia/force-phone-module: ^2.0
- thelia/open-api-module: ^2.1.6
- thelia/product-loop-attribute-filter-module: ~2.0.0
- thelia/propel: dev-thelia-2.5
- thelia/short-code-meta-module: ^2.0
- thelia/smarty-redirection-module: ~2.0.0
- thelia/store-seo-module: ^2.0
- thelia/thelia-blocks-module: ^2.0.3-beta
- thelia/thelia-library-module: ^1.1.7
- wikimedia/less.php: ^3.1
Requires (Dev)
- friendsofphp/php-cs-fixer: 3.41.*
- phpstan/extension-installer: 1.1.0
- phpstan/phpstan: 1.8.2
- phpunit/phpunit: 9.5.*
- symfony/browser-kit: 6.4.*
- symfony/css-selector: 6.4.*
- symfony/phpunit-bridge: 6.4.*
- symfony/var-dumper: 6.4.*
- thelia/hooktest-module: ~1.1
- thelia/hooktest-template: ~1.1
- dev-main
- 2.5.4
- 2.5.3
- 2.5.2
- 2.5.1
- 2.5.0
- 2.5.0-alpha2
- 2.5.0-alpha1
- 2.4.x-dev
- dev-master / 2.4.x-dev
- 2.4.5
- 2.4.4
- 2.4.3
- 2.4.2
- 2.4.1
- 2.4.0
- 2.4.0-alpha1
- 2.3.x-dev
- 2.3.6
- 2.3.5
- 2.3.4
- 2.3.3
- 2.3.2
- 2.3.1
- 2.3.0
- 2.3.0-beta2
- 2.3.0-beta1
- 2.3.0-alpha2
- 2.3.0-alpha1
- 2.2.x-dev
- 2.2.6
- 2.2.5
- 2.2.4
- 2.2.3
- 2.2.2
- 2.2.1
- 2.2.0
- 2.2.0-beta3
- 2.2.0-beta2
- 2.2.0-beta1
- 2.2.0-alpha2
- 2.2.0-alpha1
- 2.1.x-dev
- 2.1.11
- 2.1.10
- 2.1.9
- 2.1.8
- 2.1.7
- 2.1.6
- 2.1.5
- 2.1.4
- 2.1.3
- 2.1.2
- 2.1.1
- 2.1.0
- 2.1.0-beta2
- 2.1.0-beta1
- 2.1.0-alpha2
- 2.1.0-alpha1
- 2.0.x-dev
- 2.0.12
- 2.0.11
- 2.0.10
- 2.0.9
- 2.0.8
- 2.0.7
- 2.0.6
- 2.0.5
- 2.0.4
- 2.0.3
- 2.0.3-beta2
- 2.0.3-beta
- 2.0.2
- 2.0.1
- 2.0.0
- 2.0.0-RC1
- 2.0.0-beta4
- 2.0.0-beta3
- 2.0.0-beta2
- 2.0.0-beta1
- dev-twig
- dev-fix/kernel
- dev-api
- dev-api-maintenance
- dev-feature/git-ci
- dev-modern-bo
This package is auto-updated.
Last update: 2024-12-02 10:14:10 UTC
README
Warning
This is the development repository of Thelia. If you want to create a project, please take a look at thelia/thelia-project
If you want to download a packaged, ready-to-use distribution of the most recent version of Thelia please download thelia.zip
Thelia
Thelia is an open source tool for creating e-business websites and managing online content. This software is published under GNU General Public License v3.0.
A repository containing all thelia modules is available at this address : https://github.com/thelia-modules
Compatibility
Requirements
- PHP
- Required extensions :
- PDO_Mysql
- openssl
- intl
- gd
- curl
- dom
- safe_mode off
- memory_limit at least 128M, preferably 256.
- post_max_size 20M
- upload_max_filesize 2M
- date.timezone must be defined
- Required extensions :
- Web Server Apache 2 or Nginx
MySQL 5.6
As of MySQL 5.6, default configuration sets the sql_mode value to
STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION
This 'STRICT_TRANS_TABLES' configuration results in SQL errors when no default value is defined on NOT NULL columns and the value is empty or invalid.
You can edit this default config in /etc/my.cnf
and change the sql_mode to remove the STRICT_TRANS_TABLES part
[mysqld]
sql_mode=NO_ENGINE_SUBSTITUTION
Assuming your sql_mode is the default one, you can change the value directly on the run by running the following SQL Command
SET @@GLOBAL.sql_mode='NO_ENGINE_SUBSTITUTION', @@SESSION.sql_mode='NO_ENGINE_SUBSTITUTION'
For more information on sql_mode you can consult the MySQL doc
Archive builders
Thelia's archive builder's needs external libraries. For zip archives, you need PECL zip. See PHP Doc
For tar archives, you need PECL phar. Moreover, you need to deactivate php.ini option "phar.readonly":
phar.readonly = Off
For tar.bz2 archives, you need tar's dependencies and the extension "bzip2". See PHP Doc
For tar.gz archives, you need tar's dependencies and the extension "zlib". See PHP Doc
Download Thelia 2 and install its dependencies
You can get the sources from git and then let composer install dependencies, or use composer to install the whole thelia project into a specific directory
Using git for download and composer for dependencies
$ git clone --recursive https://github.com/thelia/thelia path $ cd path $ git checkout 2.5.4 $ curl -sS https://getcomposer.org/installer | php $ php composer.phar install
Using composer for both download and dependencies
$ curl -sS https://getcomposer.org/installer | php
$ php composer.phar create-project thelia/thelia path/ 2.5.4
If something goes wrong during the install process, you can restart Thelia install wizard with
the following command : php composer.phar run-script post-create-project-cmd
Install it
You can install Thelia by different way
Using install wizard
Installing thelia with the web install wizard allow to create an administrator, add some informations about your shop, etc
First of all, you have to configure a vhost as describe in configuration section.
The install wizard in accessible with your favorite browser :
https://yourdomain.tld/[/subdomain_if_needed]/install
For example, I have thelia downloaded at https://thelia.net and my vhost is correctly configured, I have to reach this address :
https://thelia.net/install
Using cli tools
$ php Thelia thelia:install
You just have to follow all instructions.
Docker and docker compose
This repo contains all the configuration needed to run Thelia with docker and docker-compose. Warning, this docker configuration is not ready for production.
It requires obviously docker and docker-compose
Please, follow the official documentation to install docker and docker-compose on your system : https://doc.thelia.net/docs/getting_started/docker
Contribute
See the documentation : https://doc.thelia.net/docs/contribute
If you submit modifications that adds new data or change the structure of the database, take a look to https://doc.thelia.net/docs/contribute#sql-scripts-modification
Community
Join the conversation and help the community :