GithubHelp home page GithubHelp logo

wodrow / yii2wajaxcrud Goto Github PK

View Code? Open in Web Editor NEW

This project forked from johnitvn/yii2-ajaxcrud

0.0 2.0 1.0 232 KB

Gii CRUD template for Single Page Ajax Administration for yii2

PHP 87.33% JavaScript 12.51% CSS 0.16%

yii2wajaxcrud's Introduction

yii2wajaxcrud

Latest Stable Version License Total Downloads

Gii CRUD template for Single Page Ajax Administration for yii2

Features

  • Create, read, update, delete in onpage with Ajax
  • Bulk delete suport
  • Pjax widget suport
  • Export function(pdf,html,text,csv,excel,json)
  • Editable suport
  • Daterange suport

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist wodrow/yii2wajaxcrud "^2.1"
or
php composer.phar require --prefer-dist wodrow/yii2wajaxcrud "^3.0"

or add

"wodrow/yii2wajaxcrud": "^2.1"
or
"wodrow/yii2wajaxcrud": "^3.0"

to the require section of your composer.json file.

Usage

For first you must enable Gii module Read more about Gii code generation tool

Because this extension used kartik-v/yii2-grid extensions so we must config gridview module before

Let 's add into modules config in your main config file

'modules' => [
    'gridview' =>  [
        'class' => '\kartik\grid\Module'
    ]       
]

gii config like

$config['bootstrap'][] = 'gii';
$config['modules']['gii'] = [
    'class' => 'yii\gii\Module',
];
$config['modules']['gii']['generators']['wodrowmodel'] = [
    'class' => \wodrow\wajaxcrud\generators\model\Generator::class,
    'showName' => "YOUR MODEL GENERATOR",
];
$config['modules']['gii']['generators']['wodrowwajaxcrud'] = [
    'class' => \wodrow\wajaxcrud\generators\crud\Generator::class,
    'showName' => "YOUR AJAX CRUD GENERATOR",
];

You can then access Gii through the following URL:

http://localhost/path/to/index.php?r=gii

and you can see YOUR AJAX CRUD GENERATOR

exp1 exp2 exp3

Others

#只对github.com
git config --global http.https://github.com.proxy socks5://127.0.0.1:1080

yii2wajaxcrud's People

Contributors

athikurrakhman avatar drsdre avatar johnitvn avatar qsebastianp avatar slightlydiff avatar waffle-iron avatar wodrow avatar

Watchers

 avatar  avatar

Forkers

overplex

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.