BEAR.Sunday framework 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 -t docs/demo-app/var/www

You can then open a browser at to see the json output.


Documentation is available at