Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
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';

>>>>

About

Yet another PHP MVC framework

Resources

Releases

No releases published

Packages

No packages published

Languages