CRUDigniter

  • Home
  • What is CRUDigniter ?
  • How To Use
  • Register
  • Login

Generate your CRUD. The easy way.

CRUDigniter allows you to automatically create complete Codeigniter CRUD for your database tables, with form validation rules, column associations and form controls.

Show Me

Form Validation Rules
Choose from the list of standard Codeigniter v3 form validation rules or auto-generate your field rules based on your database.

For example:
- If the DB column is selected as not null, the rule 'required' is applied.
- If the DB column is selected as INT, the 'numeric' rule is applied.
- and many more DB based rules.

Form Controls
You can choose the form control (such as checkbox, textbox, textarea) which will be in the insert and update forms.

Manage Associations
You can two tables together by defining a one-to-many or one-to-one relationship.

In this relationship, you define which foreign key links to which table and the column name which is used to display values while adding or editing that entity (in a dropdown).

When the Codeigniter code is automatically generated, it will fetch the appropriate field values and generate the code with the associations.

In the example below, the column from_user_id in the messages table maps to the primary key ID in the users table and the column used to display the user is first_name. In the code, the list of users will be fetched in the add and edit controllers so that they are available as a dropdown to be selected.

Manage Database Schema
Edit your database structure on the fly :
- Add a new column
- Delete an existing column
- Drop an existing table
So that you do not need to re-upload your SQL file.
You can edit your database within CRUDigniter itself.

Download Generated Code
Once all the validation rules, form controls and form associations have been defined, you can download the code separately (controller, model, view) or as a ZIP file of the entity (collection of the entity's controller, model and view) or as a ZIP file of the entire project.

This code can then be directly dropped into your application.



Bootstrap Support
You can choose to output the view file code (add, edit, list) in standard HTML or Twitter Bootstrap v3 compatible HTML.



How to use CRUDigniter

1. Uploading A New Database

2. Editing A Database

3. Generate Form Validation Rules

4. Managing Database Associations

5. Generating Code

 
Users : 92136 | Databases : 36998