承接 execut/yii2-crud 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

execut/yii2-crud

Composer 安装命令:

composer require execut/yii2-crud

包简介

Yii2 object for fasted configuration CRUD navigation and actions for models without copy-paste or CRUD generators

关键字:

README 文档

README

It's package for simple creating CRUD from configuring navigation to required controller actions in 3 steps without copy-paste or CRUD generators.

For license information check the LICENSE-file.

English documentation is at docs/guide/README.md.

Русская документация здесь docs/guide-ru/README.md.

Latest Stable Version Total Downloads Build Status

Installation

The preferred way to install this extension is through composer.

Install

Either run

$ php composer.phar require execut/yii2-crud "dev-master"

or add

"execut/yii2-crud": "dev-master"

to the require section of your composer.json file.

Add bootstrap to your application config:

return [
    'bootstrap' => [
        'yii2-crud' => [
            'class' => \execut\crud\Bootstrap::class,
        ]
    ]
];

Usage

Let's say you need to make a CRUD for the model execut\books\models\Book To do this, just add the following lines to controller:

namespace execut\books\controllers;

use execut\books\models\Book;
use execut\crud\params\Crud;
use yii\web\Controller;
class BooksController extends Controller
{
    public function actions()
    {
        $crud = new Crud([
            'modelClass' => Book::class,
            'modelName' => Book::MODEL_NAME,
        ]);
        return $crud->actions();
    }
}

As a result, a full-fledged CRUD will appear for this model: Books CRUD list Books CRUD form

For more details please refer to the documentation docs/guide/README.md.

Для более подробной информации обращайтесь к документации docs/guide-ru/README.md.

统计信息

  • 总下载量: 641
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 8
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2017-05-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固