felipepodesta / laravel-theme
Theme package for Laravel
Requires
- php: >=7.0.0
- laravel/framework: 5.4.*
This package is not auto-updated.
Last update: 2025-02-10 08:16:24 UTC
README
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.