PHPackages                             skotner/laravel-theme - 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. skotner/laravel-theme

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

skotner/laravel-theme
=====================

Very simple theme package for Laravel.

1.0.0(4y ago)039MIT

Since Sep 24Compare

[ Source](https://github.com/skoTner/laravel-theme)[ Packagist](https://packagist.org/packages/skotner/laravel-theme)[ RSS](/packages/skotner-laravel-theme/feed)WikiDiscussions Synced 1w ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Middleware for simple themes in Laravel
=======================================

[](#middleware-for-simple-themes-in-laravel)

The `skoTner/laravel-theme` package provides an easy way to create multiple view themes in your project. By defining a theme in your route you can choose which view-folder to use.

Here's a demo of how you can use it:

```
Route::get('home', 'HomeController@home')->middleware('theme:your-theme');
```

You can also set a theme for a Route group:

```
Route::group(['middleware' => 'theme:admin-theme'], function() {
	// "admin-theme" will be applied to all routes defined here
});
```

Documentation
-------------

[](#documentation)

You'll find the documentation on .

Find yourself stuck using the package? Found a bug? Do you have general questions or suggestions for improving? Feel free to [create an issue on GitHub](https://github.com/skoTner/laravel-theme/issues), I'll try to address it as soon as possible.

If you've found a security issue please mail  instead of using the issue tracker.

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

[](#installation)

You can install the package via composer:

```
composer require skoTner/laravel-theme
```

The package will automatically register itself.

You can publish the config with:

```
php artisan vendor:publish --provider="Skotner\Theme\ThemeServiceProvider"
```

You can optionally change the path of your themes folder in the config file:

```
return [

	/*
	* Folder where you will store your themes
	*/
	'folder' => resource_path('views/themes'),

];
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information about recent changes.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Free to use
-----------

[](#free-to-use)

You're free to use this package, but if it makes it to your production environment we highly appreciate you stating credits to us:

We are: Skotner Gruppen AS - [www.skotner.no](http://www.skotner.no) - Norway

Credits
-------

[](#credits)

- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

23

—

LowBetter than 25% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity51

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

Unknown

Total

1

Last Release

1787d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2727377?v=4)[Andreas Skotner](/maintainers/skoTner)[@skoTner](https://github.com/skoTner)

---

Top Contributors

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

---

Tags

laraveltheme

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/skotner-laravel-theme/health.svg)

```
[![Health](https://phpackages.com/badges/skotner-laravel-theme/health.svg)](https://phpackages.com/packages/skotner-laravel-theme)
```

###  Alternatives

[markwalet/nova-modal-response

A Laravel Nova asset for Modal responses on an action.

17930.8k](/packages/markwalet-nova-modal-response)[ronasit/laravel-helpers

Provided helpers function and some helper class.

2087.0k31](/packages/ronasit-laravel-helpers)[team-nifty-gmbh/tall-datatables

Server-side rendered datatables for Laravel and Livewire

1422.0k5](/packages/team-nifty-gmbh-tall-datatables)[crumbls/layup

A visual page builder plugin for Filament 5 — Divi-style grid layouts with extensible widgets.

604.0k2](/packages/crumbls-layup)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.8k](/packages/tomshaw-electricgrid)

PHPackages © 2026

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