Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Ezpublish Kernel Laravel Package

ezsystems/ezpublish-kernel

eZ Publish Kernel is the core of the eZ Publish/eZ Platform CMS, providing the content repository, field types, search integration, and services for building and extending PHP-based content applications with a modular, API-driven architecture.

View on GitHub
Deep Wiki
Context7

Integrating custom semantic configuration

Added in 6.0 / 2015.09.02

When developing an external bundle, one might want to define semantic configuration that integrates with existing eZ Platform's semantic configuration. That means such configuration would need to be available under provided ezpublish DIC extension from CoreBundle. Hence such configuration would also be SiteAccess aware.

To facilitate the above, two methods are provided in CoreBundle's DIC extension.

/**
 * Adds a new config parser to the internal collection.
 *
 * [@param](https://github.com/param) \eZ\Bundle\EzPublishCoreBundle\DependencyInjection\Configuration\ParserInterface $configParser
 */
public function addConfigParser(ParserInterface $configParser);

/**
 * Adds new default settings to the internal collection.
 *
 * [@param](https://github.com/param) string $fileLocation
 * [@param](https://github.com/param) array $files
 */
public function addDefaultSettings($fileLocation, array $files)

These methods are intended to be called from bundle's build() method:

namespace Acme\FooBundle\AcmeFooBundle;

use Symfony\Component\HttpKernel\Bundle\Bundle;

class AcmeFooBundle extends Bundle
{
    public function build(ContainerBuilder $container)
    {
        parent::build($container);

        $eZExtension = $container->getExtension('ezpublish');
        $eZExtension->addConfigParser(new MyConfigParser());
        $eZExtension->addDefaultSettings('/path/to/my/', array('default_settings.yml'));
    }
}
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
thomas-0816/doctrine-dbal-duckdb
moyisoft/laravel-admin
oxygen/mod-pages
oxygen/mod-import-export
oxygen/mod-media
ksoft/laravel-contentbuilderjs
ourgoldpackages/exchange
mikkimike/laravel-exchange1c
wandesnet/mercadopago-laravel
tsfcorp/email
larafony/core
laravel-enso/currencies
tartan/laravel-online-payment
gam/laravel-sat-catalogs
cloudcreativity/laravel-stripe
abdulelahragih/querybuilder
wedevbr/celcoin-laravel
surazdott/nepali-date
devsquad-cockpit/laravel
coding-socks/laravel-upload-handler