PHPackages                             bztsrc/phppe3 - 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. bztsrc/phppe3

ActiveProject[Framework](/categories/framework)

bztsrc/phppe3
=============

Meta package for PHP Portal Engine. Minimalistic, scalable and secure PHP framework and CMS with tons of features, ideal on a Raspberry Pi.

3.0.0(8y ago)145LGPL-3.0-or-laterPHPPHP &gt;=7.0

Since Feb 27Pushed 8y ago1 watchersCompare

[ Source](https://github.com/bztsrc/phppe3)[ Packagist](https://packagist.org/packages/bztsrc/phppe3)[ Docs](https://bztsrc.github.io/phppe3/)[ RSS](/packages/bztsrc-phppe3/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

PHP Portal Engine - single file framework
=========================================

[](#php-portal-engine---single-file-framework)

[![Latest Stable Version](https://camo.githubusercontent.com/16c5b584cf65fb33d6988030599735be5cef5f55dde9ca605833eb421999c83c/687474703a2f2f627a747372632e6769746875622e696f2f7068707065332f737461626c652e737667)](https://packagist.org/packages/bztsrc/phppe3)[![PHP Version](https://camo.githubusercontent.com/4f2e355b4e160a59bfec85d020114366d65920af2d2af1e44f3ecea8b89ab469/687474703a2f2f627a747372632e6769746875622e696f2f7068707065332f7068702e737667)](https://packagist.org/packages/bztsrc/phppe3)[![License](https://camo.githubusercontent.com/6797949801009c9f876ca5fb5c597c8f10c2e60e9ccb649826edec59eb5e1014/687474703a2f2f627a747372632e6769746875622e696f2f7068707065332f6c6963656e73652e737667)](https://github.com/bztsrc/phppe3/blob/master/LICENSE)[![Code Coverage](https://camo.githubusercontent.com/8c23e3c63953a0ea61980214714ef74237f24d785e3219c3d6ac554cdde991f4/687474703a2f2f627a747372632e6769746875622e696f2f7068707065332f636f7665726167652e737667)](http://bztsrc.github.io/phppe3/coverage)

[PHPPE](https://bztsrc.github.io/phppe3/) is a minimalistic, yet feature-full micro-framework and CMS. The framework's core is a single file and only a few kilobytes in size, so small, that it fits on your clipboard! Unlike other existing OpenSource PHP frameworks, PHPPE was written with [security](https://bztsrc.github.io/phppe3/#security), [MVC](https://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller), [KISS principle](http://en.wikipedia.org/wiki/KISS_principle) and no dependency at all in mind. As being a micro-framework, it won't solve all of your web-development oriented tasks, but will definitely solve the most common ones and make your life easier. It's not bloated, and with simplicity cames stability and high performance.

Features
--------

[](#features)

This ~90k bytes of PHP code will give you:

- [Single file deployment](https://bztsrc.github.io/phppe3/#install).
- Stand alone environment, optional dependencies only.
- [PHP Composer](https://getcomposer.org/) compatibilty
- [PHPUnit](https://phpunit.de) compatibility with [100% code coverage](http://bztsrc.github.io/phppe3/coverage)
- [Bootstrap](https://getbootstrap.com/) compatibilty
- [Can be used](https://bztsrc.github.io/phppe3/#usage) as CGI (Apache and nginx), from CLI and also as a library just out-of-the-box
- Clean and well documented API, searchable [library reference](https://bztsrc.github.io/phppe3/#phppe_core) with examples
- Scalable [cluster architecture](https://bztsrc.github.io/phppe3/#cluster) to face huge loads
- Very low footprint, ideal on small computers such as [Raspberry Pi](https://www.raspberrypi.org/)
- Highly modular, easy to expand [structure](https://bztsrc.github.io/phppe3/#directory) with [Class autoloader](https://bztsrc.github.io/phppe3/#phppe_classmap)
- Self consistency check and diagnostics (even fix!)
- [Environment auto-detection](https://bztsrc.github.io/phppe3/#phppe_client) (like base url, browser's language, timezone and screen size)
- Clever, regular expression capable and filterable, class::method [routing](https://bztsrc.github.io/phppe3/#routing) mechanism
- PDO driven database layer with transparent on demand scheme installation
- Convient and easy to use [ORM model](https://bztsrc.github.io/phppe3/#models) interface
- Fast and safe [templater](https://bztsrc.github.io/phppe3/#views) system for views
- [Powerful caching](https://bztsrc.github.io/phppe3/#cache) with integrated [memcached](http://memcached.org/), APC/APCu and compressed file support
- Automatic form data validation and security checks
- Access control lists
- Audit logging to files or syslog
- [Monitoring support](https://bztsrc.github.io/phppe3/#monitoring) (nagios can get performance and status info easily from it's output)
- Thumbnail generation and image manipulation support (with libGD)
- BiDi multilanguage support
- Built-in [Content Server](https://bztsrc.github.io/phppe3/#contents) for CMS support
- Uses View layer to detect Models (flexibility you've never seen)
- [Benchmarking](https://bztsrc.github.io/phppe3/#benchmark) capability

Of course one single file is limited, so here's the [PHPPE Pack](http://bztsrc.github.io/phppe3/phppe3_core.tgz) (~96KiB) to save the day and give you an easy start with configuration registry, email services, user management, SQL Query Builder etc.

For full CMS capability you'll also need the Content Editor in [PHPPE CMS](http://bztsrc.github.io/phppe3/phppe3_cms.tgz) (46KiB), because PHPPE Core on it's own only serves contents.

Requirements
------------

[](#requirements)

- At least PHP 7.0
- SSH terminal access (use ssh or PuTTY)
- Apache or nginx with php-fpm on server side
- Any HTML5 compatible browser on client side
- No more than 768KiB free space if you install all extensions

Installation with Packagist
---------------------------

[](#installation-with-packagist)

1. Create a new project that ships production version of the PHPPE framework with

    ```
    $ composer create-project "bztsrc/phppe3"
    $ mv phppe3 myProject
    ```

Installation without Packagist
------------------------------

[](#installation-without-packagist)

There are many ways to install PHPPE if you don't want Packagist. You can use git, Composer alone, or use curl/wget. For detailed instructions and alternatives see [documentation](http://bztsrc.github.io/phppe3/#install).

1. Create a webserver's document root in your project root

    ```
    $ mkdir public
    ```
2. Download the framework Core

    ```
    $ curl https://raw.githubusercontent.com/bztsrc/phppe3/master/public/index.php >public/index.php
    ```
3. Run diagnostics mode to extract directory structure, including vendor/phppe/Core (note that root privilege is only required for chown and chgrp calls)

    ```
    $ sudo php public/index.php --diag
    ```
4. If you want the full functionality in vendor/phppe/Core, also install PHPPE Pack with

    ```
    $ composer update
    ```

    or without Composer

    ```
    $ curl https://bztsrc.github.io/phppe3/phppe3_core.tgz | tar -xz -C vendor/phppe/Core && sudo php public/index.php --diag
    ```

Content Management
------------------

[](#content-management)

The Core serves as content provider and can't modify contents on it's own. For that, install the Content Editor extension with

```
$ composer require "phppe/CMS"

```

or

```
$ curl https://bztsrc.github.io/phppe3/phppe3_cms.tgz | tar -xz -C vendor/phppe/CMS

```

In a scalable environment only one dedicated Content Editor required. See [documentation](http://bztsrc.github.io/phppe3/#contents) for more details on load balancing.

Extensions
----------

[](#extensions)

If you want a web based interface for [extension management](https://bztsrc.github.io/phppe3/#extensions), install

```
$ composer require "phppe/Extensions"

```

or

```
$ curl https://bztsrc.github.io/phppe3/phppe3_extensions.tgz | tar -xz -C vendor/phppe/Extensions

```

This will give you the standard webadmin feeling you're used to with other frameworks, but unlike the others, this works in a secure way over SSH.

Developing
----------

[](#developing)

Even if you don't want to contribute to the framework, just using it or writing your own Extensions, it's worth installing the [Developer](https://bztsrc.github.io/phppe3/#developer) package! That will give you a nice templater to generate your php files, an utility to create language dictionaries out of your code, and also ships a minimal, PHPUnit compatible testing framework.

```
$ composer require "phppe/Developer"

```

or

```
$ curl https://bztsrc.github.io/phppe3/phppe3_developer.tgz | tar -xz -C vendor/phppe/Developer

```

This will provide you utilities like

```
$ php public/index.php create model myExtension myModel
$ php public/index.php create controller myExtension myController
$ php public/index.php create route myExtension myurl myController myAction
$ php public/index.php lang myExtension en
$ php public/index.php tests run
$ php public/index.php mkrepo

```

You can use [Packagist](https://packagist.org/packages/bztsrc/phppe3) to install the whole repository with all extensions:

```
$ composer create-project "bztsrc/phppe3:dev-master"

```

License
-------

[](#license)

PHPPE Core, PHPPE Pack, PHPPE CMS, PHPPE Extensions as well as PHPPE Developer are free and OpenSource softwares, licensed under [LGPL-3.0+](http://www.gnu.org/licenses/). See vendor/phppe/LICENSE for details.

```
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with this program.  If not, see .

```

Authors
-------

[](#authors)

PHPPE zoltan DOT baldaszti AT gmail DOT com

Simple Diff Paul Butler 2007

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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

Total

2

Last Release

2993d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a0fdb488d2b7a746a47d521c21425f47ad127ac61c35b65fd8f3201fcf71f6fa?d=identicon)[bzt](/maintainers/bzt)

---

Tags

frameworksecuritycmswyswygopensourcekissraspberryraspberry pirpiarmphppe

### Embed Badge

![Health badge](/badges/bztsrc-phppe3/health.svg)

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

###  Alternatives

[reinvanoyen/cmf

A flexible and extendable solution for all your content management needs

1025.5k](/packages/reinvanoyen-cmf)

PHPackages © 2026

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