PHPackages                             inmanturbo/layout-features - 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. inmanturbo/layout-features

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

inmanturbo/layout-features
==========================

Layout feature for inmanturbo/features and the laravel-starter-kits

v1.0.1(9mo ago)1501MITPHP

Since Sep 11Pushed 9mo agoCompare

[ Source](https://github.com/inmanturbo/layout-features)[ Packagist](https://packagist.org/packages/inmanturbo/layout-features)[ RSS](/packages/inmanturbo-layout-features/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (3)Versions (13)Used By (1)

Layout Features
===============

[](#layout-features)

[![Latest Version on Packagist](https://camo.githubusercontent.com/87a583595baf5227b9932529f31fffaa6afb38da13b043c1e2a9821326f01f8d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f696e6d616e747572626f2f6c61796f75742d66656174757265732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/inmanturbo/layout-features)

Layout feature for inmanturbo/features and the laravel-starter-kits.

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

[](#installation)

You can install the package via composer:

```
composer require inmanturbo/layout-features
```

The service provider will be automatically registered thanks to Laravel's package auto-discovery.

Publishing Assets
-----------------

[](#publishing-assets)

### Publish the configuration file

[](#publish-the-configuration-file)

```
php artisan vendor:publish --tag=layout-config
```

This will publish the `layout.php` configuration file to your `config` directory.

### Publish the view examples

[](#publish-the-view-examples)

```
php artisan vendor:publish --tag=layout-views
```

This will publish the Livewire component view to `resources/views/livewire/layout-features.blade.php`.

Layout Class Methods
--------------------

[](#layout-class-methods)

The `Layout` class provides several public static methods for managing layout features:

### `updateCurrentLayout(string|Layout $layout)`

[](#updatecurrentlayoutstringlayout-layout)

Updates the current layout for the authenticated user. Accepts either a layout name string or a Layout instance.

### `currentLayout(): ?Layout`

[](#currentlayout-layout)

Returns the current active Layout instance for the authenticated user, or null if none is set.

### `layoutComponent(): ?string`

[](#layoutcomponent-string)

Returns the component name of the current layout, or null if no layout is active.

### `layoutOptions()`

[](#layoutoptions)

Returns an array of all available layout options, merging both configuration-defined and runtime-registered options.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance56

Moderate activity, may be stable

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity43

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.

###  Release Activity

Cadence

Every ~0 days

Total

12

Last Release

291d ago

Major Versions

v0.010 → v1.0.02025-09-14

### Community

Maintainers

![](https://www.gravatar.com/avatar/0261babef618b8fb3bfcea84376ed5e71e7169586eb8de63a6550c2e7ea653a6?d=identicon)[inmanturbo](/maintainers/inmanturbo)

---

Top Contributors

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

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/inmanturbo-layout-features/health.svg)

```
[![Health](https://phpackages.com/badges/inmanturbo-layout-features/health.svg)](https://phpackages.com/packages/inmanturbo-layout-features)
```

###  Alternatives

[apanly/browser-detector

根据UA判断浏览器类型和版本，操作系统，设备型号

312.7k](/packages/apanly-browser-detector)[tatter/workflows

Job task control through dynamic workflows, for CodeIgniter 4

221.7k](/packages/tatter-workflows)

PHPackages © 2026

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