- Get it!
- Unzip the files in a directory
- Collect all framework files with
git submodule init
andgit submodule update
- Run
composer update
to install all required packages - Start using Dreamcoil for your projects
if($route->group('profile'))
{
if($route->is('view')) App\UserController::view();
if($route->is('{id}')) App\UserController::view($route->data['id']);
if($route->is('edit')) App\UserController::edit();
}
if($route->is('/post/{hash}')) App\PostController::view($route->data['hash']);
$layout = new \Dreamcoil\Layout('Bruce',array('user' => \Model\User::get()));
Do you have some problems with Dreamcoil? Then I suggest you to have a look at our wiki
If a new framework version has been release,d run git submodule foreach git pull origin master
for getting all updates.