kawanamiyuu / BEAR.Package

BEAR.Sunday framework package

Home Page:bearsunday.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BEAR.Package

Scrutinizer Code Quality Code Coverage Build Status

BEAR.Package is a BEAR.Sunday resource oriented framework implementation package.

Run demo app

composer create-project -n bear/package bear.package ~1.0
cd bear.package

A resource can then be accessed from the console.

php docs/demo-app/bootstrap/web.php get /
200 OK
content-type: application/hal+json

{
    "greeting": "Hello BEAR.Sunday",
    "_links": {
        "self": {
            "href": "/"
        }
    }
}

Fire up the built-in php web server.

php -S 127.0.0.1:8080 -t docs/demo-app/var/www

You can then open a browser at http://127.0.0.1:8080 to see the json output.

Documentation

Documentation is available at http://bearsunday.github.io/.

About

BEAR.Sunday framework package

bearsunday.github.io

License:BSD 2-Clause "Simplified" License


Languages

Language:PHP 100.0%