PHPackages                             rtcamp/elementary - 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. rtcamp/elementary

ActiveWordpress-theme

rtcamp/elementary
=================

A starter theme that facilitates a quick head start for developing new block-based themes along with a bunch of developer-friendly features.

v1.0.1(3y ago)341289[18 issues](https://github.com/rtCamp/theme-elementary/issues)[15 PRs](https://github.com/rtCamp/theme-elementary/pulls)GPL-2.0-or-laterJavaScriptCI passing

Since Apr 18Pushed 1mo ago27 watchersCompare

[ Source](https://github.com/rtCamp/theme-elementary)[ Packagist](https://packagist.org/packages/rtcamp/elementary)[ Docs](https://rtcamp.com/)[ RSS](/packages/rtcamp-elementary/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (2)Dependencies (8)Versions (56)Used By (0)

Theme Elementary
================

[](#theme-elementary)

[![image](https://user-images.githubusercontent.com/59014930/187202051-df015d4a-f885-40cb-9fc9-c13991d3216d.png)](https://user-images.githubusercontent.com/59014930/187202051-df015d4a-f885-40cb-9fc9-c13991d3216d.png)

A starter theme that facilitates a quick head start for developing new [block-based themes](https://developer.wordpress.org/block-editor/how-to-guides/themes/block-theme-overview/) along with a bunch of developer-friendly features.

- [Understand the Folder Structure](https://github.com/rtCamp/theme-elementary#understand-the-folder-structure-open_file_folder)
- [Get Started](https://github.com/rtCamp/theme-elementary#get-started-rocket)
- [Development](https://github.com/rtCamp/theme-elementary#development-computer)

Understand the Folder Structure 📂
---------------------------------

[](#understand-the-folder-structure-open_file_folder)

```
 .
├── assets (Holds theme's assets)
│   └── src
│       └── js
│       └── css
├── bin (Holds scripts)
├── functions.php (PHP entry point)
├── inc
│   ├── classes (Holds all classes)
│   │   └── class-elementary-theme.php (Instantiates all of the classes)
│   ├── helpers (PHP Helpers)
│   │   └── custom-functions.php
│   └── traits (PHP Traits)
│       └── trait-singleton.php
├── index.php
├── parts (Block Template Parts)
├── patterns (Block Patterns)
│   ├── *.html
├── style.css
├── templates (Block Templates)
│   ├── *.html
├── tests (Holds JS & PHP tests)
│   ├── bootstrap.php
│   ├── js
│   └── php
└── theme.json

```

Get Started 🚀
-------------

[](#get-started-rocket)

### Method 1 (Recommended)

[](#method-1-recommended)

```
composer create-project rtcamp/elementary [folder_name]

```

This command is equivalent to cloning the repository and running `composer install && npm install`

### Method 2

[](#method-2)

Manually clone this repository using

```
git clone [URL to Git repo]

```

Having cloned this repository, install node packages and PHP dependencies using

```
composer install

```

In both the methods, you will be prompted with a theme setup wizard which will help you with the search-replace. That was all! You're good to go with building your block theme. ✨

**Note**: Refer to the `.nvmrc` file to check the supported Node.js version for running this project. If your current Node.js version does not run the project successfully on localhost, please use [Node Version Manager](https://github.com/nvm-sh/nvm) on your terminal to configure the right Node.js version.

Development 💻
-------------

[](#development-computer)

**Production**

```
npm run build:prod
```

**Watch changes**

```
npm start
```

**Linting &amp; Formatting**

Lint JS, CSS &amp; PHP.

```
npm run lint:js
npm run lint:css
npm run lint:php #phpcs
```

Auto fix fixable linting errors for JS, CSS &amp; PHP.

```
npm run lint:js:fix
npm run lint:css:fix
npm run lint:php:fix #phpcbf
```

**Testing**

Run all tests.

```
npm run test
```

Run JS tests.

```
npm run test:js
```

Watch JS tests.

```
npm run test:js:watch
```

Run PHP tests.

```
npm run test:php
```

Does this interest you?
-----------------------

[](#does-this-interest-you)

[![Join us at rtCamp, we specialize in providing high performance enterprise WordPress solutions](https://camo.githubusercontent.com/200a2a36a9d2ba1c5281a14e57c7490ebce4983b04acd700f657e29e8ecd150d/68747470733a2f2f727463616d702e636f6d2f77702d636f6e74656e742f75706c6f6164732f73697465732f322f323031392f30342f6769746875622d62616e6e65724032782e706e67)](https://rtcamp.com/)

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance50

Moderate activity, may be stable

Popularity23

Limited adoption so far

Community26

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~2 days

Total

2

Last Release

1358d ago

### Community

Maintainers

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

---

Top Contributors

[![thelovekesh](https://avatars.githubusercontent.com/u/54371619?v=4)](https://github.com/thelovekesh "thelovekesh (353 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (321 commits)")[![RahiDroid](https://avatars.githubusercontent.com/u/59014930?v=4)](https://github.com/RahiDroid "RahiDroid (105 commits)")[![rtBot](https://avatars.githubusercontent.com/u/43742164?v=4)](https://github.com/rtBot "rtBot (60 commits)")[![divyarajmasani](https://avatars.githubusercontent.com/u/6906779?v=4)](https://github.com/divyarajmasani "divyarajmasani (29 commits)")[![sagarjadhav](https://avatars.githubusercontent.com/u/1140315?v=4)](https://github.com/sagarjadhav "sagarjadhav (18 commits)")[![nani-samireddy](https://avatars.githubusercontent.com/u/60937910?v=4)](https://github.com/nani-samireddy "nani-samireddy (18 commits)")[![amitraj2203](https://avatars.githubusercontent.com/u/77401999?v=4)](https://github.com/amitraj2203 "amitraj2203 (14 commits)")[![iamimmanuelraj](https://avatars.githubusercontent.com/u/26855364?v=4)](https://github.com/iamimmanuelraj "iamimmanuelraj (9 commits)")[![ediamin](https://avatars.githubusercontent.com/u/1541774?v=4)](https://github.com/ediamin "ediamin (7 commits)")[![mchirag2002](https://avatars.githubusercontent.com/u/71757438?v=4)](https://github.com/mchirag2002 "mchirag2002 (5 commits)")[![parthnvaswani](https://avatars.githubusercontent.com/u/53994579?v=4)](https://github.com/parthnvaswani "parthnvaswani (3 commits)")[![maitreyie-chavan](https://avatars.githubusercontent.com/u/20221326?v=4)](https://github.com/maitreyie-chavan "maitreyie-chavan (2 commits)")[![mi5t4n](https://avatars.githubusercontent.com/u/8264719?v=4)](https://github.com/mi5t4n "mi5t4n (2 commits)")[![huubl](https://avatars.githubusercontent.com/u/50170696?v=4)](https://github.com/huubl "huubl (2 commits)")[![SH4LIN](https://avatars.githubusercontent.com/u/56588503?v=4)](https://github.com/SH4LIN "SH4LIN (2 commits)")[![dhsathiya](https://avatars.githubusercontent.com/u/26240780?v=4)](https://github.com/dhsathiya "dhsathiya (1 commits)")[![robicse11127](https://avatars.githubusercontent.com/u/9913884?v=4)](https://github.com/robicse11127 "robicse11127 (1 commits)")

---

Tags

tier-2

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rtcamp-elementary/health.svg)

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

PHPackages © 2026

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