CakeStrap is a bootstrap for CakePHP - HTML5 CakePHP2.x Bootstrap 3.0!
PHP Other
Latest commit 89df291 Dec 15, 2014 @hugodias Merge pull request #33 from zhaff/master
Js path fixed and styles changes.
Permalink
Failed to load latest commit information.
app Change the column name to admin Dec 14, 2014
lib/Cake Added Bootstrap classes to Success Flash Jan 28, 2014
plugins init Jul 14, 2012
vendors init Jul 14, 2012
.editorconfig Added CakePHP 2.3.8 | Twitter Bootstrap 3.0.0 | Jquery 1.10.2 Jul 29, 2013
.gitignore Fixado bug que tentava logar utilizando o campo username Dec 23, 2013
.htaccess Comentado o RewriteBase / Jan 3, 2014
.travis.yml Added CakePHP 2.3.8 | Twitter Bootstrap 3.0.0 | Jquery 1.10.2 Jul 29, 2013
README.md
build.properties
build.xml Added CakePHP 2.3.8 | Twitter Bootstrap 3.0.0 | Jquery 1.10.2 Jul 29, 2013
index.php Added CakePHP 2.3.8 | Twitter Bootstrap 3.0.0 | Jquery 1.10.2 Jul 29, 2013

README.md

CakeStrap v 0.7.1


CakeStrap is a bootstrap for CakePHP - HTML5 CakePHP2.x Bootstrap3.0!

Video tutorial ( Portuguese )

http://youtu.be/m4FtYIS3Rm8

Features

Front-end
  1. Responsive Web Design
  2. jQuery 1.10.2 Stable (NEW)
  3. Modernizr
  4. Twitter Bootstrap v3.0.0 (NEW)
  5. Multi-Language ( English and Portuguese )
Back-end
  1. CakePHP 2.4.1 Security Authentication (NEW)
  2. Users CRUD
  3. Remember password with email send
  4. Automatic inclusion of javascript and css files depending of the current controller and action ( Tutorial below )
Modules
  1. Photos end videos gallery

Quick start

Manually Installation

  • Rename the app/Config/config.php.install file to app/Config/config.php and still in this file change the $config['Application']['status'] to true
  • Rename the app/Config/database.php.default file to app/Config/database.php and configure your database credentials
  • Create the users table in your database with this Schema: https://github.com/hugodias/cakeStrap/blob/master/app/Config/Schema/schema.php

Automatic inclusion of JS and CSS

CakeStrap has a JS and CSS folder structure allowing to automatic load files for each action of each controller. For example, if you have this JS structure folder:

/js
    /pages
        /home.js

This script will be automatic loaded when the user is in controller pages and in action home

The same structure exists for CSS files.

Internationalization

Currently cakeStrap supports two languages, English and Portuguese. To enable the Portuguese language as the main just add the following line in your app/Controllers/AppController.php at beforeFilter action:

Configure::write('Config.language', 'por');

Deploy

Lee Graham created a easy way do deploy CakeStrap to OpenShift, check it out: cakeStrap Openshift

Questions / Bugs

Have a question or found a bug? Please create an issue here on GitHub!