PHPackages                             scarbous/mr\_base\_config - 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. scarbous/mr\_base\_config

ActiveTypo3-cms-extension[Utility &amp; Helpers](/categories/utility)

scarbous/mr\_base\_config
=========================

Adds the functionality to use a configuration file for TS-Config and TypoScript in your template-extension.

06[1 issues](https://github.com/Scarbous/mr_base_config/issues)PHP

Since Feb 9Pushed 8y agoCompare

[ Source](https://github.com/Scarbous/mr_base_config)[ Packagist](https://packagist.org/packages/scarbous/mr_base_config)[ RSS](/packages/scarbous-mr-base-config/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Mr. Base Config
===============

[](#mr-base-config)

What does it do?
----------------

[](#what-does-it-do)

EXT:mr\_base\_config helps you to organize your TypoScript and TSConfig in your Template-Extension.

How do I install it?
--------------------

[](#how-do-i-install-it)

1. Basically download and install the extension.
2. Create a ext\_configuration.php in your Template-Extension and add the config like:

```
// ext_configuration.php
// this will add TypoScript and TSconfig to all "site roots"
return [
	'Typoscript' => [
		'_DEFAULT' => [
		    'Typoscripts' => [
		        'EXT:news/Configuration/TypoScript',
		        'EXT:css_styled_content/static',
		     ],
			'Extensions' => [
				'news'
			],
        ]
	],
	Tsconfig => [
	    '_DEFAULT' => [
            'Configuration/TsConfig/Page/Rte.ts',
            'Configuration/TsConfig/Page/Config.ts',
            'Configuration/TsConfig/User/Config.ts'
        ],
	]
];
```

```
// ext_configuration.php
// this will add TypoScript to the "site root" with the sys_domain "your-domain.de" and TSconfig to the page "5"
return [
	'Typoscript' => [
		'your-domain.de' => [
		    'Typoscripts' => [
		        'EXT:news/Configuration/TypoScript',
		        'EXT:css_styled_content/static',
		     ],
			'Extensions' => [
				'news'
			],
        ]
	],
	Tsconfig => [
	    '5' => [
            'Configuration/TsConfig/Page/Rte.ts',
            'Configuration/TsConfig/Page/Config.ts',
            'Configuration/TsConfig/User/Config.ts'
        ],
	]
];
```

3. To load the Configfile

```
// ext_localconf.php
\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('Scarbous\MrBaseConfig\Service\TemplatConfigService', $_EXTKEY);
```

4. Define your "site root" and add one empty TypoScript Template to the "site root". This both define the place where the TypoScript will be added.

### Based on

[](#based-on)

That the system can do the job your Template Extension needs the following folder structure:

- template\_extension
    - Configuration
    - TypoScript
        - setup.txt
        - constants.txt
    - Extensions
        - news
            - Configuration
                - TypoScript
                    - setup.txt
                    - constants.txt

Why use it?
-----------

[](#why-use-it)

It helps you to organise your Template-Extension a bit more.

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/5d549d6e7a53daf5b2d80bae5eed3cddbfdcbfd90aa716ab144c5206315fe79e?d=identicon)[Scarbous](/maintainers/Scarbous)

---

Top Contributors

[![Scarbous](https://avatars.githubusercontent.com/u/1202318?v=4)](https://github.com/Scarbous "Scarbous (4 commits)")

### Embed Badge

![Health badge](/badges/scarbous-mr-base-config/health.svg)

```
[![Health](https://phpackages.com/badges/scarbous-mr-base-config/health.svg)](https://phpackages.com/packages/scarbous-mr-base-config)
```

###  Alternatives

[sabre/amf

SabreAMF is a Flash Remoting server and client for PHP

416.2k1](/packages/sabre-amf)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
