- master [
] (http://travis-ci.org/koriym/BEAR.Package)
- develop
BEAR.Package is a BEAR.Sunday resource oriented framework package.
$ curl -s https://getcomposer.org/installer | php
$ php composer.phar create-project -s dev --dev bear/package ./bear
More information is availavle at wiki:install.
$ cd bear/apps/Sandbox/public
$ php -S localhost:8088 web.php
$ php -S localhost:8089 api.php
Set up a virtual host to point to the public/ directory of the application.
$ php web.php get /index
$ php api.php get page://self/index
$ php api.php get 'app://self/first/greeting?name=World'
$ php api.php get app://self/blog/posts
$ cd bear/apps
$ php ../../composer.phar create-project -s dev --dev bear/skeleton ./MyApp
$ cd MyApp/public
// Console
$ php web.php get /
// Web
$ php -S localhost:8090 web.php