PHPackages                             discophp/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. [Framework](/categories/framework)
4. /
5. discophp/wordpress

ActiveLibrary[Framework](/categories/framework)

discophp/wordpress
==================

Wordpress Addon for the Disco PHP Framework

1.0(12y ago)033Apache License V2PHPPHP &gt;=5.4.0

Since Jun 8Pushed 12y ago2 watchersCompare

[ Source](https://github.com/discophp/wordpress)[ Packagist](https://packagist.org/packages/discophp/wordpress)[ RSS](/packages/discophp-wordpress/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Wordpress Addon
===============

[](#wordpress-addon)

Sick of Wordpress's bloated code but love their administration panel? Your in the right place.

How to use
----------

[](#how-to-use)

First install wordpress via [their instructions](http://codex.wordpress.org/Installing_WordPress)

Then remove the index.php file from the installation directory, you can move the installation directory to any where now to hide it from public view and mask the login without affecting the frontend.

Prep your application by registering the Wordpress Facades with the Disco container:

Make the WP Facade

```
   Disco::make('WP',function(){
        return new Disco\addon\Wordpress\classes\WordPress;
   });
```

Create a Router Filter for the wordpress directory

```
    Router::filter(WP::path().'/{*}')->to('WordPress');
```

Thats it! Wordpress is set up!

### Override any of the templates used

[](#override-any-of-the-templates-used)

You can override the templates used by the Wordpress Addon by just creating a folder under your template folder called wordpress/ and naming the template you wish to override by the same name as the one used by the Addon

List of Templates

- [author-list](http://github.com/discophp/wordpress/blob/master/addon/template/wordpress/author-list.template.html)
- [breadcrumb-container](http://github.com/discophp/wordpress/blob/master/addon/template/wordpress/breadcrumb-container.template.html)
- [breadcrumb](http://github.com/discophp/wordpress/blob/master/addon/template/wordpress/breadcrumb.template.html)
- [category-container](http://github.com/discophp/wordpress/blob/master/addon/template/wordpress/category-container.template.html)
- [category-list](http://github.com/discophp/wordpress/blob/master/addon/template/wordpress/category-list.template.html)
- [category](http://github.com/discophp/wordpress/blob/master/addon/template/wordpress/category.template.html)
- [feed](http://github.com/discophp/wordpress/blob/master/addon/template/wordpress/feed.template.html)
- [pagination-container](http://github.com/discophp/wordpress/blob/master/addon/template/wordpress/pagination-container.template.html)
- [pagination-list](http://github.com/discophp/wordpress/blob/master/addon/template/wordpress/pagination-list.template.html)
- [post-list](http://github.com/discophp/wordpress/blob/master/addon/template/wordpress/post-list.template.html)
- [post](http://github.com/discophp/wordpress/blob/master/addon/template/wordpress/post.template.html)
- [tag-container](http://github.com/discophp/wordpress/blob/master/addon/template/wordpress/tag-container.template.html)
- [tag-list](http://github.com/discophp/wordpress/blob/master/addon/template/wordpress/tag-list.template.html)
- [tag](http://github.com/discophp/wordpress/blob/master/addon/template/wordpress/tag.template.html)

#### Work with strictly the Data

[](#work-with-strictly-the-data)

Using the method:

```
    $data = WP::get([option],[vars]);
```

You can receive [mysqli\_result objects](http://www.php.net//manual/en/class.mysqli-result.php) back

*\[option\]*

- index : Primary wordpress feed of articles listed by date.
- search : Search for regex matches of a search term in the database.
- list-posts : Return the most recent posts as a feed.
- post : A single post identified by the slug.
- tag : Articles sorted by date that used a particular tag.
- category : Articles sorted by date that used a particular category.
- author : Articles written by a particular author.
- recent-posts : List of recent posts.
- top-terms : Top X terms either 'category' or 'post\_tag'.
- top-authors : top X authors.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

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

Unknown

Total

1

Last Release

4407d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7576991?v=4)[Disco PHP Framework](/maintainers/discophp)[@discophp](https://github.com/discophp)

---

Top Contributors

[![discophp](https://avatars.githubusercontent.com/u/7576991?v=4)](https://github.com/discophp "discophp (1 commits)")

### Embed Badge

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

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

###  Alternatives

[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k39.6M296](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

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