PHPackages                             ohworkit/sirius - 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. ohworkit/sirius

ActiveLibrary[Framework](/categories/framework)

ohworkit/sirius
===============

sirius php framework

1.2.1(10y ago)035MITPHPPHP &gt;=5.5

Since Dec 14Pushed 10y ago1 watchersCompare

[ Source](https://github.com/ohworkit/Sirius)[ Packagist](https://packagist.org/packages/ohworkit/sirius)[ RSS](/packages/ohworkit-sirius/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (10)Dependencies (5)Versions (13)Used By (0)

Sirius PHP Framework
--------------------

[](#sirius-php-framework)

[![License](https://camo.githubusercontent.com/8f35dd4b973dc3e74806e7dca8ef947184c8ebde92e696a1b00642322148d732/687474703a2f2f706f7365722e707567782e6f72672f6c61726176656c2f6672616d65776f726b2f6c6963656e73652e737667)](http://ohworkit.com/sirius)

Sirius is a miniature of web application framework. Usage as laravel, but is small, fast framework.Only provide routing, blade templates, database operations, Memcache and Redis operation function

### Install

[](#install)

To install with composer:

```
composer require ohworkit/sirius

```

### Usage

[](#usage)

bootstrap.php

```
// BASE_PATH
define('BASE_PATH', __DIR__);

// Autoload
require BASE_PATH.'/vendor/autoload.php';

$app = new Sirius\Sirius();
$app->run();

```

More [Sirius Demo](https://github.com/ohworkit/SiriusDemo)

### Framework require

[](#framework-require)

#### Route

[](#route)

use FastRoute - Fast request router for PHP

[how to use FastRoute](https://github.com/nikic/FastRoute)

#### View Engine

[](#view-engine)

Use the simple and yet powerful Laravel Blade templating engine as a standalone component

[about philo/laravel-blade](https://github.com/PhiloNL/Laravel-Blade)

You can use all blade features as described in the Laravel 5 documentation:

#### Illuminate Database

[](#illuminate-database)

The [Illuminate Database component](https://github.com/illuminate/database) is a full database toolkit for PHP, providing an expressive query builder, ActiveRecord style ORM, and schema builder. It currently supports MySQL, Postgres, SQL Server, and SQLite. It also serves as the database layer of the Laravel PHP framework.

For further documentation on using the various database facilities this library provides, consult the [Laravel framework documentation](http://laravel.com/docs).

#### Memcached

[](#memcached)

config.

```
"memcache" => array(
    "default" => array(
        "servers" => [
            array("127.0.0.1",11211,5),
            //array(host,port,weight),
        ],
        "persistent_id" => null,
        "options" => array(
            Memcached::OPT_LIBKETAMA_COMPATIBLE => true,
            Memcached::OPT_PREFIX_KEY => "sirius:"
        ),
    ),
),

```

use.

```
//by default
Cache::set($key,$value,$expire);
Cache::get($key);

//has other instance
Cache::connection("other config name")->set($key,$value,$expire);
Cache::connection("other config name")->get($key);

```

#### Redis

[](#redis)

[Predis](https://github.com/nrk/predis)

Flexible and feature-complete PHP client library for Redis

config. [more](https://github.com/nrk/predis)

```
"redis" => array(
     "default" => array(
         "parameters" => [
             'tcp://127.0.0.1?alias=master',
             //'tcp://10.0.0.2?alias=slave-01'
         ],
         "options" => [
             //'replication' => true,
             "prefix" => "sirius:",
         ],
     ),
 ),

```

use.

```
//by default
SiriusRedis::set($key,$value,$expire);
SiriusRedis::get($key);

//has other instance
SiriusRedis::connection("other config name")->set($key,$value,$expire);
SiriusRedis::connection("other config name")->get($key);

```

### Webbench

[](#webbench)

same web server

#### Sirius

[](#sirius)

`siege -c 500 -t 20s http://sirius.ohworkit.com/`

```

Transactions:		        8997 hits
Availability:		       99.91 %
Elapsed time:		       19.16 secs
Data transferred:	        1.13 MB
Response time:		        0.40 secs
Transaction rate:	      469.57 trans/sec
Throughput:		        0.06 MB/sec
Concurrency:		      189.91
Successful transactions:        8997
Failed transactions:	           8
Longest transaction:	       15.87
Shortest transaction:	        0.15

```

#### vs Laravel 5

[](#vs-laravel-5)

`siege -c 500 -t 20s http://laravel.ohworkit.com/`

`disable session`

```
Transactions:		         465 hits
Availability:		       26.74 %
Elapsed time:		       19.99 secs
Data transferred:	        0.23 MB
Response time:		        2.66 secs
Transaction rate:	       23.26 trans/sec
Throughput:		        0.01 MB/sec
Concurrency:		       61.81
Successful transactions:         465
Failed transactions:	        1274
Longest transaction:	       15.33
Shortest transaction:	        0.17

```

#### vs Phalcon 2

[](#vs-phalcon-2)

`siege -c 500 -t 20s http://phalcon.ohworkit.com/`

```
Transactions:		       11034 hits
Availability:		      100.00 %
Elapsed time:		       19.67 secs
Data transferred:	        2.96 MB
Response time:		        0.28 secs
Transaction rate:	      560.96 trans/sec
Throughput:		        0.15 MB/sec
Concurrency:		      155.34
Successful transactions:       11034
Failed transactions:	           0
Longest transaction:	       11.33
Shortest transaction:	        0.13

```

### License

[](#license)

The Sirius framework is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity65

Established project with proven stability

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 ~13 days

Recently: every ~36 days

Total

12

Last Release

3698d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b142e5a3acbb9a8ec871ff90c38b8ddd4d47f935fd0f1c75b0e14d513e9545c2?d=identicon)[ohworkit](/maintainers/ohworkit)

### Embed Badge

![Health badge](/badges/ohworkit-sirius/health.svg)

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

###  Alternatives

[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[oro/platform

Business Application Platform (BAP)

642140.7k104](/packages/oro-platform)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45344.0k1](/packages/pressbooks-pressbooks)[flarum/core

Delightfully simple forum software.

201.4M2.2k](/packages/flarum-core)[duxweb/dux-lite

The lightweight framework based on slim php

161.0k9](/packages/duxweb-dux-lite)[concrete5/core

Concrete – an open source content management system.

20163.8k49](/packages/concrete5-core)

PHPackages © 2026

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