PHPackages                             jefrancomix/composer-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. jefrancomix/composer-wordpress

ActiveLibrary

jefrancomix/composer-wordpress
==============================

WordPress opinionated setup with highly customized paths (bye wp-content!)

0.2(5y ago)022MITPHPPHP ^7.1

Since Jun 16Pushed 5y agoCompare

[ Source](https://github.com/tzkmx/composer-wordpress)[ Packagist](https://packagist.org/packages/jefrancomix/composer-wordpress)[ RSS](/packages/jefrancomix-composer-wordpress/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (8)Versions (3)Used By (0)

WordPress Composer Installation
===============================

[](#wordpress-composer-installation)

Base configuration for install and deploy WordPress sites using composer

The structure for your WordPress instalation will be:

```
/.env              -> edit in this file the most common config constants
/vendor            -> You shouldn't touch anything here, 3rd party libraries
/public
/public/cms        -> the WordPress installation dir (managed by composer)
/public/index.php  -> custom WordPress bootstrap file
/public/media      -> the WordPress directory to store uploads
/public/extensions -> WordPress plugins, managed by composer
/public/must       -> WordPress must-use plugins
/public/themes     -> themes directory
/app/config/environments/{development,production,...}.php extra configuration

```

It uses [WordPress Packagist](https://wpackagist.org/) in order to manage your plugins, themes and other php dependencies

How to start
------------

[](#how-to-start)

### Step1: Instalation

[](#step1-instalation)

**Requirements:**

- PHP7.1 or greater

**Create your project:**

```
composer create-project jefrancomix/composer-wordpress your_directory_name "dev-master"
```

**Set the WordPress permissions:**

```
# Configure the wp-content/uploads permissions
# https://codex.wordpress.org/Changing_File_Permissions
chmod -R 775 public/media
```

### Step2: Configuration

[](#step2-configuration)

Copy .env.example to .env and customize your parameters

#### Configure the rest of conventional wp-config parameters

[](#configure-the-rest-of-conventional-wp-config-parameters)

By default a file in `app/config/environments/development.php` is customizable, if you need to customize extra vars, you can create other files in that dir, and load its settings by changing the WP\_ENV var in your custom `.env` file.

#### Using Apache and permalinks are not working?

[](#using-apache-and-permalinks-are-not-working)

If the rewrite rules does not seem to work, maybe Rewrite module is not enabled, you could debug this adding this line to Apache configuration:

```
# /etc/apache/apache2.conf in debian/ubuntu systems
LogLevel alert rewrite:trace6

```

Then restart Apache service, if the log file shows:

```
Cannot find module rewrite

```

You must enable it in order to get permalinks working:

```
# a2enmod rewrite
# service apache2 restart

```

This is not specific to this structure, is valid for any WordPress installation running on Apache2.

### Credits

[](#credits)

Inspired by [simmetric/wordpress-composer-installation](https://github.com/simettric/wordpress-composer-installation)and [bedrock/roots](https://github.com/roots/bedrock) with some magic of composer installer script (mostly rewrite and copy files)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 53.8% 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

Unknown

Total

1

Last Release

2154d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2f01afc6e15ca1ba483cc1773c5f5d1b6c5f5fa98e0fe224ae8410048eb84041?d=identicon)[jefrancomix](/maintainers/jefrancomix)

---

Top Contributors

[![tzkmx](https://avatars.githubusercontent.com/u/11432557?v=4)](https://github.com/tzkmx "tzkmx (14 commits)")[![asiermarques](https://avatars.githubusercontent.com/u/149459?v=4)](https://github.com/asiermarques "asiermarques (8 commits)")[![tezcatl](https://avatars.githubusercontent.com/u/188753?v=4)](https://github.com/tezcatl "tezcatl (4 commits)")

### Embed Badge

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

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

###  Alternatives

[roots/bedrock

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

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

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[october/rain

October Rain Library

1601.7M63](/packages/october-rain)[vinkla/wordplate

The WordPlate boilerplate

2.2k5.1k](/packages/vinkla-wordplate)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

44643.1k1](/packages/pressbooks-pressbooks)

PHPackages © 2026

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