2017 © Pedro Peláez
 

library themosis-view

A plugin that overrides some default blade behaviour for Themosis

image

keltiecochrane/themosis-view

A plugin that overrides some default blade behaviour for Themosis

  • Thursday, April 20, 2017
  • by keltiecochrane
  • Repository
  • 1 Watchers
  • 0 Stars
  • 79 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Themosis Views

A WordPress plugin for Themosis that extends BladeCompiler. It replaces the BladeCompiler::isExpired() method to check to see if we're in production. If we are then it will return false if a pre-compiled view exists (irrespective of the compiled/raw view timestamp), as our build pipeline compiles and minifies the HTML for us, and we don't want BladeCompiler overriding it. This works for us because our hosting platform is empherical and there won't ever be any changes made to views when in production, YMMV., (*1)

Install

Require the package in composer: -, (*2)

composer require keltiecochrane/themosis-criticalcss, (*3)

You'll need to make sure the plugin is loaded in before Themosis, to give it chance to setup it's hook to replace the default ViewServiceProvider. You can copy the themosis-view.php file into your mu-plugins directory, but you'll need to make sure it's alphabetically before the file that loads Themosis, otherwise the hook won't run., (*4)

Support

This plugin is provided as is, though we'll endeavour to help where we can., (*5)

Contributing

Any contributions would be encouraged and much appreciated, you can contribute by: -, (*6)

  • Reporting bugs
  • Suggesting features
  • Sending pull requests

The Versions

20/04 2017

dev-master

9999999-dev

A plugin that overrides some default blade behaviour for Themosis

  Sources   Download

The Requires

 

themosis

20/04 2017

0.2.0

0.2.0.0

A plugin that overrides some default blade behaviour for Themosis

  Sources   Download

The Requires

 

themosis

20/04 2017

dev-develop

dev-develop

A plugin that overrides some default blade behaviour for Themosis

  Sources   Download

The Requires

 

themosis

20/04 2017

0.1.0

0.1.0.0

A plugin that overrides some default blade behaviour for Themosis

  Sources   Download

The Requires

 

plugin themosis