PHPackages                             dft/silverstripe-recipe - 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. [Framework](/categories/framework)
4. /
5. dft/silverstripe-recipe

ActiveSilverstripe-recipe[Framework](/categories/framework)

dft/silverstripe-recipe
=======================

SilverStripe 'kitchen sink' recipe for full CMS features

5.x-dev(1y ago)126[5 PRs](https://github.com/Dean-Forest-Tech/silverstripe-recipe/pulls)BSD-3-ClauseSCSSPHP ^8.0

Since Jul 8Pushed 1y ago3 watchersCompare

[ Source](https://github.com/Dean-Forest-Tech/silverstripe-recipe)[ Packagist](https://packagist.org/packages/dft/silverstripe-recipe)[ Docs](http://silverstripe.org)[ RSS](/packages/dft-silverstripe-recipe/feed)WikiDiscussions 5 Synced 1mo ago

READMEChangelogDependencies (32)Versions (7)Used By (0)

SilverStripe Kitchen Sink Recipe
================================

[](#silverstripe-kitchen-sink-recipe)

Base SilverStripe website install that contains all the modules we commonly use.

Creating a new project
----------------------

[](#creating-a-new-project)

Recipes can be introduced to any existing project (even if not created on a silverstripe base project)

### SS5 Version:

[](#ss5-version)

```
$ composer init
$ composer require dft/silverstripe-recipe:5.x-dev
```

### SS4 Version (depreciated):

[](#ss4-version-depreciated)

```
$ composer init
$ composer require dft/silverstripe-recipe:4.x-dev
```

Alternatively you can create a new project based on an existing recipe

### SS5 Version:

[](#ss5-version-1)

```
$ composer create-project dft/silverstripe-recipe ./myssproject 5.x-dev
```

### SS4 Version (depreciated):

[](#ss4-version-depreciated-1)

```
$ composer create-project dft/silverstripe-recipe ./myssproject 4.x-dev
```

Inlining recipes
----------------

[](#inlining-recipes)

You can "inline" either a previously installed recipe, or a new one that you would like to include dependencies for in your main project. By inlining a recipe, you promote its requirements, as well as its project files, up into your main project, and remove the recipe itself from your dependencies.

This can be done with either `update-recipe`, which will update a recipe, or `require-recipe` which will install a new recipe.

Note that if you wish to run this command you must first install either a recipe via normal composer commands, or install the recipe plugin:

```
$ composer init
$ composer require dft/silverstripe-recipe ^0.1
$ composer require-recipe dft/silverstripe-recipe ^1.0@dev
```

or

```
$ composer init
$ composer require dft/silverstripe-recipe ^1.0@dev
$ composer update-recipe dft/silverstripe-recipe
```

Further Docs
------------

[](#further-docs)

More comprehensive documentation can be found at the [recipe plugin github page](https://github.com/silverstripe/recipe-plugin)

Themes
------

[](#themes)

This recipe installs multiple possible base themes, but also builds a "custom" theme that can be used to overwrite the default selected theme.

If you want to switch out the default base theme to an alternative, it is recommended that you change `bootstrap`in `theme.yml` to your alternative, EG:

```
SilverStripe\View\SSViewer:
  themes:
    - 'custom'
    - 'deferedimages'
    - 'bootstrap' # Change this to your base theme
    - '$default'

```

### Webpack

[](#webpack)

The custom theme (and parent themes) are designed to use [webpack](https://webpack.js.org/) to help package and manage CSS and JS requirements.

Alternativley you can just use the default SilverStripe way (add your own files to dist/css or dist/js) but you will have to manage combining and compressing them.

This is handled automatically via `webpack`.

#### Getting Started

[](#getting-started)

To get started using webpack to manage your JS and CSS requirements, first you have to install [yarn](https://yarnpkg.com/getting-started/install)

Once you have installed yarn, navigate to your theme dir:

```
# cd /path/to/my/project/themes/custom

```

Now install node modules (can take a little while)

```
# yarn install

```

#### Adding Custom CSS/JS

[](#adding-custom-cssjs)

Next add your custom JS or CSS (SASS) to the relevent folders (`themes/custom/src/javascript` or `themes/custom/src/scss` respectivley), if you add any new files, you will need to import them in the following locations:

- SCSS Files are added to `themes/custom/src/scss/bundle.scss`
- JS files will need to be mapped directly in `themes/custom/webpack.common.js`

Finally, run one of the following command to transpile/minify your files

- `yarn dev`: Transpile all files for development purposes (do not minify)
- `yarn build`: Transpile AND minify for production

##### Linting

[](#linting)

Some linting functionality is included to help keep code tidy. If you want to lint/tidy your CSS/JS you can run the following:

- `yarn lint:styles` or `yarn lint:styles:fix` Check or attempt to fix issues with SCSS
- `yarn lint:scripts` or `yarn lint:scripts:fix` Check or attempt to fix issues with JS

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance41

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 Bus Factor1

Top contributor holds 61.9% 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 ~184 days

Total

2

Last Release

489d ago

Major Versions

4.x-dev → 5.x-dev2025-01-08

PHP version history (2 changes)4.x-devPHP ^7.4 || ^8.0

5.x-devPHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/c7d4998767cb41bf0048a65158559384fbab33751b26c996d6367019c68c4f8b?d=identicon)[DFT](/maintainers/DFT)

---

Top Contributors

[![mlewis-everley](https://avatars.githubusercontent.com/u/687143?v=4)](https://github.com/mlewis-everley "mlewis-everley (83 commits)")[![Makreig](https://avatars.githubusercontent.com/u/6011781?v=4)](https://github.com/Makreig "Makreig (39 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (12 commits)")

---

Tags

recipesilverstripesilverstripe-4silverstripe-5

### Embed Badge

![Health badge](/badges/dft-silverstripe-recipe/health.svg)

```
[![Health](https://phpackages.com/badges/dft-silverstripe-recipe/health.svg)](https://phpackages.com/packages/dft-silverstripe-recipe)
```

###  Alternatives

[silverstripe/installer

The SilverStripe Framework Installer

172964.5k1](/packages/silverstripe-installer)[silverstripe/recipe-cms

SilverStripe recipe for fully featured page and asset content editing

212.4M185](/packages/silverstripe-recipe-cms)

PHPackages © 2026

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