PHPackages                             jewei/tinyphp - 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. jewei/tinyphp

ActiveProject[Framework](/categories/framework)

jewei/tinyphp
=============

A lightweight PHP framework focused on simplicity, clarity, and adherence to PSR standards.

01PHP

Since Nov 6Pushed 2y agoCompare

[ Source](https://github.com/jewei/tinyphp)[ Packagist](https://packagist.org/packages/jewei/tinyphp)[ RSS](/packages/jewei-tinyphp/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

TinyPHP
=======

[](#tinyphp)

TinyPHP is a minimalistic PHP framework designed for learning PHP in-depth. It focuses on simplicity, clarity, and adheres to best practices and PSR standards.

Features
--------

[](#features)

- **PSR-11 Container**: A simple yet powerful service container with auto-wiring support.
- **Latest PHP Features**: Utilizes modern PHP 8.2 features.
- **Clean Codebase**: Easy to read, understand, and extend.
- **Static Analysis**: Successfully passed PHPStan checks at the maximum level, ensuring a robust and bug-resistant codebase.
- **Educational**: A great tool for learning PHP in a hands-on manner.

Installation
------------

[](#installation)

```
composer create-project jewei/tinyphp:dev-main myapp
```

Usage
-----

[](#usage)

### Registering Services

[](#registering-services)

```
$app = new TinyPHP\Application;

// Register a service
$app->set(Config::class, Config::class);

// Retrieve the service
$config = $app->get(Config::class);
```

### Auto-Wiring Dependencies

[](#auto-wiring-dependencies)

```
class Database {
    public function __construct(private Config $config) {}
}

$app->set(Config::class, Config::class);
$app->set(Database::class, Database::class);

// Retrieve the Database service, dependencies will be auto-wired
$db = $app->get(Database::class);
$db->config;
```

Testing
-------

[](#testing)

```
composer test
```

License
-------

[](#license)

TinyPHP is licensed under the MIT License.

###  Health Score

12

—

LowBetter than 0% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity20

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

[![jewei](https://avatars.githubusercontent.com/u/51693?v=4)](https://github.com/jewei "jewei (12 commits)")

### Embed Badge

![Health badge](/badges/jewei-tinyphp/health.svg)

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

###  Alternatives

[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k85.0M532](/packages/laravel-passport)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

712181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)[laravel/pail

Easily delve into your Laravel application's log files directly from the command line.

91545.3M590](/packages/laravel-pail)

PHPackages © 2026

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