thelia/thelia-project
Composer 安装命令:
composer require thelia/thelia-project
包简介
Thelia is an ecommerce CMS.
README 文档
README
This is the project creation repository of Thelia. If you want to contribute, please take a look at thelia/thelia
Thelia
Thelia is an open source tool for creating e-business websites and managing online content. This software is published under LGPL.
This is the new major version of Thelia.
You can download this version and have a try or take a look at the source code (or anything you wish, respecting LGPL). See http://thelia.net/ web site for more information.
A repository containing all thelia modules is available at this address : https://github.com/thelia-modules
Compatibility
| Thelia 2.3 | Thelia 2.4 | Thelia 2.5 | Thelia 2.6 | |
|---|---|---|---|---|
| PHP | 5.5 5.6 7.0 7.1 | 7.0 7.1 7.2 7.3 | 8.2 8.3 | 8.2 8.3 |
| MySQL | 5.5 5.6 | 5.5 5.6 5.7 | 5.6 5.7 8.0 | 5.6 5.7 8.0 |
| Symfony | 2.8 | 2.8 | 6.4 | 6.4 |
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 or 8
Create a Thelia project
$ curl -sS https://getcomposer.org/installer | php
$ php composer.phar create-project thelia/thelia-project path/ 2.6.0 (or 2.5.5)
Install it with your own environment
You can install Thelia using the cli tool and the scripts provided by thelia/setup
$ php Thelia thelia:install
Consult the page : http://localhost/thelia/web
You can create a virtual host and choose web folder for root directory.
Quick start with DDEV
To quickly set up your local environment, we recommend using DDEV. On macOS, we also suggest using OrbStack instead of the classic Docker Desktop for noticeably better performance.
Initialize your project with a single command:
ddev config --project-type=php --docroot=web --php-version=8.3
DDEV will automatically generate everything required (vhosts, database, etc.).
You can then manage your environment with the following commands:
# Start the project ddev start # Stop it ddev stop # Display environment details ddev describe # Open a shell inside the container ddev ssh
Then, just run previous Thelia commands to install your project.
Documentation
Thelia documentation is available at https://doc.thelia.net
Contribute
See the documentation : http://doc.thelia.net/en/documentation/contribute.html
Mac OSX
If you use Mac OSX, it still doesn't use php 5.4 as default php version... There are many solutions for you :
- use phpbrew
- use last MAMP version and put the php bin directory in your path:
export PATH=/Applications/MAMP/bin/php/php5.5.x/bin/:$PATH
- configure a complete development environment : http://php-osx.liip.ch/
- use a virtual machine with vagrant and puppet : https://puphpet.com/
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
thelia/thelia-project 适用场景与选型建议
thelia/thelia-project 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 8.56k 次下载、GitHub Stars 达 62, 最近一次更新时间为 2014 年 12 月 29 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 thelia/thelia-project 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 thelia/thelia-project 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 8.56k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 62
- 点击次数: 10
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0
- 更新时间: 2014-12-29