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

ActiveLibrary

vpominchuk/laravel-theme
========================

Add theme support for your Laravel application

v1.0.1(3y ago)419[1 issues](https://github.com/vpominchuk/laravel-theme/issues)MITPHPPHP ^7.4|^8.0

Since Dec 31Pushed 3y ago1 watchersCompare

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

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

[![](https://camo.githubusercontent.com/e1c3e00c87125738a1c4bd6f56fa3a5ce8c24aac7582a4cff0e5a1f7553a3d52/68747470733a2f2f62616e6e6572732e6265796f6e64636f2e64652f4c61726176656c2532305468656d652e706e673f7468656d653d6c69676874267061636b6167654d616e616765723d636f6d706f7365722b72657175697265267061636b6167654e616d653d76706f6d696e6368756b2532466c61726176656c2d7468656d65267061747465726e3d74657874757265267374796c653d7374796c655f31266465736372697074696f6e3d4164642b6d756c7469706c652b7468656d652b737570706f72742b746f2b796f75722b4c61726176656c2b6170706c69636174696f6e266d643d312673686f7757617465726d61726b3d3026666f6e7453697a653d313030707826696d616765733d68747470732533412532462532466c61726176656c2e636f6d253246696d672532466c6f676f6d61726b2e6d696e2e737667)](https://camo.githubusercontent.com/e1c3e00c87125738a1c4bd6f56fa3a5ce8c24aac7582a4cff0e5a1f7553a3d52/68747470733a2f2f62616e6e6572732e6265796f6e64636f2e64652f4c61726176656c2532305468656d652e706e673f7468656d653d6c69676874267061636b6167654d616e616765723d636f6d706f7365722b72657175697265267061636b6167654e616d653d76706f6d696e6368756b2532466c61726176656c2d7468656d65267061747465726e3d74657874757265267374796c653d7374796c655f31266465736372697074696f6e3d4164642b6d756c7469706c652b7468656d652b737570706f72742b746f2b796f75722b4c61726176656c2b6170706c69636174696f6e266d643d312673686f7757617465726d61726b3d3026666f6e7453697a653d313030707826696d616765733d68747470732533412532462532466c61726176656c2e636f6d253246696d672532466c6f676f6d61726b2e6d696e2e737667)

Laravel Multiple Theme
======================

[](#laravel-multiple-theme)

A package that allows developers to implement multiple theme support to their Laravel applications quickly and easily.

**Laravel Theme** package allows you to convert your `resources/views/` to independent theme.

**Laravel Theme** allows you to easily add multiple themes to your Laravel application. It provides the ability to create themes. It also offers a theme helper commands to allow for easy switch between themes, list available themes and more...

**Laravel Theme** is a great way to quickly add theme support to your Laravel application, allowing you to customize the look and feel of your app.

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

[](#installation)

```
$ composer require vpominchuk/laravel-theme
$ php artisan vendor:publish --tag=theme-config
```

Converting your views to a theme
--------------------------------

[](#converting-your-views-to-a-theme)

As long as your views located in `resources/views/` you can convert them to a theme, just run:

```
$ php artisan theme:create
```

and answer some general question.

Available artisan commands
--------------------------

[](#available-artisan-commands)

To get list of available artisan commands try:

```
$ php artisan theme list
```

CommandDescription`theme:list`Show available themes`theme:info {theme_name}`Get theme information`theme:create`Create a new theme`theme:activate {theme_name}`Activate themeSwitching between themes
------------------------

[](#switching-between-themes)

You can easily switch between your themes in two different ways:

1. Using artisan command

```
$ php artisan theme:activate {theme_name}
```

2. Programmatically

```
use VPominchuk\LaravelThemeSupport\Contracts\ThemeManager;

/** @var ThemeManager $themeManager */
$themeManager = app(ThemeManager::class);
$themeManager->setActiveTheme($systemName);
```

Customizing `ThemeManager`
--------------------------

[](#customizing-thememanager)

By default, `ThemeManager` class stores information about active theme in `framework/theme.json` file.

```
{
    "active_theme": "default"
}
```

In real application you might want to use your own mechanism to store information about active theme.

Follow [this documentation](https://pominchuk.com/post/11-add-multiple-theme-support-for-laravel-application) to make your own `ThemeManager` implementation.

Security
--------

[](#security)

If you discover any security related issues, please use the issue tracker.

Credits
-------

[](#credits)

- [Vasyl Pominchuk](https://pominchuk.com/)

Contributing
------------

[](#contributing)

Feel free to make any suggestions on the issues or create a pull request. I'll be very happy.

See [CONTRIBUTING.md](CONTRIBUTING.md) for more information about how to contribute.

License
-------

[](#license)

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

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

2

Last Release

1227d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0698741e2b6a33a9bc4b38ec28db9b253910a76eb0a890e9d45a5e9debe91e61?d=identicon)[vpominchuk](/maintainers/vpominchuk)

---

Top Contributors

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

---

Tags

laravellaravel-packagelaravel8laravel9laravellaravel-theme

### Embed Badge

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

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

###  Alternatives

[qirolab/laravel-themer

A Laravel theme manager, that will help you organize and maintain your themes inside Laravel projects.

402240.2k8](/packages/qirolab-laravel-themer)[slowlyo/owl-admin

基于 laravel、amis 开发的后台框架~

61214.2k26](/packages/slowlyo-owl-admin)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)[highsolutions/eloquent-sequence

A Laravel package for easy creation and management sequence support for Eloquent models with elastic configuration.

121130.3k](/packages/highsolutions-eloquent-sequence)[glhd/linen

21135.6k](/packages/glhd-linen)

PHPackages © 2026

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