PHPackages                             smichaelsen/phpframework - 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. smichaelsen/phpframework

ActiveLibrary[Framework](/categories/framework)

smichaelsen/phpframework
========================

A lightweight but powerful PHP framework

1.4.1(11y ago)4611[21 issues](https://github.com/app-zap/PHPFramework/issues)BSD-2-ClausePHPPHP &gt;=5.4.0

Since Mar 13Pushed 9y ago2 watchersCompare

[ Source](https://github.com/app-zap/PHPFramework)[ Packagist](https://packagist.org/packages/smichaelsen/phpframework)[ RSS](/packages/smichaelsen-phpframework/feed)WikiDiscussions develop Synced 3w ago

READMEChangelog (3)Dependencies (4)Versions (23)Used By (0)

PHPFramework fork
=================

[](#phpframework-fork)

This framework is a fork of [Luzifer's PHPFramework](https://github.com/Luzifer/PHPFramework/).
Since the fork wide parts of the system were rewritten or heavily modified. Here's a (not neccessarily complete) overview of the difference to the original PHPFramework:

- PHP namespaces for [PSR-4](http://www.php-fig.org/psr/psr-4/) autoloading (the former autoloader has been removed)
- Built as [composer](https://getcomposer.org/) package.
- New static classes to access the configuration and database connection everywhere
- Cache built upon [Nette Caching](https://github.com/nette/caching)
- Support for Domain Driven Design, including Domain Model Objects, Repositories, Collections and an [ORM](https://en.wikipedia.org/wiki/Object-relational_mapping) mechanism.

The fork is not compatible to the original framework and not compatible to its own previous versions. After the next major release (2.0) we'll switch to a more backwards compatible development.

Requirements
============

[](#requirements)

Successfully tested with

- Debian / Ubuntu Linux
- PHP from 5.4.0 up to 5.6.2
- Apache or nginx
- MySQL 5.6

Setup
=====

[](#setup)

The PHPFramework is designed to work with [composer](https://getcomposer.org/).

Your project `composer.json` file might look like this:

```
{
  "name": "vendor/myproject",
  "require": {
    "app-zap/phpframework": "dev-develop"
  },
  "autoload": {
    "psr-4": {
      "Vendor\\MyProject\\": "app/Classes/"
    }
  }
}

```

1. Set up your project with `$ composer update`
2. create an `app` sub directory for your application
3. Copy the `index.php.example` from the PHPFramework folder (should be `vendor/app-zap/phpframework`) to your root level as `index.php`.

Inside your `app` directory use this structure:

- `Classes/` - Starting point for your [PSR-4](http://www.php-fig.org/psr/psr-4/) autoloadable classes
- `templates/` - Your [twig](http://twig.sensiolabs.org/) templates
- `routes.php` - Returns an array with regular expression routes mapping to controller class names

Start with the following `.gitignore` file:

```
vendor/
settings_local.ini

```

[![Build Status](https://camo.githubusercontent.com/edb26cd0cf06ee23e7d93ad5d05304dd0a86b5910edb334134864dc9d4ef8eb3/68747470733a2f2f7472617669732d63692e6f72672f6170702d7a61702f5048504672616d65776f726b2e7376673f6272616e63683d646576656c6f70)](https://travis-ci.org/app-zap/PHPFramework)[![SensioLabsInsight](https://camo.githubusercontent.com/83b58e4d86646ce8d2dd870a59714ceca231e3682b9aedf0e80c7fa7cbf1cb81/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f63633363363465642d666364332d346265392d386636632d6261376164306164616431312f736d616c6c2e706e67)](https://insight.sensiolabs.com/projects/cc3c64ed-fcd3-4be9-8f6c-ba7ad0adad11)

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 84.7% 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 ~38 days

Total

10

Last Release

4146d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/886face3e57e668db2bf95d62325f423baf7e9d8949a9e4c84d3a0e6c3891920?d=identicon)[smichaelsen](/maintainers/smichaelsen)

---

Top Contributors

[![Luzifer](https://avatars.githubusercontent.com/u/20142?v=4)](https://github.com/Luzifer "Luzifer (221 commits)")[![smichaelsen](https://avatars.githubusercontent.com/u/912435?v=4)](https://github.com/smichaelsen "smichaelsen (38 commits)")[![mthie](https://avatars.githubusercontent.com/u/167062?v=4)](https://github.com/mthie "mthie (2 commits)")

### Embed Badge

![Health badge](/badges/smichaelsen-phpframework/health.svg)

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

###  Alternatives

[symfony/symfony

The Symfony PHP framework

31.4k87.2M2.2k](/packages/symfony-symfony)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M560](/packages/shopware-core)

PHPackages © 2026

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