PHPackages                             wevrem/wcommon - 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. wevrem/wcommon

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

wevrem/wcommon
==============

Useful PHP functions and classes

v2.0.11(6y ago)0127MITPHP

Since Jul 9Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/wevre/wCommon)[ Packagist](https://packagist.org/packages/wevrem/wcommon)[ RSS](/packages/wevrem-wcommon/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (5)Versions (31)Used By (0)

wCommon
=======

[](#wcommon)

Common code for templates, forms, and page elements.

wStandard
---------

[](#wstandard)

Functions for handling errors, managing URL's, string and date manipulations, and custom HTML elements.

HTMLComposer
------------

[](#htmlcomposer)

An object for constructing HTML, keeping track of and closing elements as they are added to the pile.

Template
--------

[](#template)

Subclass of HTML\_Template\_Sigma that adds useful features.

FormBuilder
-----------

[](#formbuilder)

Class for handling the building and processing of HTML forms.

Using wCommon—A very quick guide
================================

[](#using-wcommona-very-quick-guide)

The following are very high level steps (read: bare minimum steps) to setting up a simple blog-like website that uses wCommon and dStruct.

1. Set up a server with Apache, PHP and MySQL. Using PEAR, install HTML\_Template\_Sigma.
2. Install wCommon and dStruct on your server, typically in `/usr/share/php`. Adjust PHP's `include_path` to point to this location.
3. Copy the files from the `sample` folder to some location reachable by Apache and set the DocumentRoot to the `www` folder.
4. Create a database and run the statements in `struct.sql` to create the proper dStruct tables.
5. Create a user with permissions for that database, and capture those credentials inside `inc-standard.php`.
6. After editing some internal parameters, run the script `create-user.php` to create an admin user.
7. At this point you should have a working website that displays posts. You can log in as the admin and create, edit, and delete posts and also upload images and other documents.

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance60

Regular maintenance activity

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity74

Established project with proven stability

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

Recently: every ~45 days

Total

29

Last Release

2382d ago

Major Versions

v1.1.10 → v2.0.02019-06-07

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6877948?v=4)[Mike Weaver](/maintainers/wevre)[@wevre](https://github.com/wevre)

---

Top Contributors

[![wevre](https://avatars.githubusercontent.com/u/6877948?v=4)](https://github.com/wevre "wevre (50 commits)")

### Embed Badge

![Health badge](/badges/wevrem-wcommon/health.svg)

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

###  Alternatives

[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751284.3k37](/packages/civicrm-civicrm-core)[roundcube/roundcubemail

The Roundcube Webmail suite

7.0k1.4k3](/packages/roundcube-roundcubemail)[egroupware/egroupware

EGroupware extends a classic groupware with an integrated CRM-system, a secure file-server and Collabora Online Office.

2921.6k](/packages/egroupware-egroupware)[anerg2046/helper

some helper libaray function

2314.0k2](/packages/anerg2046-helper)

PHPackages © 2026

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