PHPackages                             twohill/silverstripe-standard-base - 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. [DevOps &amp; Deployment](/categories/devops)
4. /
5. twohill/silverstripe-standard-base

ActiveSilverstripe-recipe[DevOps &amp; Deployment](/categories/devops)

twohill/silverstripe-standard-base
==================================

The base SilverStripe installation recipe with development tools. Uses Webpack for frontend and Docker for hosting

v0.5(7y ago)3371BSD-3-ClauseJavaScriptPHP &gt;=7.1CI failing

Since Aug 21Pushed 6y ago2 watchersCompare

[ Source](https://github.com/twohill/silverstripe-standard-base)[ Packagist](https://packagist.org/packages/twohill/silverstripe-standard-base)[ RSS](/packages/twohill-silverstripe-standard-base/feed)WikiDiscussions master Synced yesterday

READMEChangelog (5)Dependencies (3)Versions (6)Used By (0)

silverstripe-standard-base
==========================

[](#silverstripe-standard-base)

This is the standard base recipe used by Twohill &amp; Co to get up and running in SilverStripe 4 quickly.

Prerequisites
-------------

[](#prerequisites)

- Composer
- Yarn
- Docker

Getting Started
---------------

[](#getting-started)

1. Create a composer project and build the frontend

    ```
    composer create-project twohill/silverstripe-standard-base
    yarn build
    ```
2. Copy/rename `example.env` to `.env` and update the details as required.

    ```
    copy example.env .env
    ```

    You will need to update the `WEBPACK_IP` and `WEBPACK_PORT` to suit your environment for the hot reload feature to work correctly.

    ***Please ensure you change the SQL root password in this file!***
3. Start up the docker container

    ```
    docker-compose up
    ```
4. Open a new terminal and start webpack

    ```
    yarn watch
    ```

Building for production
-----------------------

[](#building-for-production)

```
yarn build
```

This process will build and minify your scss, bundle your js, and copy in any image files you have in `app/client/src/` and deploy it to `app/client/dist/`. Your templates should use the `dist` directory when published.

Known issues
------------

[](#known-issues)

- You need to run `yarn build` whenever you add or change images as this is not picked up by the webpack hot reloader
- The build process generates .js files for the css bundles as well. You can just ignore these.
- There's effectively a doubleup of image files between src and dist. Ideas to improve on this are welcome

How to use this recipe
----------------------

[](#how-to-use-this-recipe)

### Javascript

[](#javascript)

`app/client/src/js/main.js` is the starting point of the javascript application. You can use ES6 and it will be transpiled by babel for you. jQuery is bundled in along with Bootstrap 4.

Add additional javascript frameworks with `yarn add --dev PACKAGE_NAME`.

If you are running webpack via `yarn watch` your page should automatically refresh as you make changes.

### Stylesheets

[](#stylesheets)

There are two stylesheet bundles created: `editor.scss` for the HTMLTextEditor, and `bundle.scss` for everything else. `bundle.scss` includes `editor.scss` so you do not need to repeat styles. You can split up your styles into multiple files to increase maintainablilty and webpack will minify them for you.

Layout and default styling is managed with Bootstrap 4.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~47 days

Total

5

Last Release

2683d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/98bde8ab82ea828d69bc57b056e07d2206c9ae8ba23f23d9a0ec609dc72d6fd2?d=identicon)[twohill](/maintainers/twohill)

---

Top Contributors

[![altwohill](https://avatars.githubusercontent.com/u/629254?v=4)](https://github.com/altwohill "altwohill (24 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/twohill-silverstripe-standard-base/health.svg)

```
[![Health](https://phpackages.com/badges/twohill-silverstripe-standard-base/health.svg)](https://phpackages.com/packages/twohill-silverstripe-standard-base)
```

###  Alternatives

[silverstripe/installer

The SilverStripe Framework Installer

169984.4k2](/packages/silverstripe-installer)[tiamo/phpas2

PHPAS2 is a php-based implementation of the EDIINT AS2 standard

4676.9k](/packages/tiamo-phpas2)[wapmorgan/php-rpm-packager

RPM packager for PHP applications.

116.5k](/packages/wapmorgan-php-rpm-packager)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
