Code generator for CodeIgniter + Twitter Bootstrap + My Model. Built on top of CodeIgniter.
DEMO
This Code Generator will generate basic CRUD (add, edit, delete, list) controller , model, view (add,edit form), javascript, and also the lang file. The model is utilizing Jamie Rumbelow MY Model which you can get it from Github.
There are many CRUD generator out there, but not much to my liking. So I build this one for my own daily use and tailored to my preference and practice when coding. However instead just keep it to myself, I think maybe I can make it open source to improve it and also help others.
- Set your database connection at application/config/database.php
- Change builds folder permission to 0777 if you are on unix platform (linux/mac)
- Choose table that you want to generate CRUD
- Choose field that will appeared in form
- Choose the form validation
- Generate!
Table name example : tb_department, tb_position PK field example : department_id, staff_id, position_id FK example : department_id, staff_id, position_id
By using same field name, we can auto generate relationship between 2 tables
Sample database for testing : sample_db.sql