PHPackages                             sumedia-wordpress/base - 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. sumedia-wordpress/base

ActiveWordpress-plugin[Utility &amp; Helpers](/categories/utility)

sumedia-wordpress/base
======================

Base components needed by Sumedia Plugins

0.2.2(6y ago)0372GPL-3.0-or-laterPHP

Since Dec 8Pushed 6y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (6)Used By (2)

Base for my Wordpress plugins
=============================

[](#base-for-my-wordpress-plugins)

This WordPress Plugin will provide basic functionality which will be used in any kind of my plugins. So i've not to write it multiple times again.

What is the intention?
----------------------

[](#what-is-the-intention)

As I want to start programming WordPress Plugins and themes and decided not to spam the whole menu with small and big plugins, this plugin will provide a overview over installed plugins under one menu point - found in the plugins section.

I will support some basic classes which are used in my whole projects.

What are the components, and what are there intention?
------------------------------------------------------

[](#what-are-the-components-and-what-are-there-intention)

The first thing that has made me thought of programming WordPress is that there is no namespace for variables and functions. Even if I define a simple variable in the plugin main script it will be present in the whole program. That's why I start my plugins generally in a function this should, if it not needed another way, the only function that will be stored by my plugins on the global scope.

So I decided, and because I'm familiar with it, to program OOP. All data and functions will be encapsulated for this one class.

I think, this could be comprehensibly.

The next Problem on this way is ... autoloading.

### Autoloader

[](#autoloader)

My autoloader allows me to load my classes. Each plugin can register it's path to classes with it's plugin name and the autloader will find the file automatically - there for the file- and classname has to follow an specific rule.

### Registry

[](#registry)

I don't know if I need it really, but I like it's simple concept on encapsulate data and objects. It's much easier to deal with this class as with the global scope variables.

### View

[](#view)

I want to manage some rendering stuff on the view site. I will provide some view scripts beside the views template. Combine them and tell WordPress how to render it.

### Event Class

[](#event-class)

I'm wondering, maybe because of backward compatibility issues, the WordPress Hooks does not support closures. Supported since 5.3.0. My first implementation has been made of an Event Manager, but this does not suite to the system in total. I make the decision to break it down to the point, supporting closures with an normal class callable as a simple event. No functions flying around within the global space.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 94.4% 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 ~1 days

Total

5

Last Release

2346d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/58632585?v=4)[Sven Ullmann](/maintainers/sumedia-wordpress)[@sumedia-wordpress](https://github.com/sumedia-wordpress)

---

Top Contributors

[![sumedia](https://avatars.githubusercontent.com/u/38142829?v=4)](https://github.com/sumedia "sumedia (17 commits)")[![sumedia-wordpress](https://avatars.githubusercontent.com/u/58632585?v=4)](https://github.com/sumedia-wordpress "sumedia-wordpress (1 commits)")

### Embed Badge

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

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

###  Alternatives

[ashallendesign/redactable-models

A Laravel package for easily redacting model data.

1143.4k](/packages/ashallendesign-redactable-models)[byrokrat/banking

Data types for accounts in the swedish banking system

1395.6k6](/packages/byrokrat-banking)[machy8/webloader

Simple, easy to use, php bundler for javascript and css

1934.2k3](/packages/machy8-webloader)[tobimori/kirby-tailwind-merge

Tailwind Merge for Kirby CMS

276.3k](/packages/tobimori-kirby-tailwind-merge)[imarc/craft-sass

A Craft plugin that compiles SASS on the server as needed.

145.8k](/packages/imarc-craft-sass)

PHPackages © 2026

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