ezsystems / ezplatform-kernel
ezsystems/ezplatform及其衍生品使用的内核。提供内容库、其API以及应用程序的Symfony框架集成。
Requires
- php: ^7.3
- ext-ctype: *
- ext-curl: *
- ext-dom: *
- ext-fileinfo: *
- ext-intl: *
- ext-json: *
- ext-mbstring: *
- ext-pdo: *
- ext-spl: *
- ext-xsl: *
- composer/package-versions-deprecated: ^1.11
- doctrine/dbal: ^2.13.0
- doctrine/doctrine-bundle: ^2.0
- doctrine/orm: ^2.7
- ezsystems/doctrine-dbal-schema: ^4.0
- friendsofsymfony/http-cache-bundle: ^2.8
- friendsofsymfony/jsrouting-bundle: ^2.5
- guzzlehttp/guzzle: ^6.5
- jms/translation-bundle: ^1.5
- liip/imagine-bundle: ^2.3
- nelmio/cors-bundle: ^2.0
- ocramius/proxy-manager: ^2.2
- oneup/flysystem-bundle: ^3.4
- pagerfanta/pagerfanta: ^2.1
- php-http/guzzle6-adapter: ^2.0
- psr/event-dispatcher: ^1.0
- sensio/framework-extra-bundle: ^6.1
- symfony-cmf/routing: ^2.3
- symfony/cache: ^5.3.0
- symfony/console: ^5.3.0
- symfony/dependency-injection: ^5.3.0
- symfony/event-dispatcher: ^5.3.0
- symfony/expression-language: ^5.3.0
- symfony/framework-bundle: ^5.3.0
- symfony/http-foundation: ^5.3.0
- symfony/http-kernel: ^5.3.0
- symfony/mime: ^5.3.0
- symfony/process: ^5.3.0
- symfony/security-bundle: ^5.3.0
- symfony/security-core: ^5.3.0
- symfony/security-http: ^5.3.0
- symfony/serializer: ^5.3.0
- symfony/templating: ^5.3.0
- symfony/translation: ^5.3.0
- symfony/validator: ^5.3.0
- symfony/var-dumper: ^5.3.0
- symfony/yaml: ^5.3.0
- twig/extra-bundle: ^3.0
- twig/twig: ^3.0
Requires (Dev)
- behat/behat: ^3.6.1
- ezsystems/ezplatform-code-style: ^0.2
- friends-of-behat/mink-extension: ^2.4
- ibexa/ci-scripts: ^0.2
- jenner/simple_fork: ^1.2
- matthiasnoback/symfony-dependency-injection-test: ^4.1
- phpunit/phpunit: ^8.2
- symfony/phpunit-bridge: ^5.1
- symfony/proxy-manager-bridge: ^5.3
Suggests
- php-64bit: For support of more than 30 languages, a 64bit php installation on all involved prod/dev machines is required
Conflicts
- doctrine/dbal: 2.7.0
- ezsystems/ezpublish-legacy: *
- phpunit/phpunit: 8.4.0
- symfony/dependency-injection: 5.3.7
- symfony/security-core: 5.3.0
Replaces
- v4.0.0-alpha2
- v4.0.0-alpha1
- 1.3.x-dev
- v1.3.37
- v1.3.36
- v1.3.35
- v1.3.34
- v1.3.33
- v1.3.32
- v1.3.31
- v1.3.30
- v1.3.29
- v1.3.28
- v1.3.27
- v1.3.26
- v1.3.25
- v1.3.24
- v1.3.23
- v1.3.22
- v1.3.21
- v1.3.20
- v1.3.19
- v1.3.18
- v1.3.17
- v1.3.16
- v1.3.15
- v1.3.14
- v1.3.13
- v1.3.12
- v1.3.11
- v1.3.10
- v1.3.9
- v1.3.8
- v1.3.7
- v1.3.6
- v1.3.5
- v1.3.4
- v1.3.3
- v1.3.2
- v1.3.1.1
- v1.3.1
- v1.3.0
- v1.3.0-rc2
- v1.3.0-rc1
- v1.3.0-beta1
- 1.2.x-dev
- v1.2.8
- v1.2.7
- v1.2.6
- v1.2.5.1
- v1.2.5
- v1.2.4
- v1.2.3
- v1.2.2
- v1.2.1
- v1.2.0
- v1.2.0-rc1
- v1.2.0-beta1
- 1.1.x-dev
- v1.1.5
- v1.1.4
- v1.1.3
- v1.1.2
- v1.1.1
- v1.1.0
- v1.1.0-rc2
- v1.1.0-rc1
- v1.1.0-beta1
- 1.0.x-dev
- v1.0.5
- v1.0.4
- v1.0.3
- v1.0.2.1
- v1.0.2
- v1.0.1.1
- v1.0.1
- v1.0.0
- v1.0.0-rc1
- dev-performance-fix-command
- dev-IBX-6773_Bookmarks_for_non-accessible_contents_cause_exception
- dev-ibx-7579_rows_are_added_to_ezurl_object_link_on_every_save_by_richtext
- dev-IBX-8019-Object-state-performance-regression_temp
- dev-ibx-6312_view_matcher_ParentContentType_when_parent_is_not_available
- dev-review/ibx-6312-preview-response-err-handling
- dev-ibx-2839_ez_render_content_query_and_page_param_parameter
- dev-ibx-6017-test-using-ibexa-test-kernel
- dev-IBX-5385_add_content-type_option_to_reindex_command
- dev-temp_ibx-5270_ibx-5119
- dev-ibx-2870-image-asset-mapper-strategy
- dev-translation-stringable
- dev-IBX-2589_email_field_legacy_search
- dev-IBX-2382_chars_break_legacy_search_engine
- dev-ibx-1392-decode-file-url-clustered-setup
- dev-merge-fix-php8
- dev-ibx-1516
- dev-snapshot-master
- dev-merge_3.3_ibx-843_optimized_relation_handling
- dev-bump-php
- dev-limit-symfony-version
- dev-limit-symfony-version2
- dev-IBS-300-corrected-date-search-field
- dev-3.2_entity_manager
- dev-ezp_32394
- dev-location_refactoring
- dev-ec-358-translations
- dev-ezp_32329
- dev-ezp_32250_and_ezp_32247
- dev-perso-wip
- dev-dt_interface_support
- dev-render-helpers-tests
- dev-sg_demo
- dev-custom_matcher
- dev-ezp_31718_hotfix_for_10
- dev-field-group-permissions
- dev-ezp31682_support_argon2_password_hashes
- dev-EZP-31677-7.5-1.0
- dev-EZP-31677-7.5-master
- dev-EZP-31667
- dev-es_support
- dev-poc-save-incomplete-draft
- dev-test-setup-config-bootstrap-drop
- dev-decouple-integration-tests
This package is auto-updated.
Last update: 2024-08-26 08:29:24 UTC
README
本包是Ibexa DXP的一部分 Ibexa DXP。
要使用此包,请安装Ibexa DXP。
此包包含一个高级内容模型,允许在可预测的内容库中结构化任何类型的内容或类似内容的数据。Ibexa Kernel还旨在为MVC层(Symfony)提供附加功能,以提高您的生产力 Ibexa DXP。
当前组织
MVC层
- eZ/Bundle - 这些捆绑包对于将后端和MVC层的功能暴露给Symfony非常重要。
- eZ/Publish/Core/MVC - 构成扩展Symfony的不同组件的部分。
- eZ/Publish/Core/Pagination - 扩展PagerFanta的组件,用于eZ Platform搜索查询的分页。
后端
- eZ/Publish/API - 定义PHP 公共 API的稳定接口,主要是内容 仓库API。
- eZ/Publish/SPI/Persistence - 还未冻结的一层,这意味着它可能在不同版本之间发生变化。这些是存储引擎的持久性接口。
- eZ/Publish/SPI - (除了持久性之外的任何内容)已冻结,并承诺向后兼容服务提供者接口(SPI),这意味着从消费和实现的角度来看都没有破坏性更改。
- eZ/Publish/Core - API和SPI的实现;命名旨在与它们实现的接口名称对应。例如,
Core\Persistence\Legacy
是SPI\Persistence
的实现。
本地测试
此内核包含一套全面的单元、功能和集成测试。在撰写本文时,有9k个单元测试,8k个集成测试,以及几个功能测试。
依赖项
- PHP 7模块:php7_intl php7_xsl php7_gd php7_sqlite (即
pdo\_sqlite
) - 数据库:sqlite3,可选:mysql/postgres 如果需要,请确保已安装相关的pdo模块
要为此捆绑包做出贡献,您应该确保运行单元测试和集成测试。
-
在本地设置此存储库
# Note: Change the line below to the ssh format of your fork to create topic branches to propose as pull requests git clone https://github.com/ezsystems/ezplatform-kernel.git cd ezplatform-kernel composer install
-
运行单元测试
在这个时候,您应该能够运行单元测试
php -d memory_limit=-1 vendor/bin/phpunit
-
运行集成测试
# If you want to test against mysql or postgres instead of sqlite, define one of these with reference to an empty test db: # export DATABASE="mysql://root@localhost/$DB_NAME" # export DATABASE="pgsql://postgres@localhost/$DB_NAME" php -d memory_limit=-1 vendor/bin/phpunit -c phpunit-integration-legacy.xml
要运行针对Solr的集成测试,请参阅Ibexa DXP的Solr搜索引擎捆绑包。
版权
版权所有(C)1999-2021 Ibexa AS(原名eZ Systems AS)。保留所有权利。
许可证
此源代码可根据以下许可证单独获得
《A - Ibexa商业使用许可协议(Ibexa BUL),版本2.4或更高版本(许可条款可能会不时更新)》,通过拥有有效的Ibexa DXP(原名eZ Platform Enterprise)订阅获得许可,详情请参阅:[https://www.ibexa.co/product](https://www.ibexa.co/product)(不遵循、不索引、无弹窗、外部、用户生成内容)。有关完整的Ibexa BUL许可协议文本,请参阅:[https://www.ibexa.co/software-information/licenses-and-agreements](https://www.ibexa.co/software-information/licenses-and-agreements)(适用最新版本)。
并且
《B - GNU通用公共许可证,版本2》授予一个具有绝对无保证的开源copyleft许可证。有关完整的GPL许可协议文本,请参阅:[https://www.gnu.org/licenses/old-licenses/gpl-2.0.html](https://www.gnu.org/licenses/old-licenses/gpl-2.0.html)。