felipepodesta/laravel-theme
Theme package for Laravel
27
| Install | |
|---|---|
composer require felipepodesta/laravel-theme |
|
| Latest Version: | v0.0.0 |
| PHP: | >=7.0.0 |
| License: | MIT |
| Last Updated: | Dec 15, 2023 |
| Links: | GitHub · Packagist |
Maintainer: felipepodesta
Laravel Theme
Theme package for Laravel.
Table Of Contents
Installation
To install in Laravel (current):
composer require felipepodesta/laravel-theme
Add the service provider to your config/app.php file:
<?php
/*
'providers' => [
[...]
*/
FelipePodesta\Theme\ServiceProvider::class,
/*
[...]
],
*/
Add this to your AppServiceProvider:
<?php
public function register()
{
$this->app->view->addLocation(resource_path('themes/site'));
}
//
or:
<?php
if ($this->app->request->is('login*', 'password*', 'register*', 'admin*')) {
$this->app->view->addLocation(resource_path('themes/admin'));
} else {
$this->app->view->addLocation(resource_path('themes/site'));
}
//
Changelog
Refer to the Changelog for a full history of the project.
Support
The following support channels are available at your fingertips:
Security Vulnerabilities
If you discover any security related issues, please email Felipe Podestá instead of using the issue tracker.
Contributing & Protocols
Thank you for considering contributing to this project! The contribution guide can be found in contributing.md and conduct.md.
Bug reports, feature requests, and pull requests are very welcome.
Credits
License
The MIT License (MIT). Please see License File for more information.
(c) 2004-2017 Felipe Podestá, Some rights reserved.