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

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

webdevhayes/laravel-theme-system
================================

Adds a theme system to your laravel project

1.1.0(3y ago)0121MITPHPPHP ^7.4|^8.0

Since Dec 19Pushed 3y ago1 watchersCompare

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

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

Adds a theme system to your laravel project
===========================================

[](#adds-a-theme-system-to-your-laravel-project)

This package allows you build your own theme system inside any laravel project.

**THIS IS ALPHA VERSION AND IS STILL ONGOING DEVELOPMENT**

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

[](#installation)

You can install the package via composer:

```
composer require webdevhayes/laravel-theme-system
```

You can publish and run the migrations with:

```
php artisan vendor:publish --provider="Webdevhayes\LaravelThemeSystem\LaravelThemeSystemServiceProvider" --tag="migrations"
php artisan migrate
```

You can publish the views with:

```
php artisan vendor:publish --provider="Webdevhayes\LaravelThemeSystem\LaravelThemeSystemServiceProvider" --tag="views"
```

Usage
-----

[](#usage)

Instantiate the class

```
$themeSystem = new LaravelThemeSystem();
```

Get all themes

```
$themes = $themeSystem->getThemes();
```

Activate a theme

```
$themes = $themeSystem->activateTheme('themeNameHere');
```

Theme folder structure needs to be as follows in order to add custom themes
---------------------------------------------------------------------------

[](#theme-folder-structure-needs-to-be-as-follows-in-order-to-add-custom-themes)

```
resources -> views -> vendor -> laravel-theme-system -> themes -> theme name
```

Theme is identified by a theme.php file
---------------------------------------

[](#theme-is-identified-by-a-themephp-file)

```
/*
Theme Name: My Theme Name
Theme URI: https://google.com
Author: the WordPress team
Author URI: https://google.com
Description: This is my theme
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
```

Theme image
-----------

[](#theme-image)

Add a preview.png or preview.jpg to the theme folder.

TODO/POSSIBLE FEATURES
----------------------

[](#todopossible-features)

- Add tests
- Allow custom theme path ability
- Complete theme info functionality
- Add exception handlers
- Add theme upload/delete views
- Add more usable default theme

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

License
-------

[](#license)

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

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

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

Total

2

Last Release

1375d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2918f971dee4062141e5b1ef2002179dfed3685b504f7d53eb4387e48c4c19dd?d=identicon)[webdevhayes](/maintainers/webdevhayes)

---

Top Contributors

[![webdevhayes](https://avatars.githubusercontent.com/u/101506?v=4)](https://github.com/webdevhayes "webdevhayes (3 commits)")

---

Tags

webdevhayeslaravel-theme-system

### Embed Badge

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

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

###  Alternatives

[guava/calendar

Adds support for vkurko/calendar to Filament PHP.

298241.0k3](/packages/guava-calendar)[tonysm/rich-text-laravel

Integrates Trix content with Laravel

46577.8k1](/packages/tonysm-rich-text-laravel)[mauricius/laravel-htmx

Laravel helper library for Htmx

364101.1k1](/packages/mauricius-laravel-htmx)[illuminate/reflection

The Illuminate Reflection package.

361.6M3](/packages/illuminate-reflection)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[spatie/laravel-screenshot

Take screenshots of web pages in Laravel apps

7615.9k2](/packages/spatie-laravel-screenshot)

PHPackages © 2026

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