PHPackages                             dywee/core-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. dywee/core-bundle

ActiveSymfony-bundle

dywee/core-bundle
=================

Symfony3 bundle for easy management of all of the Olix21 bundles

0.2.x-dev(5y ago)16572[2 issues](https://github.com/olix21/core-bundle/issues)MITJavaScriptPHP &gt;=7.4|^8.0

Since Aug 12Pushed 5y ago2 watchersCompare

[ Source](https://github.com/olix21/core-bundle)[ Packagist](https://packagist.org/packages/dywee/core-bundle)[ RSS](/packages/dywee-core-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (3)Used By (0)

core-bundle
===========

[](#core-bundle)

this README is currently in progress. Thank you for your understanding...

A simple bundle to handle other Dywee bundles. Add interesting functionnalities such as

- ParentController to rule them all
- Js form collection type handling
- Data Preload for remote modal
- The awesome Admin LTE template

\##Installing

just run

```
$ composer require dywee/core-bundle
```

add the bundle to the kernel

```
new Dywee\CoreBundle\DyweeCoreBundle(),
```

no more configuration needed

Using the admin template
------------------------

[](#using-the-admin-template)

This bundle provides the famous Admin LTE template for you to easily design your symfony application. Just extend the 'DyweeCoreBundle:Templates:admin.html.twig' template from your twig template and us ethe 'body' block tag.

```
{# Dywee\CMSBundle\Resources\views\admin.html.twig #}

{% extends "DyweeCoreBundle::admin.html.twig" %}

{% block metaTitle %}
    {{ parent() }}
{% endblock %}

{% block body %}
    My awesome body
{% endblock %}
```

How to customize the administration
-----------------------------------

[](#how-to-customize-the-administration)

You can easily add item to the admin dashboard/navbar/sidebar just by using the Dywee Custom events.

There are 3 custom events:

- DashboardBuilderEvent
- AdminNavbarBuilderEvent
- SidebarBuilderEvent

So, what you have to do, is just to create a listener:

```
