PHPackages                             lenochware/pclib - 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. lenochware/pclib

ActiveLibrary[Framework](/categories/framework)

lenochware/pclib
================

PClib PHP framework

v3.3.0(2mo ago)62523MITPHP &gt;=7.0.0

Since Jan 16Compare

[ Source](https://github.com/lenochware/pclib)[ Packagist](https://packagist.org/packages/lenochware/pclib)[ Docs](http://pclib.brambor.net)[ RSS](/packages/lenochware-pclib/feed)WikiDiscussions Synced today

READMEChangelog (10)DependenciesVersions (27)Used By (3)

What is PClib?
==============

[](#what-is-pclib)

Lightweight PHP framework without boilerplate of big frameworks.

### Features

[](#features)

- MVC (Controllers, templates and models)
- Db: Database layer (mysql, pgsql and sql-lite adapters included)
- Form: Rendering, validation and storing into database
- Grid (datagrid): Pagination, sorting columns, summarization rows, filter
- Auth: Authentication and authorization: users, roles and permissions
- Translator: multilanguage support
- Debugger: improved error messages, dump() function, debug-bar...
- ORM
- PAdmin: Site administrator tool
- Logger, Tree view and more...

### Installation

[](#installation)

1. [Download **pclib**](http://pclib.brambor.net/?r=home/install)
2. Copy directory `pclib` somewhere at your webroot.
3. Some parts of the library need a few database tables. You can found sql-dump in `install/pclib_*.sql`. Import this sql-dump into your database.
4. Now you are ready to use **pclib**!

or install it using composer:

```
composer require lenochware/pclib

```

### Examples

[](#examples)

**Render form**

```
require 'vendor/autoload.php'; // or 'pclib/pclib.php' without composer
$app = new PCApp('test-app');

$form = new PCForm('tpl/form-template.tpl');
print $form;
```

**Connect to database and show datagrid with data**

```
require 'vendor/autoload.php';
$app = new PCApp('test-app');
$app->db = new PCDb('pdo_mysql://user:password@localhost/database-name');

$grid = new PCGrid('tpl/grid-template.tpl');
$grid->setQuery('SELECT * FROM products');
print $grid;
```

For more examples see

### Links

[](#links)

- [PClib homepage](http://pclib.brambor.net/)

### License

[](#license)

This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree.

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance84

Actively maintained with recent releases

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity68

Established project with proven stability

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

Recently: every ~146 days

Total

25

Last Release

83d ago

Major Versions

v2.9.5 → v3.0.02024-04-17

PHP version history (4 changes)v2.2.0PHP &gt;=5.3.0

v2.3.2PHP &gt;=5.4.0

v2.7.0PHP &gt;=5.6.0

v3.0.0PHP &gt;=7.0.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10196214?v=4)[lenochware](/maintainers/lenochware)[@lenochware](https://github.com/lenochware)

---

Tags

frameworkpclib

### Embed Badge

![Health badge](/badges/lenochware-pclib/health.svg)

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

###  Alternatives

[hemp/presenter

Easy Model Presenters in Laravel

247608.3k1](/packages/hemp-presenter)[pestphp/pest-plugin-stressless

Stressless plugin for Pest

68943.9k18](/packages/pestphp-pest-plugin-stressless)[wpstarter/framework

The WpStarter Framework - Laravel Framework for WordPress

1610.2k5](/packages/wpstarter-framework)

PHPackages © 2026

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