2017 © Pedro Peláez
 

library staq

Staq is a small PHP framework for an enjoyable web development

image

pixel418/staq

Staq is a small PHP framework for an enjoyable web development

  • Friday, September 22, 2017
  • by Pixel418
  • Repository
  • 5 Watchers
  • 11 Stars
  • 197 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

Staq Build Status

Staq is a modern & innovative PHP framework for enjoyable web development., (*1)

  1. Features
  2. Let's code
  3. How to Install
  4. How to Contribute
  5. Author & Community

Features

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

↑ top, (*3)

Let's code

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

You can use the Hello World projects to bootstrap an application:, (*4)

System Requirements

You need PHP >= 5.4 and some happiness., (*5)

↑ top, (*6)

How to Install

If you don't have composer, you have to install it., (*7)

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

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

Staq can now be downloaded via composer., (*9)

The framework and the extensions work with the composer autoload:, (*10)

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

↑ top, (*11)

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., (*12)

All pull requests must follow the PSR2 standard and be accompanied by passing phpunit tests., (*13)

↑ top, (*14)

Author & Community

Staq is under MIT License.
It is created and maintained by Thomas ZILLIOX.
If you have a question, you can send a message to the community via the mailing list.
If you are curious on the next features, you can see my trello board., (*15)

↑ top, (*16)

The Versions

22/09 2017
13/10 2016
08/06 2015
06/05 2014

dev-feature/completeFileName

dev-feature/completeFileName https://github.com/Pixel418/Staq

Staq is a small PHP framework for an enjoyable web development

  Sources   Download

MIT

The Requires

 

framework

25/05 2013

dev-bugfix_route-joker

dev-bugfix_route-joker https://github.com/Pixel418/Staq

Staq is a small PHP framework for an enjoyable web development

  Sources   Download

MIT

The Requires

 

framework

10/05 2013

v0.6.0

0.6.0.0 https://github.com/Pixel418/Staq

Staq is a small PHP framework for an enjoyable web development

  Sources   Download

MIT

The Requires

 

framework

03/03 2013

v0.5.0

0.5.0.0 https://github.com/Pixel418/Staq

Staq is a small PHP framework for an enjoyable web development

  Sources   Download

MIT

The Requires

 

framework

17/01 2013

v0.4.0

0.4.0.0 https://github.com/Pixel418/Staq

Staq is a small PHP framework for an enjoyable web development

  Sources   Download

MIT

The Requires

 

framework