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

246PHPCI failing

Since May 28Pushed 11mo 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 1mo ago

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

18

—

LowBetter than 8% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity14

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/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[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.

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

A simple API extension for DateTime.

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

PHPackages © 2026

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