PHPackages                             rafadiot/vayne - 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. rafadiot/vayne

ActiveProject

rafadiot/vayne
==============

Vayne is a folder structure for Wordpress implement Bedrock.

1.0.3(6y ago)04MITPHPPHP &gt;=7.1

Since Apr 23Pushed 6y ago1 watchersCompare

[ Source](https://github.com/rafadiot/vayne)[ Packagist](https://packagist.org/packages/rafadiot/vayne)[ RSS](/packages/rafadiot-vayne/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (9)Versions (6)Used By (0)

Vayne
=====

[](#vayne)

Vayne is a folder structure for Wordpress implement [Bedrock](https://github.com/roots/bedrock/).

Features
--------

[](#features)

- Better folder structure
- Dependency management with [Composer](https://getcomposer.org)
- Easy WordPress configuration with environment specific files
- Environment variables with [Dotenv](https://github.com/vlucas/phpdotenv)
- Autoloader for mu-plugins (use regular plugins as mu-plugins)
- Enhanced security (separated web root and secure passwords with [wp-password-bcrypt](https://github.com/roots/wp-password-bcrypt))

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

[](#requirements)

- PHP &gt;= 7.1
- Composer - [Install](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx)

Installation
------------

[](#installation)

1. Create a new project

```
$ composer create-project rafadiot/vayne
```

2. Update environment variables in `.env` file:

- `DB_NAME` - Database name
    - `DB_USER` - Database user
    - `DB_PASSWORD` - Database password
    - `DB_HOST` - Database host
    - Optionally, you can define DATABASE\_URL for using a DSN instead of using the variables above (e.g. `mysql://user:password@127.0.0.1:3306/db_name`)
- `WP_ENV` - Set to environment (`development`, `staging`, `production`)
- `WP_HOME` - Full URL to WordPress home ()
- `WP_SITEURL` - Full URL to WordPress including subdirectory ([https://example.com/back\_office](https://example.com/back_office))
- `AUTH_KEY`, `SECURE_AUTH_KEY`, `LOGGED_IN_KEY`, `NONCE_KEY`, `AUTH_SALT`, `SECURE_AUTH_SALT`, `LOGGED_IN_SALT`, `NONCE_SALT`

If you want to automatically generate the security keys (assuming you have wp-cli installed locally) you can use the very handy [wp-cli-dotenv-command](https://github.com/aaemnnosttv/wp-cli-dotenv-command):

```
  wp package install aaemnnosttv/wp-cli-dotenv-command

  wp dotenv salts regenerate

```

Or, you can cut and paste from the [Roots WordPress Salt Generator](https://roots.io/salts.html).

3. Add theme(s) in `public/app/themes` as you would for a normal WordPress site. You can use [Rafadiot theme](https://github.com/minhtuanchannhan/rafadiot).
4. Set your site vhost document root to `/path/to/site/public/` (`/path/to/site/current/public/` if using deploys)
5. Access WP admin at `https://example.com/back_office/wp-admin`

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Total

4

Last Release

2202d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/589cdb1fa02fea34cc7b05843dd774a37ba64fb4dae85c381f2273d89a54f61c?d=identicon)[minhtuanchannhan](/maintainers/minhtuanchannhan)

---

Top Contributors

[![minhtuanchannhan](https://avatars.githubusercontent.com/u/8347148?v=4)](https://github.com/minhtuanchannhan "minhtuanchannhan (10 commits)")

---

Tags

bedrockrafadiotvaynewordpress-structurebedrockrafadiotvaynewordpress folder structure

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/rafadiot-vayne/health.svg)

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

###  Alternatives

[roots/bedrock

WordPress boilerplate with Composer, easier configuration, and an improved folder structure

6.5k441.8k2](/packages/roots-bedrock)

PHPackages © 2026

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