Quick Start

Start with one resource.

You don't need to learn a large configuration upfront with BEAR.Sunday. Start by creating a single resource, calling it by URI, and testing it. That small unit expands to the Web, CLI, and documentation.

01

Create a project

Create a skeleton with Composer and get your first application structure.

VENDOR=MyVendor PACKAGE=MyProject \
composer create-project bear/skeleton my-project

02

Call a resource

Before setting up a web server, you can call Resources directly from page.php.

cd my-project
php bin/page.php get /hello

03

Observe through tests

Test with ResourceObject at the center—check URIs, methods, inputs, and outputs in small units.

composer test
composer sa

Official guide

See the official manual for details.

This page is an entry point. For actual setup, environment configuration, and tutorials, proceed to the Quick Start and Tutorial in the official manual.