bear/package

BEAR.Sunday framework package

Installs: 5 165

Dependents: 4

Stars: 23

Watchers: 16

Forks: 22

Open Issues: 1

Language: PHP


README

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/.