PHP code example of cleaniquecoders / themer
1. Go to this page and download the library: Download cleaniquecoders/themer library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
cleaniquecoders / themer example snippets
CleaniqueCoders\Themer\ThemerServiceProvider::class,
'theme' => \CleaniqueCoders\Themer\Http\Middleware\ThemeLoader::class,
Route::get('home','HomeController@index')->middleware('theme:public');
Route::group(['middleware' => ['theme:admin']], function(){
Auth:routes();
});