PHPackages                             sgc-fireball/tinyframework - 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. sgc-fireball/tinyframework

ActiveLibrary[Framework](/categories/framework)

sgc-fireball/tinyframework
==========================

The TinyFramework PHP framework

146PHPCI failing

Since May 28Pushed 1y ago4 watchersCompare

[ Source](https://github.com/sgc-fireball/tinyframework)[ Packagist](https://packagist.org/packages/sgc-fireball/tinyframework)[ RSS](/packages/sgc-fireball-tinyframework/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

[TinyFramework](https://github.com/sgc-fireball/tinyframework)
==============================================================

[](#tinyframework)

- [Introduction](#introduction)
- [How to start](#how-to-start)
- [Debugging](#debugging)
- [Performance](#performance)
- [Git Hooks](#git-hooks)
- [Author](#author)
- [Documentation](./docs/index.md)
- [Security](./docs/index.md)

Introduction
------------

[](#introduction)

TinyFramework started as a small teaching project and continues to grow into a mature "full-vendor" PHP framework. The goal of the exercise was to build a framework that resides exclusively in the vendor directory and has no dependencies to other dependencies.

The implementations of all PSR standards were already removed after the first few classes. The reason for this was that all subareas would have to be implemented differently and inconsistently.

How to start
------------

[](#how-to-start)

```
composer create-project --stability=dev --remove-vcs sgc-fireball/tinyframework-skeleton my-project master
cd my-project; php console
```

Folders
-------

[](#folders)

- app
    - Commands
    - Http
        - Controllers
            - Api
        - Middleware
    - Providers
- config
- database
    - migrations
- public
- resources
    - lang
        - en
    - views
- storage
    - cache
    - logs
    - psych
    - sessions

Debugging
---------

[](#debugging)

Open PHPStorm Settings `PHP` / `Servers`:

- Name: `tinyframework`
- Host: `127.0.0.1`
- Port: `9000`
- Debugger: `xdebug`
- Use Path Mapping `Yes`
- Map it to `/app`

Use our preconfigurated alias `phpx`.

```
phpx console
```

Performance
-----------

[](#performance)

1. Enable composer classmap authoritative.

    ```
    composer dump-autoload --optimize-autoloader --classmap-authoritative
    ```
2. Uninstall!!!! xdebug
3. Use PHP OpCache. But be case, and disable caching files under /storage/. Watch here [TinyFramework Opcache](https://github.com/sgc-fireball/tinyframework-opcache)

Todos
-----

[](#todos)

- Implement DateTime wrapper
- Implement Input::choise, Input::question, Input::confirm
- Implement Casts into Models
- Implement Auth Service / Interface
- URL Signer
-
- Implement ServiceProviders::provides to implement lazy loading services
- Paginator with url link support

Ideas
-----

[](#ideas)

- foreach $loop and $loop-&gt;parent
- Markdown interpreter for Str.

Git Hooks
---------

[](#git-hooks)

Please run:

```
git config --local core.hooksPath .githooks/
```

Author
------

[](#author)

Richard Hülsberg

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity15

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://avatars.githubusercontent.com/u/4587633?v=4)[Richard Hülsberg](/maintainers/sgc-fireball)[@sgc-fireball](https://github.com/sgc-fireball)

---

Top Contributors

[![sgc-fireball](https://avatars.githubusercontent.com/u/4587633?v=4)](https://github.com/sgc-fireball "sgc-fireball (200 commits)")

### Embed Badge

![Health badge](/badges/sgc-fireball-tinyframework/health.svg)

```
[![Health](https://phpackages.com/badges/sgc-fireball-tinyframework/health.svg)](https://phpackages.com/packages/sgc-fireball-tinyframework)
```

###  Alternatives

[laravel/dusk

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

1.9k39.6M299](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

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