Tutorials , code & Inspiration

easy way to manage themes in laravel 5.1

Theme is a theme management for Laravel 5, it is the easiest way to organize your skins, layouts and assets. Right now Theme supports PHP, Blade, and Twig.


To get the latest version of Theme simply require it in your composer.json file.

"teepluss/theme": "dev-master"

You’ll then need to run composer install to download it and have the autoloader updated.

Once Theme is installed you need to register the service provider with the application. Open up config/app.php and find the providers key.

'providers' => [



Theme also ships with a facade which provides the static syntax for creating collections. You can register the facade in the aliases key of your config/app.php file.

'aliases' => [

    'Theme' => 'Teepluss\Theme\Facades\Theme',


Publish config using artisan CLI.

php artisan vendor:publish --provider="Teepluss\Theme\ThemeServiceProvider"


prevChapter 1 of 10


Pin It on Pinterest