GithubHelp home page GithubHelp logo

deddyce8ol / codeigniter-crud-generator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from themayna/codeigniter-crud-generator

0.0 2.0 0.0 136 KB

This script works on codeigniter hmvc.Acces yourdomani/crud,select your database and a module will be generated.The module will contain a controllers,a model and 4 views(index,add,edit and view)All you have to do is:-setup a db connection config/databse.php-set a encryption key in config.php($config['encryption_key'] = ‘whatever’;)

PHP 100.00%

codeigniter-crud-generator's Introduction

Crud generator

This is a module that will create a crud for your table in Codeigniter hmvc.

All you need to do is:

- Setup your database(config/database.php),
- Set an encryption key(config/config.php)->['encryption_key'] ='Whatever';.
- Copy the folder "crud" into "modules" folder. 
- Point your browser to yourdoain/crud.

The script checks if the fields in your table are int or varchar and sets the specific validations. It also sets a "valid_email" validation if the field is named "email". If you have a created or a modified column(int type). it will automaticly add the timestamp when created and modified on add and edit and it will display them in a date format on index. Other features will come.

This script will work only in HMVC CODEIGNITER It will create a module with the following structure and populate the files with the required code based on you sql table selection.

	tablename
		controllers
			tablename.php
		models
			tablename_model.php
		views
			add.php
			edit.php
			index.php
			view.php

Donations-paypal [email protected]

codeigniter-crud-generator's People

Contributors

themayna avatar

Watchers

James Cloos avatar deddy febriyadi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.