PHPackages                             contaoblackforest/contao-easy-extend - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. contaoblackforest/contao-easy-extend

AbandonedArchivedContao-module[Utility &amp; Helpers](/categories/utility)

contaoblackforest/contao-easy-extend
====================================

The is project to easy extends Contao modules

1.3.0(7y ago)089LGPL-3.0-or-laterPHPPHP ^5.6 || ^7.0

Since Jun 21Pushed 7y ago1 watchersCompare

[ Source](https://github.com/ContaoBlackForest/contao-easy-extend)[ Packagist](https://packagist.org/packages/contaoblackforest/contao-easy-extend)[ RSS](/packages/contaoblackforest-contao-easy-extend/feed)WikiDiscussions master Synced 1mo ago

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

Contao Easy Extend
==================

[](#contao-easy-extend)

This module helps developer´s extend contao modules. The magic of this module is, you can extend modules with dependencies of another module this extend the same.

System requirements
-------------------

[](#system-requirements)

- Web server
- PHP 5.3.2+ with GDlib, DOM, Phar and SOAP
- MySQL 5.0.3+
- contao-core &gt;=3.2-dev,&lt;4-dev
- contao-community-alliance/composer-plugin ~2.0
- symfony/filesystem ~2.0

Installation
------------

[](#installation)

Easy to install via Composer-Package-Management in Contao-CMS.

```
    require contaoblackforest/contao-easy-extend

```

Usage
-----

[](#usage)

The Usage ist very easy. You must do one in config.php in your module.

```
    $GLOBALS['TL_EXTEND']['ExtendModule'][] = array(
        'namespace' => 'YourNamespace',
        'path'      => 'system/modules/your-module/module/ExtendModule.php'
    );
```

You replace twice "ExtendModule" with the name of the module you like to extend. By the property namespace you must your namespace you like to use.

```
    Attention: When you using the autoload-creator
    ----------------------------------------------

    After compile the autoload.php you unset the class file and there namespace.
    The autoload functionality comes from this module!!!

```

This module compile to files automated.

1. The first file ist the magic of this module. This file is an bridge class of the last extended there you extend. After compiling you find this file in `TL_ROOT/system/cache/bridges/YourNamespabe`.

    Content of this file:
    ---------------------

    [](#content-of-this-file)

    ```
