livioribeiro/nette-propel2 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

livioribeiro/nette-propel2

Composer 安装命令:

composer require livioribeiro/nette-propel2

包简介

Propel 2 integration with Nette framework

README 文档

README

Propel 2 integration with Nette Framework

Configuration

Can be used as compiler extension:

    extensions:
        - NettePropel2\PropelExtension

or calling setup() in bootstrap.php:

  use NettePropel2;
  ...
  $container = $configurator->createContainer();
  NettePropel2\Setup::setup($container)

You can use both Neon or PHP to configure the database (If both are present, the php will be preferred).

In propel.local.php:

  $database = [
      'default' => [
          'adapter'     => 'sqlite|pgsql|mysql|oracle|mssql',
          'host'        => 'host',
          'dbname'      => 'dbname',
          'user'        => 'user',
          'password'    => 'password'
      ]
  ];

Or propel.local.neon:

  default:
    adapter: sqlite|pgsql|mysql|oracle|mssql
    host: host
    dbname: dbname
    user: user
    password: password

Schema and shell

You schema.xml must be on app/schema directory.

To run propel commands (model:build, migration:diff, etc) use the npropel shell instead of propel. The npropel script will set the --input-dir, --output-dir and --connection parameters to your project.

  ln -s vendor/bin/npropel propel

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2014-02-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固