PHPackages                             dnadesign/basic-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. dnadesign/basic-recipe

AbandonedArchivedSilverstripe-recipe

dnadesign/basic-recipe
======================

DNA Basic Recipe metapackage

2.2.3(6y ago)3915[5 issues](https://github.com/dnadesign/dna-recipe/issues)[8 PRs](https://github.com/dnadesign/dna-recipe/pulls)BSD-3-ClauseJavaScriptPHP &gt;=7.0.0

Since Jul 7Pushed 3y ago13 watchersCompare

[ Source](https://github.com/dnadesign/dna-recipe)[ Packagist](https://packagist.org/packages/dnadesign/basic-recipe)[ RSS](/packages/dnadesign-basic-recipe/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (8)Dependencies (14)Versions (21)Used By (0)

[ ![Codeship Status for dnadesign/dna-recipe](https://camo.githubusercontent.com/f726010a68153db601e113be9cfa1533df40c16dc83bd4ca0fbdd218c659e1c5/68747470733a2f2f6170702e636f6465736869702e636f6d2f70726f6a656374732f61626631343436302d633630342d303133362d316164352d3232373437316261346132352f737461747573)](https://app.codeship.com/projects/314469)

Dna Recipe
==========

[](#dna-recipe)

Includes a collection of useful modules, a starter theme, and the silverstripe [recipe-cms](https://github.com/silverstripe/recipe-cms)

Requirements
------------

[](#requirements)

Silverstripe 4. See 3.0 branch for silverstripe 3 support.

Getting started
---------------

[](#getting-started)

*NOTE: assumes you have node setup and gulp installed globally. If not, you should go do those things first*

### Install

[](#install)

To start a project with this recipe use a terminal to run (replace `your-project` with your project's name):

`composer create-project dnadesign/basic-recipe ./your-project``cd your-project`
`make setup`

This will:

- Copy a draft `.env` file in for you (you'll need to update this)
- Install the frontend dependencies &amp; create the built theme in `theme-default/dist`
- Run `composer install` (because this task doubles as a quick setup for future devs on your project)
- Run `composer vendor-expose` to symlink assets into `public`
- Run a `dev/build ?flush`

### Recipe options

[](#recipe-options)

To add this recipe to an existing project:

(optional) `composer require dnadesign/basic-recipe ./your-project`

To move the cms recipe dependencies to your own composer file in order to modify them:

(optional) `composer update-recipe silverstripe/recipe-cms`

More information about recipes and how to work with them is available here:

Using this recipe
=================

[](#using-this-recipe)

This code comes bundled with a makefile for quick access to common tasks. Run `make list` or `make help` to get a list of available options, or open the [Makefile](Makefile) directly.

Theme
-----

[](#theme)

Theme-default is a starter theme, intended to be used as a base for development. See the [theme README file](theme-default/README.md) for theme specific documentation

Testing and deployment
----------------------

[](#testing-and-deployment)

This recipe comes with setup for a deployment pipeline from CodeShip to Silverstripe Dashboards. There are commands in the MakeFile for this purpose.

If you don't intend to use this pipeline, feel free to remove these from the makefile. Note that by default we aren't committing built assets, so if you have a git based deployment pipeline, you might want to remove `theme-default/dist` from `.gitignore`

### Prerequisites

[](#prerequisites)

- A Codeship account
- A SilverStripe Dashboard Project, and a Dashboard api key
- An amazon s3 bucket

Note: you can still use Codeship and not deploy to platform.

### Setup

[](#setup)

1. Update the `pipeline_project_name` in the [MakeFile](Makefile) with the project name used in the Silverstripe Dashboard.
2. Codeship: create a new project for this build, and set it up with your projects git details (Codeship supports GitHub, GitLab, and BitBucket repos)

#### CodeShip: Setup your tests

[](#codeship-setup-your-tests)

`Codeship > Your project > Project settings > Test`

##### Setup commands

[](#setup-commands)

1. Select your technology &gt; select php
2. Update the php version to support your project. eg: `phpenv local 7.2`
3. Adjust any other settings you might need (e.g. you can set memory limits with: `echo "memory_limit = 512M" >> $HOME/.phpenv/versions/7.2/etc/php.ini` )
4. Call `make pipeline_setuptest` to set up an instance of your project for tests to run inside

##### Configure Test Pipelines

[](#configure-test-pipelines)

1. Create a test pipeline
2. Call the `make pipeline_test` command to run all your project's tests

Note: Tests can be bypassed if the most recent commit message contains SKIP\_CI. eg: `FIX: response.js bug by updating [SKIP_CI]`

#### Codeship: setup for deployments

[](#codeship-setup-for-deployments)

##### Configuration

[](#configuration)

Configure your Codeship environment variables under `Project settings > Environment`. You will need:
`AWS_DEFAULT_REGION` - from your s3 bucket account. e.g. ap-southeast-2
`AWS_ACCESS_KEY_ID` - from your s3 bucket account.
`AWS_SECRET_ACCESS_KEY` - from your s3 bucket account.
`DASHBOARD_TOKEN` - You can find this in your profile on the Silverstripe Dashboard
`DASHBOARD_USER` - this is the email address you use on the dashboard, and not your username

Note: The AWS connections might be adapted for deployments to other environments, if you aren't hosted on CWP, or the Silverstripe Platform.

##### Deployment

[](#deployment)

`Project settings > Deploy`

1. Add a new deployment pipeline, and choose a deployment branch
2. Choose "Custom script"
3. Call `make pipeline_deploy`. This will prep the test build - removing unwanted files, create a tar file, and send it to a SilverStripe Dashboard for deployment.

You should now be able to push to your deployment branch to trigger a deploy

###  Health Score

28

↓

LowBetter than 54% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 94.1% 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 ~121 days

Recently: every ~143 days

Total

9

Last Release

2265d ago

Major Versions

1.1 → 3.0.x-dev2017-12-13

PHP version history (3 changes)1.0PHP &gt;=5.3.2

2.0PHP &gt;=5.6.0

2.2.1PHP &gt;=7.0.0

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/81dd88cc85b2eae70dee4aee18838c3c84bfb71a491479be2b5b0e60e7365913?d=identicon)[pitchandtone](/maintainers/pitchandtone)

![](https://avatars.githubusercontent.com/u/984753?v=4)[Naomi Guyer](/maintainers/adrexia)[@adrexia](https://github.com/adrexia)

---

Top Contributors

[![adrexia](https://avatars.githubusercontent.com/u/984753?v=4)](https://github.com/adrexia "adrexia (111 commits)")[![tamelion](https://avatars.githubusercontent.com/u/1680944?v=4)](https://github.com/tamelion "tamelion (3 commits)")[![gmlnchv](https://avatars.githubusercontent.com/u/1403779?v=4)](https://github.com/gmlnchv "gmlnchv (2 commits)")[![djrumbold](https://avatars.githubusercontent.com/u/113584?v=4)](https://github.com/djrumbold "djrumbold (1 commits)")[![Leapfrognz](https://avatars.githubusercontent.com/u/1740262?v=4)](https://github.com/Leapfrognz "Leapfrognz (1 commits)")

---

Tags

silverstriperecipedna

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/dnadesign-basic-recipe/health.svg)

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

###  Alternatives

[silvershop/core

Provides an ecommerce product catalog, shopping cart, and order management system

11340.0k42](/packages/silvershop-core)[lekoala/silverstripe-mandrill

Adds mandrill in the SilverStripe CMS

1827.3k](/packages/lekoala-silverstripe-mandrill)[dynamic/silverstripe-locator

SilverStripe Locator Module. Show locations on a map. Search by geoposition.

2113.2k1](/packages/dynamic-silverstripe-locator)

PHPackages © 2026

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