PHPackages                             mikelmi/mks-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. [Framework](/categories/framework)
4. /
5. mikelmi/mks-theme

ActiveLibrary[Framework](/categories/framework)

mikelmi/mks-theme
=================

Theme support for Laravel

v2.1(9y ago)0601MITPHPPHP &gt;=7.0

Since Sep 26Pushed 9y ago1 watchersCompare

[ Source](https://github.com/mikelmi/mks-theme)[ Packagist](https://packagist.org/packages/mikelmi/mks-theme)[ RSS](/packages/mikelmi-mks-theme/feed)WikiDiscussions master Synced today

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

Theme Support for Laravel 5
---------------------------

[](#theme-support-for-laravel-5)

This package supports the management view files and assets under separate folders in Laravel projects.

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

[](#installation)

1. Installation with

```
    composer require mikelmi/mks-theme:dev-master

```

2. Add the service provider in `config/app.php`, to `providers`:

```
    Mikelmi\MksTheme\Providers\MksThemeServiceProvider::class,

```

3. Add Facade alias in `config/app.php`, to `aliases`:

```
    'Theme' => Mikelmi\MksTheme\Facades\Theme::class,

```

4. Publish config

```
    php artisan vendor:publish --provider="Mikelmi\MksTheme\Providers\MksThemeServiceProvider"

```

Create/configure theme
----------------------

[](#createconfigure-theme)

1. Create new folder in `public/themes/`, for example `public/themes/cool-theme`
2. Set your theme in `config/theme.php`:

```
    'name' => 'cool-theme'
    ...

```

3. Now you can overwrite any view from `resources/views` within the folder `public/themes/cool-theme/views`

Usage
-----

[](#usage)

```
    Theme::set('theme-name');          // switch to 'theme-name'
    Theme::get();                      // retrieve current theme's name
    Theme::all();                      // retrieve collection with all themes
    Theme::asset('assets/path')        // retrieve url to theme asset (e.g.: Theme::asset('assets/css/styles.css'))
    Theme::info('key'/** or null */);  // retrive theme info (from file /themes/theme-name/theme.php)

```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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 ~49 days

Total

4

Last Release

3416d ago

Major Versions

v1.0 → v2.02017-01-27

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1709033?v=4)[Mike Lmi](/maintainers/mikelmi)[@mikelmi](https://github.com/mikelmi)

---

Top Contributors

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

---

Tags

laravelthemelayoutmks

### Embed Badge

![Health badge](/badges/mikelmi-mks-theme/health.svg)

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

###  Alternatives

[teepluss/theme

Theme will help you organize your themes inside Laravel projects easily and maintain its related assets, layouts and partials for the theme in single directory.

542175.8k8](/packages/teepluss-theme)[facuz/laravel-themes

Theme will help you organize your themes inside Laravel projects easily and maintain its related assets, layouts and partials for the theme in single directory. (Based on teepluss/theme)

13743.6k2](/packages/facuz-laravel-themes)[yaap/theme

Theme support for Laravel with assets, theme extends etc.

9544.7k2](/packages/yaap-theme)

PHPackages © 2026

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