PHPackages                             pixel418/staq - 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. pixel418/staq

ActiveLibrary[Framework](/categories/framework)

pixel418/staq
=============

Staq is a small PHP framework for an enjoyable web development

v0.7.0(10y ago)122182MITPHPPHP &gt;=5.4.0

Since Jan 17Pushed 8y ago5 watchersCompare

[ Source](https://github.com/Elephant418/Staq)[ Packagist](https://packagist.org/packages/pixel418/staq)[ Docs](https://github.com/Pixel418/Staq)[ RSS](/packages/pixel418-staq/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (6)Versions (8)Used By (0)

Staq [![Build Status](https://camo.githubusercontent.com/202af21701898202408121040265d626f99d0c69cea9eea060e2e04de4451d0a/68747470733a2f2f7472617669732d63692e6f72672f456c657068616e743431382f537461712e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/Elephant418/Staq?branch=master)
==================================================================================================================================================================================================================================================================================================

[](#staq-)

Staq is a modern &amp; innovative PHP framework for enjoyable web development.

1. [Features](#features)
2. [Let's code](#lets-code)
3. [How to Install](#how-to-install)
4. [How to Contribute](#how-to-contribute)
5. [Author &amp; Community](#author--community)

Features
--------

[](#features)

Staq contains all the expected features : Extensible structure, routing, ORM, templating &amp; pre-coded applications ( *Planned* ).
It mainly contains a new object pattern, *the stack*, for low dependency, high extensible &amp; enjoyable development !

[↑ top](#readme)

Let's code
----------

[](#lets-code)

### Hello world tutorial

[](#hello-world-tutorial)

```
require_once( 'vendor/Elephant418/staq/src/include.php' );

\Staq\App::create( )
    ->addController( '/hello/:name', function( $name ) {
        return 'Hello ' . $name;
    } )
    ->run( );
```

### Hello world projects

[](#hello-world-projects)

You can use the Hello World projects to bootstrap an application:

- The simplest [Staq Hello World project](https://github.com/Elephant418/Staq-HelloWorld/)
- The [Staq Hello World project with MVC structure](https://github.com/Elephant418/Staq-HelloWorldMVC/)

### System Requirements

[](#system-requirements)

You need **PHP &gt;= 5.4** and some happiness.

[↑ top](#readme)

How to Install
--------------

[](#how-to-install)

If you don't have composer, you have to [install it](http://getcomposer.org/doc/01-basic-usage.md#installation).

Add or complete the composer.json file at the root of your repository, like this :

```
{
    "require": {
        "Elephant418/staq": "0.6.0"
    }
}
```

Staq can now be [downloaded via composer](http://getcomposer.org/doc/01-basic-usage.md#installing-dependencies).

The framework and the extensions work with the composer autoload:

```
require_once( './vendor/autoload.php' );
```

[↑ top](#readme)

How to Contribute
-----------------

[](#how-to-contribute)

1. Fork the Staq repository
2. Create a new branch for each feature or improvement
3. Send a pull request from each feature branch to the **develop** branch

If you don't know much about pull request, you can read [the Github article](https://help.github.com/articles/using-pull-requests).

All pull requests must follow the [PSR2 standard](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md) and be accompanied by passing [phpunit](https://github.com/sebastianbergmann/phpunit/) tests.

[↑ top](#readme)

Author &amp; Community
----------------------

[](#author--community)

Staq is under [MIT License](http://opensource.org/licenses/MIT).
It is created and maintained by [Thomas ZILLIOX](http://tzi.fr).
If you have a question, you can send a message to the community via [the mailing list](mailto:staq-project@googlegroups.com).
If you are curious on the next features, you can see my [trello board](https://trello.com/board/staq/50de3fe18942735c620000a9).

[↑ top](#readme)

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 99.2% 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 ~290 days

Total

4

Last Release

3997d ago

### Community

Maintainers

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

---

Top Contributors

[![tzi](https://avatars.githubusercontent.com/u/415891?v=4)](https://github.com/tzi "tzi (604 commits)")[![annabelle8](https://avatars.githubusercontent.com/u/6190842?v=4)](https://github.com/annabelle8 "annabelle8 (4 commits)")[![nike-17](https://avatars.githubusercontent.com/u/676670?v=4)](https://github.com/nike-17 "nike-17 (1 commits)")

---

Tags

framework

### Embed Badge

![Health badge](/badges/pixel418-staq/health.svg)

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

###  Alternatives

[symfony/symfony

The Symfony PHP framework

31.3k86.3M2.2k](/packages/symfony-symfony)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[slim/twig-view

Slim Framework 4 view helper built on top of the Twig 3 templating component

3708.0M210](/packages/slim-twig-view)[abydahana/aksara

Aksara is a CodeIgniter based CRUD Toolkit you can use to build complex applications become shorter, secure and more reliable just in a few lines of code. Serving both CMS or Framework, produce both HEADLESS (RESTful API) or TRADITIONAL (Browser Based), just by writing single controller. Yet it's reusable, scalable and ready to use!

1101.2k](/packages/abydahana-aksara)[themosis/theme

The Themosis framework boilerplate theme.

10449.0k3](/packages/themosis-theme)[contao-community-alliance/dc-general

Universal data container for Contao

1578.3k86](/packages/contao-community-alliance-dc-general)

PHPackages © 2026

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