Skeleton application for BEAR.Sunday

1.3.2 2016-04-17 14:54 UTC


This is a skeleton app which can be used a base for your own BEAR.Sunday applications. You can build the app by entering the following command.

Create project

$ composer create-project bear/skeleton {project-path}
Created project in my-project
> BEAR\Skeleton\Installer::preInstall

What is the vendor name ?


What is the project name ?



start built-in web server

composer serve-web
composer serve-api

console api access

composer get /?name=bear

console web access

composer web get /?name=bear

run qa tools

composer test

run coding standaard fixer

composer cs-fix


This is an example meaning that you can change any part of it to how you like to for your application. But this bear bones example is a good place to start.

Where to start

The app is then booted procedurally, you can manipulate this bootstrap process in anyway you please by either adding or editing scripts in the bootstrap/bootstrap.php directory and any of the entry point script files you may be using.


Although the procedural bootstrap process offers flexibility in setting up your application BEAR.Sunday's real power starts to kick in through wiring dependencies together. This all takes place in the Modules directory. A number of defaults for the App and several runtime modes are available to you here. These can also be edited or added to at will.

Page and App Resources

page and app resources are added in the resources directory along with any template views that you may choose to add.

More ducumentation is available at .

Environment Variables

You can place environment-specific values in the .env file at the project root. See more at josegonzalez/dotenv.


  • PHP 5.5+