Skip to content

sosuke-ito/BEAR.Package

 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%