CodeIgniter Wizard is a relational database-driven PHP web application code generator and a Rapid Application Development (RAD) tool for the Mac which reads your MySQL or MariaDB database tables and columns, presents you with some options to determine which ones to include, how to interpret them, and then quickly creates a working web application with full CRUD functionality based on version 4.x of the CodeIgniter framework complete with entity models, views and controllers (even entities) and a Bootstrap 4-based CSS layout. The generated code is secure, clean, highly re-usable, and portable – waiting for you to copy over to your own PHP applications.
It’s functionality was inspired from both Model, View and Controller scaffolder for ASP.NET MVC web applications in Visual Studio for Windows, and fine-grained table field selection and configuration matrix of CodeCharge Studio a sophisticated and robust RAD software for Windows which used to be popular between 2000 and 2012.
What can CodeIgniter Wizard be used for?
CodeIgniter Wizard is currently most suitable for developing the basis for administrative control panels for back-ends such as custom CMS, or any database-driven records filing and management application such as CRM and HRM systems. Furthermore the generated entity-models can be used for any type of application including the end user-facing front-end layer, therefore saving an considerable amount of time in addition to the backend development.
Furthermore, since form design and validation is one of the most tedius and time-consuming tasks, the highly re-usable code generated by CodeIgniter Wizard for this can be used elsewhere – inside or outside the application.
Another use case might be that in case you are new to CodeIgniter and want to learn it by examining code written with good practices, CodeIgniter Wizard can add great value to your learning process with.
Similarly CI 3 developers who want the port their code base, but are unfamiliar with CI 4 can benefit a great deal from CodeIgniter Wizard.
How is CodeIgniter Wizard different from other code generators?
Code generators in the market usually create some code sufficient enough to get the basic CRUD operations done usually in a cryptic way, not necessarily providing a very elegant user experience, and their code usually relies on some kind of heavy-weight custom library (even many of which are like framework-in-a-framework) and the code they generate is usually not portable elsewhere.
In contrast, CodeIgniter Wizard generates pretty standard and highly portable code which doesn’t really have any 3rd party dependency.
What code does CodeIgniter Wizard exactly generate?
Class files for entities, models and controllers, view files for grid / table list screens, and forms with a diverse possibility of fields like input text, textarea, number, email, checkbox, radio buttons, dropdown select options, sidebar content and a simple dashboard starter.
- Entity classes
- Model classes
- Controller Classes
- Form view files
- List (grid) views files
- Admin & Dashboard template
The views built constitute basic master-detail functionality.
The generated code includes the necessary input sanitization and form validation, also whatever’s required to select joined data across multiple database tables expecially conforming to foreign keys or custom relationships set in the GUI by the user.
Web Applications Generated with CodeIgniter Wizard
Web applications created with CodeIgniter Wizard have class and view files conforming to the MVC design pattern which you can customize to suit your own needs.
Or you can only copy the parts you see fit to your project from the generated web application, which will still save you a great deal of time than creating everything from scratch or duplicating from your previous project.
Hand-Over from CI Wizard
- You can take the entire web app and write your own code on top of it
- Alternatively copy part(s) of it from entities and models to form fields or controller validation methods.
- Don’t like the template? Swap it with your own, since cross-cutting concerns are minimal.
- You can customize some or all of the generated code without worrying about dependencies as there are none!
What generated Code Looks Like
Watch an End-to-End Video Demo
CodeIgniter Wizard is the first code generator specifically made for Mac and is a great time-saver for PHP developers who can delegate some of their work to this powerful addition to the toolset.