PHPackages                             lin3s/wordpress-standard - 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. lin3s/wordpress-standard

ActiveProject

lin3s/wordpress-standard
========================

The "Wordpress Standard Edition" distribution in the LIN3S way

v1.5.1(9y ago)5114MITPHPPHP ^5.5 || ^7.0

Since Jul 27Pushed 7y ago1 watchersCompare

[ Source](https://github.com/LIN3S/WordpressStandard)[ Packagist](https://packagist.org/packages/lin3s/wordpress-standard)[ RSS](/packages/lin3s-wordpress-standard/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (14)Versions (36)Used By (0)

WordPress Standard Edition
==========================

[](#wordpress-standard-edition)

> The "WordPress Standard Edition" distribution in the LIN3S way.

[![SensioLabsInsight](https://camo.githubusercontent.com/b4982748171b9b90b9df6edd3b77c35c5009b212ce2ced45c07ffc45c7837cb4/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f62343362306265312d643262352d343461312d386434622d6135353638343831323961352f6d696e692e706e67)](https://insight.sensiolabs.com/projects/b43b0be1-d2b5-44a1-8d4b-a556848129a5)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/e3281ed0bd76ec3de504a2804588b4bf172dcafb88b62efce5337a67f89e81b4/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4c494e33532f576f726470726573735374616e646172642f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/LIN3S/WordpressStandard/?branch=master)[![Total Downloads](https://camo.githubusercontent.com/5b440c6636b23ed2430145b1b691c9e8787561b3c0b28ed1dd5d01ab3c21e1b8/68747470733a2f2f706f7365722e707567782e6f72672f6c696e33732f776f726470726573732d7374616e646172642f646f776e6c6f616473)](https://packagist.org/packages/lin3s/wordpress-standard) [![Latest Stable Version](https://camo.githubusercontent.com/e7bc53bdd79a16e47d795d220ef55229f31986d399d038df3a511a8e5a7b2420/68747470733a2f2f706f7365722e707567782e6f72672f6c696e33732f776f726470726573732d7374616e646172642f762f737461626c652e737667)](https://packagist.org/packages/lin3s/wordpress-standard)[![Latest Unstable Version](https://camo.githubusercontent.com/1d3705c2b3bc2af4ff6169dc4f9585d9360752646b23083af6270cd7c9815f0c/68747470733a2f2f706f7365722e707567782e6f72672f6c696e33732f776f726470726573732d7374616e646172642f762f756e737461626c652e737667)](https://packagist.org/packages/lin3s/wordpress-standard)

Why?
----

[](#why)

[**WordPress**](https://wordpress.org/) is the most important CMS around the world, but its PHP code is dark and unmaintainable. In [*LIN3S*](http://lin3s.com) we implement this solution providing some useful features that the standard edition of WordPress doesn't come with:

1. [Composer](https://getcomposer.org/)
2. [PHP namespaces](http://php.net/manual/en/language.namespaces.php)
3. [Capistrano](http://capistranorb.com/) deploy
4. [WPFoundation](https://github.com/LIN3S/WPFoundation) made by LIN3S
5. [Coding standards library](https://github.com/LIN3S/CS) made by LIN3S

Prerequisites
-------------

[](#prerequisites)

The above sounds great so, now, to start developing WordPress project based on this repo, you need the the following requirements:

1. [PHP](http://php.net) 7.1 or higher
2. [MySQL](http://dev.mysql.com/downloads/)
3. Composer: `curl -sS https://getcomposer.org/installer | php`
4. [Ruby](https://www.ruby-lang.org/en/downloads/): `gem install bundler && bundle`

Getting Started
---------------

[](#getting-started)

After installing all the prerequisites, to create a WordPress project based on this *Wordpress Standard* you should check the following steps.

Firstly, you need to **create the project**:

```
$ composer create-project lin3s/wordpress-standard  && cd

```

> You should remove the header licenses and `LICENSE` itself, because we are not going to be the authors of your awesome project :).

Create the `wp-config-custom.php` copying the `wp-config-custom-sample.php` and customizing with your values.

**Configure the web server** to serve this project. With PHP 5.4 or higher you don't need to configure the web server for this project, because you can use the "**built-in-server**":

```
$ php -S 127.0.0.1:8000 router.php

```

Use an [Apache](http://httpd.apache.org/), Nginx or other web server of your choice for production environments. If you choose Apache, remember that you should create the `.htaccess` copying the base `.htaccess.dist` file.

Considerations
--------------

[](#considerations)

If all goes well you should have your project on top of WordPress Standard running like a charm. However, there are few tips that you should read.

- **Activate all yours plugins before all**: it's a common mistake.
- Usually, the features WordPress has by default are not enough so new PostTypes, Widgets, ShortCodes, ImageSizes... have to be created. In case you need those changes to the codebase you should go to the `core` folder. There, you will find some examples on how to extend many different WordPress features. In case there is no class for what you need, just create a new class or a new folder (if there are multiple classes related to that feature as in post types) with your code.

Deployment
----------

[](#deployment)

To automate deployment process this project is using **Capistrano**. All related configuration is inside located inside the `deploy` directory. You can customize deployment tasks simply, modifying the `deploy/deploy.rb` file.

You should update the *wordpress-standard* application name for your awesome project name and the repo url with your project git url.

Inside `deploy/stages` directory there two files that can be considered as pre-production stage and production stage. There is no logic, these files only contain few parameters that you should customize for your proper deployment.

After all, and following the Capistrano \[documentation\]\[11\] to configure the server, you can deploy executing:

```
$ cap  deploy    #  can be dev1, prod or whatever file inside stages directory

```

> In the Capistrano shared directory you should create the `uploads` folder, the `.htaccess` file (if you are using Apache), the `robots.txt` and the `wp-config-custom.php` files.

### Downloading database dump

[](#downloading-database-dump)

To download the file just run `cap dev1 database:download`. A sql file will be downloaded to your local environment

### Replacing uploads with remote ones

[](#replacing-uploads-with-remote-ones)

To steps are required to get all the uploads located in the remote environment, download and extract.

`cap dev1 uploads:download` will download a .tar.gz file to the root of your local environment and `cap dev1 uploads:extract` will extract the downloaded file into `src/uploads` folder, replacing all the existing uploads.

### Ensuring remote files and folders

[](#ensuring-remote-files-and-folders)

The first time you deploy the project, all linked files must be created in order to be symlinked. In order to autocreate folders and uploads your local files to the remote server (very handy when using W3 Total Cache), just run:

`cap dev1 server:ensure`

After this, just deploy without any problem.

### Clearing remote caches

[](#clearing-remote-caches)

When working with PHP7 &amp; Opcache, for example, you won't see all changes after deploying. Caches need to be flushed with the correct website domain. If you need this feature, just open the `deploy.rb` file and remove the commented line:

```
after :finishing, 'cache:clear'

```

You also need to configure the website domain in each stage file. If the website is password protected, the `curl`command must use the `-u user:password` given in the `dev1.rb` example file.

Licensing Options
-----------------

[](#licensing-options)

[![License](https://camo.githubusercontent.com/f98472ef86c629d34429a82297099f51ee1c2968b30356383f6c9d8f48038de5/68747470733a2f2f706f7365722e707567782e6f72672f6c696e33732f776f726470726573732d7374616e646172642f6c6963656e73652e737667)](https://github.com/LIN3S/WordpressStandard/blob/master/LICENSE)

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 71.9% 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 ~19 days

Recently: every ~89 days

Total

33

Last Release

3337d ago

PHP version history (4 changes)v1.0.0PHP &gt;=5.4

v1.1.5PHP &gt;=5.5.9

v1.3.0PHP ^5.5|^7.0

v1.4.0PHP ^5.5 || ^7.0

### Community

Maintainers

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

---

Top Contributors

[![benatespina](https://avatars.githubusercontent.com/u/3951376?v=4)](https://github.com/benatespina "benatespina (133 commits)")[![gorkalaucirica](https://avatars.githubusercontent.com/u/1749891?v=4)](https://github.com/gorkalaucirica "gorkalaucirica (24 commits)")[![jontorrado](https://avatars.githubusercontent.com/u/6916591?v=4)](https://github.com/jontorrado "jontorrado (21 commits)")[![Surch94](https://avatars.githubusercontent.com/u/35452797?v=4)](https://github.com/Surch94 "Surch94 (7 commits)")

---

Tags

cmsheadless-cmslin3sphpwordpresswordpressstandardlin3s

### Embed Badge

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

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

###  Alternatives

[mindkomm/timmy

Advanced image manipulation for Timber.

17735.6k](/packages/mindkomm-timmy)[ronilaukkarinen/dudestack

A modern WordPress stack

1131.2k](/packages/ronilaukkarinen-dudestack)

PHPackages © 2026

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