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(10y ago)015MITPHP

Since Jun 21Pushed 10y ago1 watchersCompare

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

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 32% 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

3985d 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/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)
