PHPackages                             szepeviktor/wordpress-autoloaded - 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. szepeviktor/wordpress-autoloaded

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

szepeviktor/wordpress-autoloaded
================================

Run WordPress with Composer class autoloading.

5.2.1(7y ago)3113MITPHP &gt;=7.0

Since Feb 23Compare

[ Source](https://github.com/szepeviktor/wordpress-autoloaded)[ Packagist](https://packagist.org/packages/szepeviktor/wordpress-autoloaded)[ RSS](/packages/szepeviktor-wordpress-autoloaded/feed)WikiDiscussions Synced 2d ago

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

WordPress Autoloaded
====================

[](#wordpress-autoloaded)

A boilerplate to start a fast WordPress website without unconditional class loading using Composer autoloader.

Core is downloaded from the [official ZIP](https://wordpress.org/download/releases/)and unconditional class loading is commented out.

💡 Please also see [szepeviktor/composer-managed-wordpress](https://github.com/szepeviktor/composer-managed-wordpress)

Support my work
---------------

[](#support-my-work)

Please consider sponsoring me monthly if you use my packages in an agency.

[![Sponsor](https://github.com/szepeviktor/.github/raw/master/.github/assets/github-like-sponsor-button.svg)](https://github.com/sponsors/szepeviktor)

Usage
-----

[](#usage)

- Clone [this repository](https://github.com/szepeviktor/wordpress-autoloaded)
- Optionally use `johnpbloch/wordpress` package instead of the included official ZIP, see `composer.json` in examples/johnpbloch-wordpress/ directory
- Add plugins e.g. `composer require wpackagist-plugin/wordpress-seo`
- Add your theme
- Prefer class autoloading in theme and plugins, simply add the following to composer.json

```
    "autoload": {
        "psr-4": {
            "MyNamespace\\": "inc/"
        }
    },
    "config": {
        "classmap-authoritative": true
    }
```

Configuring WordPress
---------------------

[](#configuring-wordpress)

Add Composer autoloader to `app/wp-config.php`

```
require_once dirname(__DIR__) . '/vendor/autoload.php';
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community6

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

Total

5

Last Release

2596d ago

Major Versions

4.9.9 → 5.12019-03-03

### Community

Maintainers

![](https://www.gravatar.com/avatar/135d8104cdf926e2b15b6a06413153a9582729f0cd48ccba7bc7e62878a39781?d=identicon)[szepeviktor](/maintainers/szepeviktor)

---

Top Contributors

[![szepeviktor](https://avatars.githubusercontent.com/u/952007?v=4)](https://github.com/szepeviktor "szepeviktor (28 commits)")

### Embed Badge

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

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

###  Alternatives

[soloterm/grapheme

A PHP package to measure the width of unicode strings rendered to a terminal.

79254.2k6](/packages/soloterm-grapheme)

PHPackages © 2026

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