PHPackages                             olamedia/freestyle - 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. olamedia/freestyle

ActiveLibrary[Framework](/categories/framework)

olamedia/freestyle
==================

Freestyle PHP Framework

0.3(11y ago)015MITPHP

Since Jun 21Pushed 11y ago1 watchersCompare

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

READMEChangelog (3)DependenciesVersions (2)Used By (0)

Freestyle
=========

[](#freestyle)

Freestyle framework

!DRAFT!
=======

[](#draft)

Request, response
-----------------

[](#request-response)

```
if (request::isPost()){
    // process form
    response::redirect('/url/path');
}
response::on(404, function(){
    // custom handler, bind controller action to customize output message
});
if ($condition){
    response::notFound();
}
```

Controller
----------

[](#controller)

```
myController::run();
myController::run('/base/url/path/');
myController::run('/', array('option' => 'value'));
```

```
myController extends freestyle\controller{
    public function header(){
        echo '';
    }
    public function footer(){
        echo '';
    }
    public function action(){
        $value = $this->_action;
        $this->runController('valueController', array('value' => $value));
    }
    public function initSomeAction(){
        $app = $this->app(); // root controller
        $this->rel(); // construct url path relative to controller root (index) action
        $this->rel('relative/path');
        $this->arel(); // construct url path relative to current action
        $this->arel('relative/path');

        // instead of response::notFound(), this forces exit from all controllers,
        // out of application controller,
        // as if there was no action method found:
        return $this->notFound();
    }
    public function showName($name = 'default'){ // /name action
        // $name comes from $_POST or $_GET
        echo 'Hello, '.htmlspecialchars($name).'!';
    }
    public function init(){ // root(index) action
        response::redirect($this->rel('name'));
    }
    public function show(){ // root(index) action
    }
}
```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

4030d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2abb2a60810fa56ed10f9f9d11e786fe04c01d94090b11867df04f98c0d6f9d1?d=identicon)[olamedia](/maintainers/olamedia)

---

Top Contributors

[![olamedia](https://avatars.githubusercontent.com/u/611624?v=4)](https://github.com/olamedia "olamedia (59 commits)")

### Embed Badge

![Health badge](/badges/olamedia-freestyle/health.svg)

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

###  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)
