morontt/doctrine-to-ember
最新稳定版本:v0.3
Composer 安装命令:
composer require morontt/doctrine-to-ember
包简介
Conversion models Doctrine2 to the models Ember-Data
README 文档
README
Convert Doctrine2 models to Ember-Data models
Installation
Just add the package to your composer.json
{
"require": {
"morontt/doctrine-to-ember": "dev-master"
}
}
or running the command:
php composer.phar require morontt/doctrine-to-ember "dev-master"
Enable the bundle in the kernel:
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Mtt\Bundle\DoctrineToEmberBundle\MttDoctrineToEmberBundle(), ); }
Configure the DoctrineToEmberBundle:
# app/config/config.yml mtt_doctrine_to_ember: application_variable: MySuperApp models_path: "%kernel.root_dir%/../web/js/app/models"
Usage
Running the command:
app/console mtt:generate:models
统计信息
- 总下载量: 1.57k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-03-11