Download the PHP package simplepleb/themes without Composer
On this page you can find all versions of the php package simplepleb/themes. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download simplepleb/themes
More information about simplepleb/themes
Files in simplepleb/themes
Package themes
Short Description Themes allow you to create and switch between themes in your Laravel app.
License MIT
Homepage https://github.com/simplepleb/themes
Informations about the package themes
Theme System For Laravel
Making it simple to theme a Laravel application (front-end).
Custom (unique) theme can be designed for you. Contact me through XSCode banner below to get started.
Installation
Publish config and working themes using artisan CLI.
php artisan vendor:publish --provider="SimplePleb\Theme\ThemeServiceProvider"
Before Updating Package
Before you run and if you have edited any of the included themes,
- Duplicate the folder for the edited theme
- Update the theme.json file (theme name and slug) in the new folder.
This is done to avoid the update overwriting your changes with any updates made to the module package.
After Package Update: Publish themes library for updates
Usage from controller method
// themes included with package hustbee, oreo, more coming
Theme::uses('hustbee'); // change to the name of your theme
$data['info'] = 'Hello World';
return Theme::view('index', $data);
Settings
Each theme can add custom settings to Laravel by adding a file to the theme's folder. These fields generate a complete setting's form within Laravel.
Custom Menus
Themes can make footer or other lists easy to modify by adding menus to the file
For a complete example take a look at the theme 'hustbee' which has these features enabled. For an easier way to manage menus and make them easily edited and managed. Take a look at the Menu Maker Module.
Screenshots Of Sample Themes
Oreo
Digincy
Hustbee