ibexa / core
Ibexa DXP 和开源核心。提供内容仓库、其 API 以及应用的 Symfony 框架集成。
Requires
- php: ^7.4 || ^8.0
- 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
- friendsofphp/proxy-manager-lts: ^1.0
- friendsofsymfony/http-cache-bundle: ^2.8
- friendsofsymfony/jsrouting-bundle: ^2.5
- guzzlehttp/guzzle: ^6.5
- ibexa/doctrine-schema: ~4.6.0
- jms/translation-bundle: ^1.5
- league/flysystem-memory: ^2.0.6
- liip/imagine-bundle: ^2.3
- nelmio/cors-bundle: ^2.0
- oneup/flysystem-bundle: ^4.4.2
- 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-client: ^5.3.0
- symfony/http-foundation: ^5.3.0
- symfony/http-kernel: ^5.3.0
- symfony/mime: ^5.3.0
- symfony/polyfill-php80: ^1.27
- 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
- friends-of-behat/mink-extension: ^2.4
- ibexa/ci-scripts: ^0.2
- ibexa/code-style: ^1.0
- jenner/simple_fork: ^1.2
- matthiasnoback/symfony-dependency-injection-test: ^4.1
- phpstan/phpstan: ^1.2
- phpstan/phpstan-phpunit: ^1.3
- phpstan/phpstan-symfony: ^1.3
- phpunit/phpunit: ^8.2
- symfony/phpunit-bridge: ^5.4
- symfony/proxy-manager-bridge: ^5.3
- symfony/runtime: ^5.3.0
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: *
- friendsofphp/php-cs-fixer: 3.5.0
- phpunit/phpunit: 8.4.0
- symfony/dependency-injection: 5.3.7
- symfony/security-core: 5.3.0
Replaces
- dev-main / 5.0.x-dev
- 4.6.x-dev
- v4.6.11
- v4.6.10
- v4.6.9
- v4.6.8
- v4.6.7
- v4.6.6
- v4.6.5
- v4.6.4
- v4.6.3
- v4.6.2
- v4.6.1
- v4.6.0
- v4.6.0-rc1
- v4.6.0-beta5
- v4.6.0-beta4
- v4.6.0-beta3
- v4.6.0-beta2
- v4.6.0-beta1
- 4.5.x-dev
- v4.5.7
- v4.5.6
- v4.5.5
- v4.5.4
- v4.5.3
- v4.5.2
- v4.5.1
- v4.5.0
- v4.5.0-rc1
- v4.5.0-beta2
- v4.5.0-beta1
- 4.4.x-dev
- v4.4.4
- v4.4.3
- v4.4.2
- v4.4.1
- v4.4.0
- v4.4.0-rc1
- v4.4.0-beta1
- 4.3.x-dev
- v4.3.5
- v4.3.4
- v4.3.3
- v4.3.2
- v4.3.1
- v4.3.0
- v4.3.0-rc1
- v4.3.0-beta1
- v4.2.4
- v4.2.3
- v4.2.2
- v4.2.1
- v4.2.0
- v4.2.0-rc1
- v4.2.0-beta1
- 4.1.x-dev
- v4.1.5
- v4.1.4
- v4.1.3
- v4.1.2
- v4.1.1
- v4.1.0
- v4.1.0-rc1
- v4.1.0-beta1
- v4.0.8
- v4.0.7
- v4.0.6
- v4.0.5
- v4.0.4
- v4.0.3
- v4.0.2
- v4.0.1
- v4.0.0
- v4.0.0-rc5
- v4.0.0-rc4
- v4.0.0-rc3
- v4.0.0-rc2
- v4.0.0-rc1
- v4.0.0-beta5
- v4.0.0-beta4
- v4.0.0-beta3
- v4.0.0-beta2
- v4.0.0-beta1
- dev-pool
- dev-tests-migrate-config
- dev-ibx-8811-SA-sessions-sharing
- dev-ibx-8138/tests-dry-refactoring
- dev-temp_1.3_to_4.6_merged
- dev-ibx-8418-deleting-orphaned-drafts
- dev-poc/polyfill-php82-iterator-to-array
- dev-IBX-5905_content_type_identifier_in_contentInfo
- dev-ibx-8492-field-replace
- dev-improved_contentservice_phpdoc
- dev-shared-workflow
- dev-gha-generic-reactor-workflow
- dev-improved_event_phpdoc
- dev-bump-phpunit
- dev-fix-property-doc-tags
- dev-dbal
- dev-add-job-cache
- dev-next-major-5.0
- dev-ibx-5388-temporary-port
- dev-docker-solr-followup
- dev-bugfix/IBX-6257-fixed-specific-pattern-extraction
- dev-feature/IBX-5630-ref
- dev-flavor-upgrade
- dev-token_service
- dev-refactor-generic-and-psh-setup
- dev-url_alias_tran_issue
- dev-ibx-3051-criterions
- dev-wip-corporate-accounts
- dev-encore-configuration-paths
- dev-expose-schema-fixtures-4.x
This package is auto-updated.
Last update: 2024-09-20 13:54:10 UTC
README
此包是 Ibexa DXP 的一部分。
要使用此包,请 安装 Ibexa DXP。
此包包含一个高级内容模型,允许在未来的内容仓库中结构化任何类型的内容或类似内容的数据。Ibexa 内核还旨在为 MVC 层(Symfony)提供附加功能,以提高您的生产力 Ibexa DXP。
当前组织
MVC 层
- src/bundle - 这些捆绑包对于将后端和 MVC 层的功能暴露给 Symfony 至关重要。
- src/lib/MVC - 构成扩展 Symfony 的不同组件的部分。
- src/lib/Pagination - 扩展 PagerFanta 以对 Ibexa 搜索查询进行分页的组件。
后端
- src/contracts - PHP 公共 API 的稳定接口定义,主要是内容 仓库 API。
- src/contracts/Persistence - 还未冻结的一层,意味着它可能会在版本之间发生变化。这些是存储引擎的持久化接口。
- src/lib - API 合同的实现;命名旨在映射到它们实现的接口名称。例如,
Ibexa\Core\Persistence\Legacy
是Ibexa\Contracts\Core\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/ibexa/core.git cd core composer install
-
运行单元测试
此时,您应该能够运行单元测试
composer unit
-
运行集成测试
# 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" composer integration
要运行针对 Solr 的集成测试,请参阅 Ibexa DXP 的 Solr 搜索引擎捆绑包。
版权
版权所有 (C) 1999-2021 Ibexa AS(原 eZ Systems AS)。保留所有权利。
许可证
此源代码可在以下许可证下单独使用
A - Ibexa 商业用途许可协议(Ibexa BUL),版本 2.4 或更高版本(许可证条款可能会不时更新)Ibexa BUL 通过拥有有效的 Ibexa DXP(原 eZ Platform Enterprise)订阅获得,如 https://www.ibexa.co/product 中所述。有关完整的 Ibexa BUL 许可协议文本,请参阅 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