PHPackages                             geekmusclay/framework - 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. geekmusclay/framework

ActiveLibrary[Framework](/categories/framework)

geekmusclay/framework
=====================

0.3.1(2y ago)0161MITPHPPHP ^8.0

Since Dec 26Pushed 2y ago1 watchersCompare

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

READMEChangelog (7)Dependencies (10)Versions (9)Used By (1)

GeekMusclay Framework
=====================

[](#geekmusclay-framework)

Setup
-----

[](#setup)

Create a `.htaccess` file with :

```
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [QSA,L,NC]

```

Create a `.env` file with :

```
APP_ENV=dev
DATABASE_URL=mysql:host=localhost;dbname=test
DATABASE_USER=root
DATABASE_PASSWORD=

```

In an `index.php` file :

```
use Geekmusclay\DI\Core\Container;
use Modules\Blog\BlogModule;
use GuzzleHttp\Psr7\ServerRequest;
use Geekmusclay\Framework\Core\App;
use Geekmusclay\Framework\Core\DotEnv;
use Geekmusclay\Router\Core\Router;
use Geekmusclay\Router\Interfaces\RouterInterface;

use function Http\Response\send;

$env = getenv('APP_ENV');
$path = __DIR__ . '/.env';
if ((false === $env || $env === 'dev') && is_file($path)) {
    // Loading environement variables
    DotEnv::load($path);
}

// Instanciate application DI Container
$container = new Container();

// Register application router into container
$router = $container->get(Router::class, [$container]);
// Register our router as RouterInterface for injections
$container->set(RouterInterface::class, $router);

$app = new App($container, [
    BlogModule::class
]);

$app->get('/', function () {
    return new Response(200, [], 'Welcome on my app');
});

$response = $app->run(ServerRequest::fromGlobals());

try {
    $response = $app->run(ServerRequest::fromGlobals());
} catch (Throwable $e) {
    dd($e);
}
```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97.9% 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

Every ~59 days

Total

7

Last Release

927d ago

PHP version history (2 changes)0.1.0PHP ^7.4

0.2.1PHP ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/113786478?v=4)[geekmusclay](/maintainers/geekmusclay)[@geekmusclay](https://github.com/geekmusclay)

---

Top Contributors

[![cedricvsi](https://avatars.githubusercontent.com/u/210379029?v=4)](https://github.com/cedricvsi "cedricvsi (47 commits)")[![geekmusclay](https://avatars.githubusercontent.com/u/113786478?v=4)](https://github.com/geekmusclay "geekmusclay (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/geekmusclay-framework/health.svg)

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

###  Alternatives

[symfony/symfony

The Symfony PHP framework

31.4k87.2M2.2k](/packages/symfony-symfony)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

21866.0M1.7k](/packages/drupal-core)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6942.5M421](/packages/drupal-core-recommended)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)[oro/platform

Business Application Platform (BAP)

645143.5k115](/packages/oro-platform)

PHPackages © 2026

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