iidestiny/themes

Laravel 5 Themes

4.1 2020-08-17 05:14 UTC

This package is auto-updated.

Last update: 2024-12-17 14:58:58 UTC


README

Laravel 5.3 Laravel 5.4 Laravel 5.5 Laravel 5.6 Source License

Caffeinated Themes gives the means to group together a set of views and assets for Laravel 5.1 and 5.2. This gives an easy way to further decouple the way your web application looks from your code base.

The package follows the FIG standards PSR-1, PSR-2, and PSR-4 to ensure a high level of interoperability between shared PHP code. At the moment the package is not unit tested, but is planned to be covered later down the road.

Features

  • Supports Caffeinated Modules
  • Intelligent fallback view support
  • Child/parent theme inheritance

Documentation

You will find user friendly and updated documentation in the wiki here: Caffeinated Themes Wiki

Quick Installation

Begin by installing the package through Composer.

composer require caffeinated/themes

Once this operation is complete, simply add both the service provider and facade classes to your project's config/app.php file:

Service Provider

Caffeinated\Themes\ThemesServiceProvider::class,

Facade

'Theme' => Caffeinated\Themes\Facades\Theme::class,

And that's it! With your coffee in reach, start building some awesome themes!