Weave Code
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.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky