PHPackages                             zippovich2/wordpress - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. zippovich2/wordpress

ActiveProject[Utility &amp; Helpers](/categories/utility)

zippovich2/wordpress
====================

Developing Wordpress app in modern way using composer.

v1.3.0(5y ago)120MITPHPPHP ^7.3

Since Dec 30Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Zippovich2/wordpress)[ Packagist](https://packagist.org/packages/zippovich2/wordpress)[ RSS](/packages/zippovich2-wordpress/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (8)Dependencies (12)Versions (13)Used By (0)

Wordpress Wrapper
-----------------

[](#wordpress-wrapper)

Developing Wordpress app in modern way using composer.

[![Build Status](https://camo.githubusercontent.com/ab1c428403b8941d07ebe0f07d47d6eb61cfafaaf5c181524a79b379a356ddbe/68747470733a2f2f7472617669732d63692e6f72672f5a6970706f76696368322f776f726470726573732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Zippovich2/wordpress)[![Packagist](https://camo.githubusercontent.com/7cd97ea7750f83c46a26eef693118bb51abceeddbf419d40e51bb802708adf92/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7a6970706f76696368322f776f726470726573732e737667)](https://packagist.org/packages/zippovich2/wordpress)

Features
--------

[](#features)

- Better folder structure.
- Dependency management with [Composer](https://getcomposer.org).
- Easy WordPress configuration with environment specific files.
- Environment variables with [Symfony Dotenv](https://symfony.com/doc/current/components/dotenv.html).
- Filters and actions configuration in .yaml files.

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

[](#requirements)

- Docker

or

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

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

[](#installation)

1. Create a new project:

    ```
    $ composer create-project zippovich2/wordpress project-name

    ```
2. Update variables in the `.env` files and constants in the`.const` files (you can use `.env`, `.env.local`, `.env.dev`, `.env.dev.local` and `.const`, `.const.local`, `.const.dev`, `.const.dev.local` files depends on your `APP_ENV`):

    - `APP_ENV` - set to environment (`dev`, `prod` or `test`).
    - `DB_TABLE_PREFIX` - use this environment variable to change database table prefix, default is `wp_`.
    - Database constants:
        - `DB_NAME` - database name.
        - `DB_USER` - database user.
        - `DB_PASSWORD` - database password.
        - `DB_HOST` - database host.
    - `WP_HOME` - full URL to WordPress home ().
    - `WP_SITEURL` - full URL to WordPress including subdirectory ().
    - Wordpress salts will be generated after the project is created (if you used `composer create-project`), but you can regenerate them:
        - `composer salts`
        - `make salts`
        - `wp dotenv salts regenerate --file=.env`
        - or generate with [roots WordPress salts generator](https://roots.io/salts.html)
3. Add a theme(s) in `public/app/themes/` as you would for a normal WordPress site
4. Set the document root on your webserver to `public` folder: `/path/to/site/public/`
5. Access WordPress admin at `https://example.com/wp/wp-admin/`
6. For enabling WordPress Config - add to begin of `functions.php`:

    ```
    use WordpressWrapper\Config\Config;

    $config = new Config($_ENV['PROJECT_ROOT'] . '/config');
    $config->load();
    ```

If you are using Docker - you can skip 3, 4 and 5, just run `make up` or `docker-compose up` then you can access you site by uri `http://localhost:8080`.

Folder structure
----------------

[](#folder-structure)

```
your-project/
├─ .docker/
├─ config/
|  └─ ...
├─ public/
|  ├─ app/
|  ├─ wp/
|  ├─ index.php
|  └─ wp-config.php
├─ src/
|  └─ ...
├─ var/
├─ tests/
└─ vendor/

```

- `.docker/` - contain files which are used to build docker environment, you can delete this folder if run app without Docker.
- `config/` - contain .yaml config files, at this moment [WordPress Wrapper Config](https://github.com/Zippovich2/wordpress-config) support:
    - `filters.yaml`
    - `actions.yaml`
- `public/` - this is root folder, contain:
    - `app/` - same as default `wp-content` WordPress folder.
    - `wp/` - contain WordPress core, you should not edit files from this directory.
    - `index.php` - WordPress core loads here.
    - `wp-config.php` - here `.env*` and `.const*` files are load.
- `tests/` - app tests.
- `var/` - contain docker data(if you use Docker) and logs.
- `vendor/` - composer dependencies.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Recently: every ~66 days

Total

10

Last Release

2025d ago

PHP version history (3 changes)v1.0.0PHP ^7.1.3

v1.1.0PHP ^7.2.5

1.2.x-devPHP ^7.3

### Community

Maintainers

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

---

Top Contributors

[![Zippovich2](https://avatars.githubusercontent.com/u/26221873?v=4)](https://github.com/Zippovich2 "Zippovich2 (43 commits)")

---

Tags

composerwordpressdevelopmentappmodern

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/zippovich2-wordpress/health.svg)

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

###  Alternatives

[roots/bedrock

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

6.5k441.8k2](/packages/roots-bedrock)[justcoded/wordpress-theme-boilerplate

WordPress theme boilerplate with better code structure and OOP support.

563.9k1](/packages/justcoded-wordpress-theme-boilerplate)[wordpress/skeleton

Composer based WordPress project skeleton.

461.7k](/packages/wordpress-skeleton)

PHPackages © 2026

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