PHPackages                             nthc/cfx - 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. nthc/cfx

AbandonedArchivedLibrary

nthc/cfx
========

WYF Half Baked App

51.1k2PHP

Since Oct 29Pushed 6y ago6 watchersCompare

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

READMEChangelogDependenciesVersions (7)Used By (0)

The wyf framework
=================

[](#the-wyf-framework)

The wyf framework is a framework that has been put together over the past couple of years. It's really old and "cranky" .... but you'll definately find a time where it would be soooo useful to you. Its not a one size fits all kind of framework. No! its main aim is to help build those database driven apps where you have views,lots of complex forms and reports. In actual sence its a partially built application and all you do is to code your modules in.

Basic Architecture
------------------

[](#basic-architecture)

The WYF Application Framework is somehow Object Oriented and it exhibits some model-view-controller (MVC) characteristics. The framework provides API's which aid in:

- Database interfacing and abstraction. (Although it only supports pgsql for now :(. So why call it abstraction?)
- Object Relational Mapping of Database Tables
- Form generation and validation.
- Views or lists generation and manipulation.
- Report Generation
- Testing through the PHPUnit test automation framework.
- User Access control and authentication.
- Logging and audit trails

Some limitations
----------------

[](#some-limitations)

The following things have been the pain of many developers who have worked with this framework:

- It only works with postgresql (for now)
- It hurts to theme your application (you can however mess with the css that ships with the framework)
- You may have to write classes with long names like SystemSetupUsersRolesController ... smh
- Hasn't been fully tested on Microsoft Windows.

Third Party Software
--------------------

[](#third-party-software)

The WYF framework utilizes other third party libraries to help it work. These software include:

- The smarty Template Engine which is used for rendering the templates.
- The FPDF PDF generation library which is used for generating the PDF documents. (soon to be replaced by TCPDF)
- The Pear Spreadsheet Package which is used for generating the Microsoft Excel documents.
- The PHPUnit framework which is used for unit testing the applications built with the framework. (this is in fact a work in progress)

Getting Started
===============

[](#getting-started)

To setup the wyf framework you have to do the following:

1. Checkout the code from here into a directory called `lib`. This directory should be in the document root of your application.
2. From your document root execute `php lib/setup/setup.php`
3. Follow the steps and you should have a working dummy application before you know it. Remember you must have an empty postgres database read

So to sum these up in commands (assuming your document root is /var/www ):

```
$ cd /var/www
$ mkdir wyftest
$ cd wyftest
$ git clone git://github.com/ekowabaka/wyf.git lib
$ php lib/setup/setup.php

```

After that you can point your browser to `http://localhost/wyftest` and if your system is behaving "normally" you should see a pretty login page.

###  Health Score

28

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93.8% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/5f1786d9e3b51cbf4cb91ad00a4d4e02cd284f5485c850d34dca9debcd893390?d=identicon)[ekowabaka](/maintainers/ekowabaka)

---

Top Contributors

[![ekowabaka](https://avatars.githubusercontent.com/u/142054?v=4)](https://github.com/ekowabaka "ekowabaka (360 commits)")[![9naquame](https://avatars.githubusercontent.com/u/849392?v=4)](https://github.com/9naquame "9naquame (10 commits)")[![laurabel-amorin](https://avatars.githubusercontent.com/u/8640301?v=4)](https://github.com/laurabel-amorin "laurabel-amorin (10 commits)")[![delakanda](https://avatars.githubusercontent.com/u/4548951?v=4)](https://github.com/delakanda "delakanda (2 commits)")[![edemsegbedzi](https://avatars.githubusercontent.com/u/13105020?v=4)](https://github.com/edemsegbedzi "edemsegbedzi (1 commits)")[![Segbedzi](https://avatars.githubusercontent.com/u/160603805?v=4)](https://github.com/Segbedzi "Segbedzi (1 commits)")

### Embed Badge

![Health badge](/badges/nthc-cfx/health.svg)

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

PHPackages © 2026

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