Skeleton application for BEAR.Sunday

1.4.2 2017-08-05 09:04 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} dev-php7
Created project in my-project
> BEAR\Skeleton\Installer::preInstall

What is the vendor name ?


What is the project name ?


Run server

composer serve


composer web get /
composer api get /


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.

More documentation available at


  • PHP 7.0+