Skip to content
Yet another PHP MVC framework
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
_example_app
plugins
Controller.php
ControllerFront.php
ErrorHandler.php
Model.php
README

README

Brickhouse is yet another PHP MVC framework, built by Brick Design for our clients and made available to you!

We're still wrapping this up for a general 1.0 release, so stay tuned.

== Setup Instructions ==

=== Example Filesystem ==

document_root/
    .htaccess  (sample .htaccess included in README)
    app/  (copy from 'Blackbird/_example_app' for quick startup)
        bootstrap.php
        config/
        controllers/
        models/
        plugins/
        views/
    index.php  (sample index.php included in README)
    lib/
        Bobolink/
        Brickhouse/

=== Example .htaccess ===

<<<<

<IfModule mod_rewrite.c>

RewriteEngine On
RewriteBase /

# Remove trailing slashes for dynamic pages
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)/$ $1 [L,R]

# Prevent HTTP access to protected directories
RewriteRule ^(.*)\.svn/(.*)$ . [F]
RewriteRule ^(.*)\.git/(.*)$ . [F]
RewriteRule ^app$ . [F]
RewriteRule ^lib$ . [F]

# Redirect all dynamic requests to index.php file
RewriteCond %{REQUEST_FILENAME} !favicon\.ico
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . index.php [L,QSA]

</IfModule>

>>>>

=== Example index.php ===

<<<<

<?php

// Path to application's bootstrap.php file
include 'app/bootstrap.php';

>>>>
You can’t perform that action at this time.