PHPackages                             sgroup/site-module - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. sgroup/site-module

ActiveLibrary

sgroup/site-module
==================

A base module for S. projects and other modules to extend from for Craft CMS development.

3.0.0(2y ago)11.2k↑466%[1 issues](https://github.com/sgroupdesign/craft-site-module/issues)1MITPHP

Since Aug 15Pushed 2y ago2 watchersCompare

[ Source](https://github.com/sgroupdesign/craft-site-module)[ Packagist](https://packagist.org/packages/sgroup/site-module)[ Docs](https://github.com/sgroupdesign/craft-site-module)[ RSS](/packages/sgroup-site-module/feed)WikiDiscussions craft-4 Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (16)Used By (1)

Site Module
===========

[](#site-module)

A base module for all S. Group sites, featuring a few helpers and scaffolding.

Offline switch
--------------

[](#offline-switch)

There's a hard-offline setting that's useful for when taking a staging site offline. It's more heavy-handed than Craft's offline behaviour, as we want to prevent anyone from logging into Craft (to save confusion between environments).

Control it in your `general.php` config.

```
