CakeStrap is a bootstrap for CakePHP - HTML5 CakePHP2.x Bootstrap3.0!
[http://youtu.be/m4FtYIS3Rm8][] [http://youtu.be/m4FtYIS3Rm8]: http://youtu.be/m4FtYIS3Rm8
- Responsive Web Design
- jQuery 1.10.2 Stable (NEW)
- Modernizr
- Twitter Bootstrap v3.0.0 (NEW)
- Multi-Language ( English and Portuguese )
- CakePHP 2.4.1 Security Authentication (NEW)
- Users CRUD
- Remember password with email send
- Automatic inclusion of javascript and css files depending of the current controller and action ( Tutorial below )
- Download or clone this repository
- Extract the cakeStrap folder in your web server
- Go to http://localhost/cakeStrap and follow the instructions
- Rename the
app/Config/config.php.install
file toapp/Config/config.php
and still in this file change the $config['Application']['status'] to true - Rename the
app/Config/database.php.default
file toapp/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
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.
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');
Lee Graham created a easy way do deploy CakeStrap to OpenShift, check it out: cakeStrap Openshift
Have a question or found a bug? Please create an issue [here][] on GitHub! [here]: https://github.com/hugodias/cakestrap/issues