This package allows you build your own theme system inside any laravel project.
THIS IS ALPHA VERSION AND IS STILL ONGOING DEVELOPMENT
You can install the package via composer:
composer require webdevhayes/laravel-theme-systemYou can publish and run the migrations with:
php artisan vendor:publish --provider="Webdevhayes\LaravelThemeSystem\LaravelThemeSystemServiceProvider" --tag="migrations"
php artisan migrateYou can publish the views with:
php artisan vendor:publish --provider="Webdevhayes\LaravelThemeSystem\LaravelThemeSystemServiceProvider" --tag="views"Instantiate the class
$themeSystem = new LaravelThemeSystem();Get all themes
$themes = $themeSystem->getThemes();Activate a theme
$themes = $themeSystem->activateTheme('themeNameHere');resources -> views -> vendor -> laravel-theme-system -> themes -> theme name/*
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
*/Add a preview.png or preview.jpg to the theme folder.
- Add tests
- Allow custom theme path ability
- Complete theme info functionality
- Add exception handlers
- Add theme upload/delete views
- Add more usable default theme
Please see CHANGELOG for more information on what has changed recently.
The MIT License (MIT). Please see License File for more information.