Bright was designed to be simple and flexible. Let's check it out.
mkdir bright_site cd ./bright_site
composer require jagermesh/bright
php vendor/jagermesh/bright/tools/init.php web
cp config.db.example.php config.db.php
<?php br()->config()->set( 'br/db' , array( 'engine' => 'mysql' , 'hostname' => 'localhost' , 'name' => 'bright_site' , 'username' => 'root' , 'password' => '' , 'charset' => 'UTF8' ));
php database/run-patches.php
Done
composer require jagermesh/bright
require_once(__DIR__ . '/vendor/jagermesh/bright/Br.php');
Now you can use magic br() function to access Bright helpers.