PHPackages                             diversen/pebble-framework - 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. diversen/pebble-framework

ActiveLibrary[Framework](/categories/framework)

diversen/pebble-framework
=========================

A simple, small, and fast php framework

v11.0.1(1y ago)2519MITPHPPHP &gt;=8.1.0

Since Jul 29Pushed 1y ago1 watchersCompare

[ Source](https://github.com/diversen/pebble-framework)[ Packagist](https://packagist.org/packages/diversen/pebble-framework)[ Docs](https://github.com/diversen/pebble-framework)[ RSS](/packages/diversen-pebble-framework/feed)WikiDiscussions main Synced 6d ago

READMEChangelogDependencies (10)Versions (143)Used By (0)

pebble-framework
================

[](#pebble-framework)

A small framework and library for creating PHP applications.

Documentation
=============

[](#documentation)

Install
=======

[](#install)

Requirements (PHP &gt;= 8.1):

```
composer require diversen/pebble-framework:^10.0

```

Install for testing
===================

[](#install-for-testing)

Clone the repo:

```
git clone git@github.com:diversen/pebble-framework.git && cd pebble-framework

```

The framework is coupled against MySQL, so in order to run the tests you will need to edit `config/DB.php`.

You should add a `config-locale` folder and copy the `DB.php` file into this folder.

```
mkdir config-locale && cp config/DB.php config-locale/

```

`config-locale` is in [.gitignore](.gitignore) to make sure the folder is not commited and stays `locale`.

Edit the `config-locale/DB.php` file and add a valid `database`, `username`, and `password`

Install dependencies (there is only require-dev dependencies):

```
composer install

```

Check if you can connect:

```
./cli.sh db --con

```

Run DB migrations

```
./cli.sh migrate --up

```

Then run the unit tests:

```
./test.sh

```

Clean up
========

[](#clean-up)

Install:

```
composer require --working-dir=tools/php-cs-fixer friendsofphp/php-cs-fixer
./tools/php-cs-fixer.sh

```

Docker MySQL
============

[](#docker-mysql)

Install (run) a MySQL image that will work:

```
docker run -p 3306:3306 --name mysql-server -e MYSQL_ROOT_PASSWORD=password -d mysql:8.0

```

Create a database:

```
./cli.sh db --server-connect
CREATE DATABASE `pebble`;

```

Other docker commands
=====================

[](#other-docker-commands)

Install (run) a MySQL image that will work:

```
docker run -p 3306:3306 --name mysql-server -e MYSQL_ROOT_PASSWORD=password -d mysql:8.0

```

List containers

```
docker container ls

```

Stop container (mysql-server):

```
docker stop mysql-server

```

Start container (mysql-server) again:

```
docker start mysql-server

```

Remove container (you will need to run the 'run' command again):

```
docker rm mysql-server

```

License
=======

[](#license)

MIT © [Dennis Iversen](https://github.com/diversen)

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity78

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

Recently: every ~54 days

Total

142

Last Release

685d ago

Major Versions

v7.3.4 → v8.0.02022-11-30

v8.2.0 → v9.0.02023-01-16

v8.2.1 → v9.0.12023-01-27

v9.1.3 → v10.0.12023-04-09

v10.1.8 → v11.0.02024-06-30

PHP version history (3 changes)v0.0.1PHP &gt;=7.2

v0.0.6PHP &gt;=7.4.3

v8.0.2PHP &gt;=8.1.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/23ed91d104f16d10414811ecdafbd5c80a660e658d80ccaadf84f512cfb50629?d=identicon)[diversen](/maintainers/diversen)

---

Top Contributors

[![diversen](https://avatars.githubusercontent.com/u/142675?v=4)](https://github.com/diversen "diversen (420 commits)")

---

Tags

php-frameworkphp-librarysimple-php-frameworksmall-php-frameworkframeworklibrary

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/diversen-pebble-framework/health.svg)

```
[![Health](https://phpackages.com/badges/diversen-pebble-framework/health.svg)](https://phpackages.com/packages/diversen-pebble-framework)
```

###  Alternatives

[ccxt/ccxt

A cryptocurrency trading API with more than 100 exchanges in JavaScript / TypeScript / Python / C# / PHP / Go

41.5k328.9k1](/packages/ccxt-ccxt)[hprose/hprose

It is a modern, lightweight, cross-language, cross-platform, object-oriented, high performance, remote dynamic communication middleware. It is not only easy to use, but powerful. You just need a little time to learn, then you can use it to easily construct cross language cross platform distributed application system.

2.1k215.3k37](/packages/hprose-hprose)[hprose/hprose-yii

Hprose Server for Yii 2

357.1k](/packages/hprose-hprose-yii)[podcastcrawler/podcastcrawler

PHP library to find podcasts

402.7k1](/packages/podcastcrawler-podcastcrawler)[ollyxar/websockets

PHP WebSocket server

311.9k1](/packages/ollyxar-websockets)

PHPackages © 2026

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