Package Data | |
---|---|
Maintainer Username: | felipepodesta |
Package Create Date: | 2017-04-28 |
Package Last Update: | 2023-12-15 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2025-02-08 15:03:16 |
Package Statistics | |
---|---|
Total Downloads: | 27 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 1 |
Total Forks: | 0 |
Total Open Issues: | 1 |
Theme package for Laravel.
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'));
}
//
Refer to the Changelog for a full history of the project.
The following support channels are available at your fingertips:
If you discover any security related issues, please email Felipe Podestá instead of using the issue tracker.
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.
The MIT License (MIT). Please see License File for more information.
(c) 2004-2017 Felipe Podestá, Some rights reserved.