PHPackages                             stnvh/silverstripe-infoboxes - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. stnvh/silverstripe-infoboxes

ActiveSilverstripe-module[Utility &amp; Helpers](/categories/utility)

stnvh/silverstripe-infoboxes
============================

Conditional CMS info boxes.

1.2.1(11y ago)92.2k2[4 PRs](https://github.com/stnvh/silverstripe-infoboxes/pulls)1BSD-3-ClausePHP

Since Jul 22Pushed 10y ago2 watchersCompare

[ Source](https://github.com/stnvh/silverstripe-infoboxes)[ Packagist](https://packagist.org/packages/stnvh/silverstripe-infoboxes)[ Docs](https://github.com/stnvh/silverstripe-infoboxes)[ RSS](/packages/stnvh-silverstripe-infoboxes/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (2)Versions (12)Used By (1)

Silverstripe Info Boxes
=======================

[](#silverstripe-info-boxes)

[![Build Status](https://camo.githubusercontent.com/2d9c9cdb07b0a9f7687faf9c32e0e1a13bf287aa6c4b3f24d2e13a9b1c3baad5/68747470733a2f2f7472617669732d63692e6f72672f73746e76682f73696c7665727374726970652d696e666f626f7865732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/stnvh/silverstripe-infoboxes) [![Latest Stable Version](https://camo.githubusercontent.com/0e049fc7a88e503aec279cbedbdcb1e2effdf8df86201c26843fe6a1b7784164/68747470733a2f2f706f7365722e707567782e6f72672f73746e76682f73696c7665727374726970652d696e666f626f7865732f762f737461626c652e737667)](https://packagist.org/packages/stnvh/silverstripe-infoboxes) [![License](https://camo.githubusercontent.com/34e4e6490887c52a607d794c2805990912152cc3eef0f4dc7d719b410680a5c3/68747470733a2f2f706f7365722e707567782e6f72672f73746e76682f73696c7665727374726970652d696e666f626f7865732f6c6963656e73652e737667)](https://packagist.org/packages/stnvh/silverstripe-infoboxes)

Conditional CMS info boxes.

[![Info Boxes](https://camo.githubusercontent.com/014d79f07fd2153c73a2abb7395024453967471586b30bea99e79cab6d355c97/687474703a2f2f662e636c2e6c792f6974656d732f32433042314a314530323436324c3348316431312f496d616765253230323031342d30372d3232253230617425323031312e32382e3336253230616d2e706e67)](https://camo.githubusercontent.com/014d79f07fd2153c73a2abb7395024453967471586b30bea99e79cab6d355c97/687474703a2f2f662e636c2e6c792f6974656d732f32433042314a314530323436324c3348316431312f496d616765253230323031342d30372d3232253230617425323031312e32382e3336253230616d2e706e67)

By Stan Hutcheon - [Bigfork Ltd](http://bigfork.co.uk)

Installation:
-------------

[](#installation)

### Composer:

[](#composer)

```
composer require stnvh/silverstripe-infoboxes ~1

```

### Download:

[](#download)

Clone this repo into a folder called `infoboxes` in your silverstripe installation folder.

### Usage:

[](#usage)

It currently has 5 built in checks:

- Dev mode
- Favicon existance
- Google analytics code
- Default password
- if www is used

To add a check, create a file in */mysite/code/* called `InfoBox_[your_check_name].php` with the following functions:

example:

```
