定制 fuzzyma/contao-eloquent-example-project-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

fuzzyma/contao-eloquent-example-project-bundle

Composer 安装命令:

composer require fuzzyma/contao-eloquent-example-project-bundle

包简介

Bundle for the contao-eloquent-example-project which shows the eloquent features brought to you by the fuzzyma/contao-eloquent-bundle

README 文档

README

Bundle for the fuzzyma/contao-eloquent-example-project which shows the eloquent features brought to you by the fuzzyma/contao-eloquent-bundle

Installation

If you don't want to do this manually you can just create a project with:

composer create-project fuzzyma/contao-eloquent-example-project exampleProject
app/console contao:setup

If not:

Step 1: Install

composer require fuzzyma/contao-eloquent-example-project-bundle

Step 2: Register Bundles

Add this three lines into your AppKernel.php

new WouterJ\EloquentBundle\WouterJEloquentBundle(),
new Fuzzyma\Contao\EloquentBundle\ContaoEloquentBundle(),
new Fuzzyma\Contao\EloquentExampleProjectBundle\ContaoEloquentExampleProjectBundle(),

Step 3: Configure

Add this to your config:

wouterj_eloquent:
    connections:
        default:
            database:  "%database_name%"
            driver:    mysql
            host:      "%database_host%"
            username:  "%database_user%"
            password:  "%database_password%"
            charset:   utf8
            collation: utf8_unicode_ci
            prefix:    'tl_'
    default_connection: default
    eloquent: true
    aliases: false

Step 4: Update database

Open your install tool and run a database update. You can also do that by installing the fuzzyma/contao-database-commands-bundle.

Now you are free to test the new eloquent features!

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-07-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固