PHPackages                             codewithtony/larathemes - 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. codewithtony/larathemes

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

codewithtony/larathemes
=======================

Theme Manager for Laravel 5

1.2(9y ago)123.2kMITPHPPHP &gt;=5.4.0

Since Feb 26Pushed 9y ago3 watchersCompare

[ Source](https://github.com/codeWithTony/larathemes)[ Packagist](https://packagist.org/packages/codewithtony/larathemes)[ Docs](https://github.com/codewithtony/larathemes)[ RSS](/packages/codewithtony-larathemes/feed)WikiDiscussions master Synced 2mo ago

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

Laravel Theme
=============

[](#laravel-theme)

**The simpliest of theme switching for Laravel 5**

- [Installation](#installation)
- [Usage](#usage)

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

[](#installation)

### Laravel 5.1+

[](#laravel-51)

Install Laravel Theme manager:

```
composer require codewithtony/larathemes
```

At `config/app.php`, add the Service Provider and the Facade:

```
    'providers' => [
        Tony\Themes\ThemeServiceProvider::class,
    ]

    //...

    'aliases' => [
        'Theme' => Tony\Themes\Themes\ThemeFacade::class,
    ]
```

Usage
------------------------------------

[](#usage)

### Recommended Structure

[](#recommended-structure)

```
themes
  ├── [theme name]
  |   └── assets
  |   └── views
  |
  └── [theme name]
      └── assets
      └── views

```

### Setting a theme

[](#setting-a-theme)

Changing your theme is easy

```
Theme::set('my-theme')
```

Easily use the Middleware to change themes for an entire group

```
Route::group(['prefix' => 'admin', 'middleware' => ['auth', 'theme:admin'], function () {
    //...
});
```

### Calling a view

[](#calling-a-view)

Load your views like normal, Laravel Theme will look for your view in the set theme and if it isn't found, view finding will remain the same

You can reuse views by storing them outside of your theme and just uses view('layout.master') and have your layout/master.blade.php inside you themes.

### Assets

[](#assets)

Your assets will need to be sent to your public folder still.

Contribute
---------------------------------------------

[](#contribute)

Your help is more than welcome!

License
----------------------------------------

[](#license)

Licensed under the [The MIT License (MIT)](http://opensource.org/licenses/MIT). Please see [LICENSE](LICENSE) for more information.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity60

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

Total

3

Last Release

3326d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bed62830045a43d5245c1e1b3f83d6ace74aa29db0c093767c655d507f99d9d1?d=identicon)[codefromtony](/maintainers/codefromtony)

---

Top Contributors

[![TonyRouse](https://avatars.githubusercontent.com/u/1280950?v=4)](https://github.com/TonyRouse "TonyRouse (6 commits)")

---

Tags

laravel 5themestheme managerlaravel-theme

### Embed Badge

![Health badge](/badges/codewithtony-larathemes/health.svg)

```
[![Health](https://phpackages.com/badges/codewithtony-larathemes/health.svg)](https://phpackages.com/packages/codewithtony-larathemes)
```

###  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)[aliyuncs/aliyun-oss-php-sdk-laravel

A simple Laravel 5 and lumen service provider for including the Oss PHP SDK for PHP.

7935.4k2](/packages/aliyuncs-aliyun-oss-php-sdk-laravel)[danielme85/laravel-cconverter

Laravel 5 plug-in for currency conversion

42101.1k](/packages/danielme85-laravel-cconverter)[swissup/module-marketplace

One-Click modules and themes downloader/installer

18383.8k2](/packages/swissup-module-marketplace)[nahid/linkify

Converts URLs and email addresses in text into HTML links its extended from Misd\\Linify its also support laravel 5

11136.0k1](/packages/nahid-linkify)

PHPackages © 2026

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