Bonfire is intended to provide a kickstart for new web applications built in CodeIgniter.
What is Bonfire?
Bonfire is a framework for your web application, built on top of the CodeIgniter PHP Framework. It is not a CMS, but a starting point for new projects that require ready-made tools like:
- Robust Role-Based-Access-Control
- Fully Modular Codebase. Built around HMVC.
- Database backup, migration, and maintenance.
- Powerful, parent/child capable theme engine.
- Simple Email queue to keep your ISP happy.
Bonfire Components
Bonfire ships with a number of individual components that are described below. Don't get hung up on the details of each component for now. Many of these will be described in more detail below.
- MY_Model
MY_Model provides a robust set of standard methods for you to derive your models from. Methods covering all standard CRUD routines, as well as simple methods that chain together. For simple models, all you have to do is extend the MY_Model class and set a couple of variables and you'll be up and running without any extra code.
- MY_Controllers
MY_Controller provides 4 different controllers that you can use to keep common functions within each 'zone' of your website: Base_Controller, Front_Controller, Authenticated_Controller and Admin_Controller. You can set different defaults in each controller for a different part of your site. For example, setting the admin theme in the Admin_Controller, or making sure the user is logged in with the Authenticated_Controller.
- Role-Based Access Control
Bonfire's User module provides a flexible User_model, ready for your users to login with, as well as a flexible RBAC that is simple to use and flexible enough to fit most needs.
- Database Tools
Quickly browse your database, perform backups, restore old backups, and keep your database versioned with Migrations. Unlike CodeIgniter's built-in migrations, Bonfire extends them to allow for the core, your app, and each module to maintain their own set of migrations.
- System Events
Very similar to CodeIgniter's Hooks, System Events allow you to hook into Bonfire's core code without modifying core files. It also provides a simple way for you to add hooks to your own code for other modules to use.
- Activities Log
This library provides a simple way to log user activities, such as 'JohnDoe deleted the Page titled "Page 1"'. This makes it simple to keep a clear, consistent log of every important action of every user.
- Settings
Easily store application-wide settings in the database, allowing your users to change settings simply and easily.
Official site
References
https://github.com/ci-bonfire/Bonfire/wiki/Getting-started-with-bonfire