PHPackages                             fivefifteen/basis - 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. [Templating &amp; Views](/categories/templating)
4. /
5. fivefifteen/basis

ActiveLibrary[Templating &amp; Views](/categories/templating)

fivefifteen/basis
=================

A WordPress boilerplate. Get a local dockerized WordPress project up and running complete with secrets encryption, dependency management/compilation, and more by running a single command.

0.1.2(6mo ago)1579[3 issues](https://github.com/fivefifteen/basis/issues)GPL-2.0PHPPHP &gt;=8.1

Since Dec 18Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/fivefifteen/basis)[ Packagist](https://packagist.org/packages/fivefifteen/basis)[ Docs](https://github.com/fivefifteen/basis)[ RSS](/packages/fivefifteen-basis/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (10)Used By (0)

[![Basis](./assets/basis.png)](./assets/basis.png)

Basis
=====

[](#basis)

A WordPress boilerplate. Get a local dockerized WordPress project up and running complete with secrets encryption, dependency management/compilation, and more by running a single command.

[![packagist package version](https://camo.githubusercontent.com/98f437004ab33bfdf6531788f3687e2a41ab0ebb50d84f016fc3df2117880eaa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f666976656669667465656e2f62617369732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/fivefifteen/basis)[![packagist package downloads](https://camo.githubusercontent.com/c401afee08f424dae4b303ee45e6105e4db151a22d582dd6bbed9f632e7ef455/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f666976656669667465656e2f62617369732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/fivefifteen/basis)[![GitHub code size in bytes](https://camo.githubusercontent.com/b4fbd8473dd206005e628a1bc5721dedf69254fe4e890efbff370cb4214cadf7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f64652d73697a652f666976656669667465656e2f62617369733f7374796c653d666c61742d737175617265)](https://github.com/fivefifteen/basis)[![license](https://camo.githubusercontent.com/e3ac5abc5b81071a3bdedef10cf821936bd1ec2ef35978a9c7d7b9eea7049b65/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f666976656669667465656e2f62617369732e7376673f7374796c653d666c61742d737175617265)](https://github.com/fivefifteen/basis/blob/main/license.md)

[![](./assets/fivefifteen.png)
**A Five Fifteen Project**](https://fivefifteen.com)

Table of Contents
-----------------

[](#table-of-contents)

- [Features](#features)
- [Requirements](#requirements)
- [Usage](#usage)
- [Configuration](#configuration)
- [Development](#development)
- [Related Projects](#related-projects)
- [License Information](#license-information)

Features
--------

[](#features)

- Dockerized development environment via [Lando](https://lando.dev) &amp; [Docker](https://docker.com)
- Secrets encryption via [SOPS](https://getsops.io)
- Intergrated deployment solution via [WordUp](https://github.com/fivefifteen/wordup) &amp; [Deployer](https://deployer.org)
- WordPress terminal control via [WP-CLI](https://wp-cli.org)
- WordPress core &amp; plugins management using [Packagist](https://packagist.org) &amp; [WordPress Packagist](https://wpackagist.org) as repositories via [Composer](https://getcomposer.org)
    - (*[Five Fifteen Plugins](https://plugins.fivefifteen.com) &amp; [Advanced Custom Fields](https://advancedcustomfields.com) repositories are optionally pre-configured as well*)
- Theme boilerplate via [Primer](https://github.com/fivefifteen/primer)
    - Front-end dependency management using [GitHub](https://github.com) &amp; [npm](https://npmjs.com) as repositories via [Fetcher](https://github.com/fivefifteen/fetcher)
    - JavaScript &amp; CSS/SCSS compilation/minification via [Piler](https://github.com/fivefifteen/piler)
    - [and more...](https://github.com/fivefifteen/primer)
- All of the above in a single command 👌

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

[](#requirements)

- [PHP](https://php.net) 8.1 or above
- [Composer](https://getcomposer.org)
- [Lando](https://lando.dev)

Usage
-----

[](#usage)

Run the following command (*replacing "my-new-website" with your website's slug*):

```
composer create-project fivefifteen/basis my-new-website
```

The [setup script](setup.php) will ask you a few questions (*feel free to mash enter and leave everything with default values*) and when it's finished the URL to the local version of your new website will be displayed.

Visiting that URL will show you the WordPress setup screen where you can create your admin user account and then log in to the WordPress dashboard.

See your site's newly generated [readme.md](readme.template.md) on what to do from there.

Configuration
-------------

[](#configuration)

The default values for any of the questions that are asked by the [setup script](setup.php) can be configured by setting an environment variable with the `BASIS_` prefix:

```
export BASIS_SOPS_AGE_PUBLIC_KEY="age1ql3z7hjy54pw3hyww5ayyfg7zqgvc7w3j2elw8zmrj2kg5sfn9aqmcac8p"
```

Development
-----------

[](#development)

To create a project for testing using the latest development versions of both Basis and Primer, use the following command:

```
export BASIS_PRIMER_VERSION=dev-development; composer create-project fivefifteen/basis my-new-website dev-development
```

Related Projects
----------------

[](#related-projects)

- [Primer](https://github.com/fivefifteen/primer) - A WordPress theme boilerplate. The perfect starting point for your custom WordPress theme.
- [WordUp](https://github.com/fivefifteen/wordup) - A WordPress [Deployer](https://deployer.org) Recipe.

License Information
-------------------

[](#license-information)

GPL-2.0 (See the [license.md file](license.md) for more info)

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance64

Regular maintenance activity

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~45 days

Recently: every ~75 days

Total

8

Last Release

188d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8d68490c578477bc7ea49334ee8e91d39358a962bb3b72814191165fd7741be0?d=identicon)[fivefifteen](/maintainers/fivefifteen)

---

Top Contributors

[![kodie](https://avatars.githubusercontent.com/u/603949?v=4)](https://github.com/kodie "kodie (86 commits)")

---

Tags

boilerplatecomposerdeployerdockerfetchergithublandonpmpilerprimerscsssopswordpresswordpress-boilerplatewordupwp-cliwordpresstemplateboilerplateexamplestarter

### Embed Badge

![Health badge](/badges/fivefifteen-basis/health.svg)

```
[![Health](https://phpackages.com/badges/fivefifteen-basis/health.svg)](https://phpackages.com/packages/fivefifteen-basis)
```

PHPackages © 2026

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