ezsystems / ezpublish-kernel
Kernel used by ezsystems/ezplatform and derivatives. Provides the Content Repository, its APIs, and the application's Symfony framework integration.
Requires
- php: >=5.4.4
- ext-ctype: *
- ext-fileinfo: *
- ext-gd: *
- ext-intl: *
- ext-json: *
- ext-mbstring: *
- ext-pdo: *
- ext-spl: *
- ext-xsl: *
- doctrine/dbal: 2.5.*@beta
- doctrine/doctrine-bundle: 1.3.*@beta
- friendsofsymfony/http-cache-bundle: ~1.2
- hautelook/templated-uri-bundle: ~1.0 | ~2.0
- kriswallsmith/buzz: >=0.9
- liip/imagine-bundle: ~1.0
- nelmio/cors-bundle: 1.3.*
- ocramius/proxy-manager: 0.5.*
- oneup/flysystem-bundle: ~0.4
- pagerfanta/pagerfanta: ~1.0
- qafoo/rmf: 1.0.*
- sensio/distribution-bundle: ~2.3|~3.0
- sensio/framework-extra-bundle: ~3.0
- symfony-cmf/routing: ~1.1
- symfony/expression-language: ~2.4
- symfony/symfony: ~2.3
- tedivm/stash-bundle: 0.4.*
- zetacomponents/mail: ~1.8
Requires (Dev)
- ezsystems/ezpublish-legacy: @dev
- matthiasnoback/symfony-dependency-injection-test: 0.*
- mikey179/vfsstream: 1.1.0
- mockery/mockery: dev-master
- phpunit/phpunit: ~4.1.3
- symfony/assetic-bundle: ~2.3
Suggests
- php-64bit: For support of more than 30 languages, a 64bit php installation on all involved prod/dev machines is required
Conflicts
- zendframework/zend-stdlib: >=2.3
Replaces
- ezsystems/ezpublish: *
- ezsystems/ezpublish-api: v2014.11.8
- ezsystems/ezpublish-spi: v2014.11.8
- v2014.11.8
- v2014.11.7
- v2014.11.6
- v2014.11.5
- v2014.11.4
- v2014.11.3
- v2014.11.2
- v2014.11.1
- v2014.11.0
- v2014.07.3
- v2014.07.2
- v2014.07.1
- v2014.07.0
- v2014.05.2
- v2014.05.1
- v2014.05.0
- v2014.03.4
- v2014.03.3
- v2014.03.2
- v2014.03.1
- v2014.01.5
- v2014.01.4
- v2014.01.3
- v2014.01.2
- v2014.01.1
- v2014.01.0
- v2013.11.1
- v2013.11.0
- v2013.09.2
- v2013.09.1
- v2013.09.0
- v2013.07.3
- v2013.07.2
- v2013.07.1
- v2013.07.0
- v2013.06.0
- v2013.05.0
- v2013.04.0
- v8.0.0-beta5
- v8.0.0-beta4
- v8.0.0-beta3
- v8.0.0-beta2
- v8.0.0-beta1
- 7.5.x-dev
- v7.5.31
- v7.5.30
- v7.5.29
- v7.5.28
- v7.5.27
- v7.5.26
- v7.5.25
- v7.5.24
- v7.5.23
- v7.5.22
- v7.5.21
- v7.5.20
- v7.5.19
- v7.5.18
- v7.5.17
- v7.5.16
- v7.5.15.2
- v7.5.15.1
- v7.5.15
- v7.5.14
- v7.5.13
- v7.5.12
- v7.5.11
- v7.5.10
- v7.5.9.1
- v7.5.9
- v7.5.8
- v7.5.7.1
- v7.5.7
- v7.5.7-rc1
- v7.5.6.2
- v7.5.6
- v7.5.6-rc1
- v7.5.5
- v7.5.4
- v7.5.3
- v7.5.2
- v7.5.1
- v7.5.0
- v7.5.0-rc4
- v7.5.0-rc3
- v7.5.0-rc2
- v7.5.0-rc1
- v7.4.4
- v7.4.3
- v7.4.3-rc1
- v7.4.2
- v7.4.1
- v7.4.0
- v7.4.0-rc1
- v7.4.0-beta1
- v7.3.5
- v7.3.4
- v7.3.3
- v7.3.2.1
- v7.3.2
- v7.3.1
- v7.3.0
- v7.3.0-rc2
- v7.3.0-rc1
- v7.3.0-beta1
- v7.2.5
- v7.2.4.1
- v7.2.4
- v7.2.3
- v7.2.2
- v7.2.1
- v7.2.0
- v7.2.0-rc1
- v7.2.0-beta1
- v7.1.1.1
- v7.1.1
- v7.1.1-rc1
- v7.1.0.2
- v7.1.0.1
- v7.1.0
- v7.1.0-rc2
- v7.1.0-rc1
- v7.1.0-beta2
- v7.1.0-beta1
- v7.0.2.3
- v7.0.2.2
- v7.0.2.1
- v7.0.2
- v7.0.1
- v7.0.0
- v7.0.0-rc1
- v7.0.0-beta3
- v7.0.0-beta2
- v7.0.0-beta1
- 6.13.x-dev
- v6.13.8.2
- v6.13.8.1
- v6.13.8
- v6.13.8-rc1
- 6.13.7.x-dev
- v6.13.7-beta2
- v6.13.7-beta1+EZP-30823.preview
- v6.13.6.6
- v6.13.6.5
- v6.13.6.4
- v6.13.6.3
- v6.13.6.2
- v6.13.6
- v6.13.6-rc1
- v6.13.5.1
- v6.13.5
- v6.13.4
- v6.13.4-rc1
- v6.13.4-beta1
- v6.13.3
- v6.13.3-rc1
- v6.13.3-beta1
- v6.13.2
- v6.13.2-rc1
- v6.13.2-beta1
- v6.13.1.2
- v6.13.1.1
- v6.13.1
- v6.13.1-rc1
- v6.13.0.1
- v6.13.0
- v6.13.0-rc1
- v6.13.0-beta2
- v6.13.0-beta1
- v6.12.1.1
- v6.12.1
- v6.12.1-rc4
- v6.12.1-rc3
- v6.12.1-rc2
- v6.12.1-rc1
- v6.12.0.2
- v6.12.0.1
- v6.12.0
- v6.12.0-rc1
- v6.12.0-beta2
- v6.12.0-beta1
- v6.11.4.1
- v6.11.4
- v6.11.3
- v6.11.2
- v6.11.1
- v6.11.0
- v6.11.0-rc1
- v6.11.0-beta1
- v6.10.1
- v6.10.1-rc1
- v6.10.0
- v6.10.0-rc3
- v6.10.0-rc2
- v6.10.0-rc1
- v6.10.0-beta3
- v6.10.0-beta2
- v6.10.0-beta1
- v6.9.1
- v6.9.1-rc2
- v6.9.1-rc1
- v6.9.0
- v6.9.0-rc1
- v6.9.0-beta1
- v6.8.1
- v6.8.1-rc1
- v6.8.0
- v6.8.0-rc1
- v6.8.0-beta1
- 6.7.x-dev
- v6.7.10
- v6.7.10-rc1
- v6.7.9.1
- v6.7.9
- v6.7.8
- v6.7.8-rc2
- v6.7.8-rc1
- v6.7.7.1
- v6.7.7
- v6.7.7-rc2
- v6.7.7-rc1
- v6.7.7-beta1
- v6.7.6.2
- v6.7.6.1
- v6.7.6
- v6.7.6-rc1
- v6.7.5
- v6.7.5-rc1
- v6.7.4
- v6.7.4-rc2
- v6.7.4-rc1
- v6.7.3
- v6.7.3-rc1
- v6.7.2
- v6.7.2-rc1
- v6.7.1
- v6.7.1-rc2
- v6.7.1-rc1
- v6.7.0.3
- v6.7.0.2
- v6.7.0.1
- v6.7.0
- v6.7.0-rc1
- v6.7.0-beta1
- v6.6.2
- v6.6.2-rc1
- v6.6.1
- v6.6.1-rc2
- v6.6.1-rc1
- v6.6.0
- v6.6.0-rc2
- v6.6.0-rc1
- v6.6.0-beta2
- v6.6.0-beta1
- v6.5.2
- v6.5.2-rc2
- v6.5.2-rc1
- v6.5.1.1
- v6.5.1
- v6.5.1-rc1
- v6.5.0
- v6.5.0-rc3
- v6.5.0-rc2
- v6.5.0-rc1
- v6.5.0-beta1
- v6.4.2
- v6.4.2-rc1
- v6.4.1
- v6.4.1-rc2
- v6.4.1-rc1
- v6.4.0
- v6.4.0-rc1
- v6.4.0-beta2
- v6.4.0-beta1
- v6.3.3
- v6.3.3-rc1
- v6.3.2
- v6.3.2-rc1
- v6.3.2-beta3
- v6.3.2-beta2
- v6.3.2-beta1
- v6.3.1
- v6.3.1-rc1
- v6.3.0
- v6.3.0-rc3
- v6.3.0-rc2
- v6.3.0-rc1
- v6.3.0-beta1
- v6.2.1
- v6.2.0
- v6.2.0-rc5
- v6.2.0-rc4
- v6.2.0-rc3
- v6.2.0-rc2
- v6.2.0-rc1
- v6.1.1.1
- v6.1.1
- v6.1.0
- v6.1.0-rc1
- v6.0.1.7
- v6.0.1.6
- v6.0.1.5
- v6.0.1.4
- v6.0.1.3
- v6.0.1.2
- v6.0.1.1
- v6.0.1
- v6.0.0.2
- v6.0.0.1
- v6.0.0
- v6.0.0-rc1
- v6.0.0-beta8
- v6.0.0-beta7
- v6.0.0-beta6
- v6.0.0-beta5
- v6.0.0-beta4
- v6.0.0-beta3
- v6.0.0-beta2
- v6.0.0-beta1
- v6.0.0-alpha7
- v6.0.0-alpha6
- v6.0.0-alpha5
- v6.0.0-alpha4
- v6.0.0-alpha3
- v6.0.0-alpha2
- v6.0.0-alpha1
- 5.2.0
- 5.2.0-rc1
- 5.2.0-beta1
- 5.1.0-stable
- 5.1.0-rc1
- 5.1.0-beta2
- 5.0.0
- dev-master / 1.3.x-dev
- dev-fixed-ParentClass-limitation
- dev-ibx5236-ibx3119-needs-v2.5-backport
- dev-ibx-1281-fix-object-state-lim-for-drafts
- dev-lazy-doctrine-repositories-pass-fix
- dev-EZP-31779-patch-1
- dev-EZP-31110
- dev-EZP-31776
- dev-ezp_31718_hotfix_for_75
- dev-EZP-31677-6.13-7.5
- dev-EZP-31644-1.13->2.5
- dev-php74_support_25
- dev-ezp-31079-follow-up
- dev-ezp_30826
- dev-new_criterions
- dev-EZP-31383-role-copying
- dev-EZP-31383
- dev-ezp-31299-additional-search-languages-filter-temp
- dev-EZP-31226-indexing-depth-doesnt-work-with-location-query
- dev-ezp31290-custom_view_matcher_prefix
- dev-ezp_30981_tree_walking
- dev-EZP-31084-part2-poc
- dev-url_alias_service_typehint
- dev-content_info_get_content_type
- dev-dynamic_siteaccesses
- dev-ezp_30785
- dev-EZP-30968-count-reverse-relations
- dev-location_references
- dev-remove_container_access_from_ft_registry
- dev-bulk_load_languages
- dev-EZP-29964-proposal
- dev-EZP-29821
- dev-spi_log_cache_hits
- dev-fix_acholi_language_code
- dev-fix_deprecated_ezpublish.connection
- dev-test-ezp29333-create_delete_within_transaction
- dev-ezp28890-fix_in_context_translation
- dev-contentview_link_generator_custom_view_type
- dev-abstract_fieldtypes_parts
- dev-api_possible_changes
- dev-spike/fieldtypes_simplification
- dev-feature-http_cache_multi_tagging
- dev-search-integration-test-cleanup
- dev-improved_translation_dumper
- dev-impl-EZP-26000-permission-lookup-3
- dev-EZP-26000-permission-lookup-alt
- dev-ezp26297-rest_embedding_http_cache_merge
- dev-ezp26352-skip_csrf_check_on_rest_search
- dev-ezp26033-rest_embedding_prototype-v2_uri_based_value_loading
- dev-ezp24853-api-change
- dev-backend_updates
- dev-spi_indexer_interfaces
- dev-s3_io_tutorial
- dev-tmp_travis_behat_error
- dev-content_type_view_matching
- dev-search_type_hint
- dev-ezp24624-query_controller
- dev-spi_stop_watch
- dev-bitops
- dev-EZP-24376-solr-language-analysis
- dev-ezp24479-content_download_fatal_error
- dev-EZP-23927-fos_http_cache_1.2
- dev-EZP-23901-http_cache_signal_slots+EZP-23897
- dev-image_value_mimetype
- dev-EZP-23328-io_interfaces_split-config_cleanup
- dev-EZP-22781-preview_image_draft
- dev-repo_structure
- dev-EZP-22577-mapLocationDistance_query_builder
- dev-rest_serialize_ContentTypeGroupCreateStruct
This package is auto-updated.
Last update: 2024-11-22 12:06:52 UTC
README
Welcome to the eZ Platform Kernel. It is the heart of eZ Platform, a modern CMS built on top of the Symfony (Full Stack) Framework. It contains an advanced Content Model, allowing you to structure any kind of content or content-like data in a future-proof Content Repository. eZ Platform Kernel also aims to provide additional features for the MVC layer (Symfony) to increase your productivity.
This code repository contains several layers of (and implementations of) APIs. Kernel refers to this being the core, as opposed to the Full Stack which has bundles, user interfaces, and installers, all configured to make a complete application.
This repository is for core development; for fixes, features and documentation of the eZ Platform Kernel itself.
What is eZ Platform?
eZ Platform is modern, self-sufficient CMS/CMF, and it can be used to meet needs of developers and editorial teams. It has been in development since 2011. Current eZ Platform is the next generation of the product (previously named eZ Publish). It is built on top of the Symfony framework (Full Stack).
Getting a Full Installation (Full Stack)
Reflecting what is described above there are several options to get a full install of this Kernel:
- eZ Platform: For a clean install of eZ Platform, a modern Symfony CMS.
- eZ Platform demo: A demo website of eZ Platform, as an example for how to get started.
- eZ Platform Enterprise Edition: A commercial distribution of eZ Platform that provides additional features and services aimed at editors, editorial teams, and larger organizations.
Overview of the Kernel
eZ Platform aims to be a set of reusable components, with a mix of decoupled and specific bundles putting it all together. From a high level point of view, it contains a Front End / UI Layer, Mid/MVC layer and a Backend (Repository). All layers contain further sub-layers consisting of smaller components.
This git repository contains the main parts of the MVC and Backend layers, with underlying components planned to be provided as separate (sub-tree split) packages for re-usability. As is the case with Solr Bundle.
Current Organization
In the doc folder, you'll find Specifications for most features, including the REST API.
MVC layer:
- eZ/Bundle - the bundles that are important to expose the functionality of the Backend and MVC layer to Symfony.
- eZ/Publish/Core/MVC - the parts that make up the different components extending Symfony.
- eZ/Publish/Core/Pagination - a component extending PagerFanta for pagination of eZ Platform search queries.
Backend:
- eZ/Publish/API - the definition of stable interfaces for the PHP Public API, mainly Content Repository API.
- eZ/Publish/SPI/Persistence - a layer which is not frozen yet, meaning it might change in between releases. Those are persistence interfaces for Storage Engine.
- eZ/Publish/SPI - (anything other than Persistence) is frozen and has a Backward Compatibility promise of Service Provider Interface, meaning no breaking changes both from consumption and implementation POV.
- eZ/Publish/Core - implementations of both APIs and SPIs; the naming aims to map to name of the interface they implement. For example,
Core\Persistence\Legacy
being implementation ofSPI\Persistence
. - eZ/Publish/Core/REST is a component providing REST server and prototype of a REST Client.
Testing Locally
This kernel contains a comprehensive set of unit, functional, and integration tests. At the time of writing, 9k unit tests, 8k integration tests, and several functional tests.
Dependencies
- PHP 7 Modules: php7_intl php7_xsl php7_gd php7_sqlite (aka
pdo\_sqlite
) - Database: sqlite3, optionally: mysql/postgres if so make sure to have relevant pdo modules installed
For Contributing to this Bundle, you should make sure to run both unit and integration tests.
-
Set up this repository locally:
# 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/ezpublish-kernel.git cd ezpublish-kernel composer install
-
Run unit tests:
At this point you should be able to run unit tests:
php -d memory_limit=-1 vendor/bin/phpunit
-
Run integration tests:
# 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
To run integration tests against Solr, see Solr Search Engine Bundle for eZ Platform.
This should produce a result similar to this: travis. If it doesn't, double-check .travis.yml for up-to-date information on how travis is set up.
Issue Tracker
Submitting bugs, improvements, and stories is possible in https://jira.ez.no/browse/EZP. If you discover a security issue, please see how to responsibly report such issues in "Reporting security issues in eZ Systems products".
Contributing
eZ Platform is an open source project, with code contributions made via GitHub pull requests by eZ Systems and the eZ Community.
Good manners:
- Remember to first create an issue in our issue tracker and refer to it in commits and pull request headers. For example: "EZP-20104: Fixed ContentController to return error status when content is not found" or "EZP-20105: Added support for X in Y"
- If you want to contribute implementation-specification proposals, place them in the doc/ folder.
- Keep different changes in different commits in case cherry-pick is preferred instead of a merge later.
- A pull request should only cover one issue.
- A single commit should not contain code changes along with coding standards/whitespace/typo fixes.
- TDD: Write/Change the test(s) for your fix and commit it before you do the actual code change.
- If a bug affects the Public API, write or enhance an integration test to make sure the bug is covered.
- Unit tests should only use mocks/stubs and never test the full stack like integration tests do.
- Please test/check your commits before pushing even if we have automated checks in pull requests:
- Run unit tests and integration tests before commits
- Make sure you follow our coding standards by executing
composer fix-cs
before committing your changes to PHP files.
For further information, please have a look at the related guidance page. You will, among other things, learn how to make pull requests. More on this here: "Contributing through git".
Discussing/Exchanging
A dedicated forum has been set up to discuss all PHP API-related topics: eZ Community.
Copyright & License
Copyright (c) eZ Systems AS. For copyright and license details see provided LICENSE file.