PHPackages                             webcoast/file-backend-layouts - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. webcoast/file-backend-layouts

ActiveTypo3-cms-extension[File &amp; Storage](/categories/file-storage)

webcoast/file-backend-layouts
=============================

File based backend layout provider for TYPO3 CMS

0963PHP

Since Jun 15Pushed 2y agoCompare

[ Source](https://github.com/webcoast-dk/file-backend-layouts)[ Packagist](https://packagist.org/packages/webcoast/file-backend-layouts)[ RSS](/packages/webcoast-file-backend-layouts/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

File backend layouts
====================

[](#file-backend-layouts)

Provide backend layout definitions as files, e.g. to ship them with your site package or theme extension.

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

[](#installation)

Install the extension with composer

```
composer req webcoast/file-backend-layouts
```

or from [TER](https://extensions.typo3.org/extension/file_backend_layouts/).

Usage
-----

[](#usage)

### Register backend layouts

[](#register-backend-layouts)

You can use the API to register backend layouts from your site package or theme extension.

Use the `ext_tables.php` in your extension and include

```
WEBcoast\FileBackendLayouts\Utility\ConfigurationUtility::registerBackendLayouts('your_site_package');
```

Place your ts config files for the backend layouts in `EXT:your_site_package/Configuration/BackendLayouts`. The language file for translating the layouts in the selector in the page properties is `EXT:your_site_package/Resources/Private/Language/locallang_backend.xlf`. The label prefix is `backendLayouts.`, so if you have a layout file `homepage.tsconfig`, the label in the language file would be `backendLayouts.homepage`.

#### Change the paths

[](#change-the-paths)

If you like to change the path to the backend layout files or the language file, provide them as second third parameter.

```
WEBcoast\FileBackendLayouts\Utility\ConfigurationUtility::registerBackendLayouts('your_site_package', 'Resources/Private/BackendLayouts', 'Resources/Private/Language/backendLayouts.xlf');
```

You can also set the first parameter to `null`, if you do not want to change the path to the ts config files.

```
WEBcoast\FileBackendLayouts\Utility\ConfigurationUtility::registerBackendLayouts('your_site_package', null, 'Resources/Private/Language/backendLayouts.xlf');
```

### TypoScript

[](#typoscript)

The extension provides a typo script template include with `lib.backendLayout = TEXT` which converts the chosen backend layout from the page properties (including next level inheritance) to a layout value.

If your ts config file is named `homepage.tsconfig`, the result of `lib.backendLayout` would be `homepage`. This could be used as template name in your page fluid template.

```
page {
    20 = FLUIDTEMPLATE
    20 {
        templateName < lib.backendLayout
        templateRootPaths {
            10 = EXT:your_site_package/Resources/Private/Template/Page
        }
    }
}

# or alternatively as variable `layout`
page {
    20 = FLUIDTEMPLATE
    20 {
        file = ...
        variables {
            layout < lib.backendLayout
        }
    }
}

```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity21

Early-stage or recently created project

 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/40136e31ed1adbb309036dc82652bc7185f763ea98e8de9bc588e3f2a2bde6fc?d=identicon)[webcoast](/maintainers/webcoast)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/webcoast-file-backend-layouts/health.svg)

```
[![Health](https://phpackages.com/badges/webcoast-file-backend-layouts/health.svg)](https://phpackages.com/packages/webcoast-file-backend-layouts)
```

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[google/cloud-storage

Cloud Storage Client for PHP

34390.8M123](/packages/google-cloud-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15261.6M2.6k](/packages/illuminate-filesystem)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M61](/packages/creocoder-yii2-flysystem)[flowjs/flow-php-server

PHP library for handling chunk uploads. Works with flow.js html5 file uploads.

2451.6M15](/packages/flowjs-flow-php-server)

PHPackages © 2026

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